aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-11-05 14:57:05 +0200
committerMatias Elo <matias.elo@nokia.com>2021-11-11 16:15:50 +0200
commit737d3fed2ad90c60ca96e091919fd3e0ff9c5356 (patch)
tree36497457cfb4a865ed7752c5f2b212c44064f5c3
parentb0ef493054213ff8195fc537cc7f5b7e67d069be (diff)
api: pool: add odp_pool_print_all() function
Add new odp_pool_print_all() function for printing implementation defined information about all created pools to the ODP log. The information is intended to be used for debugging. Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Jerin Jacob <jerinj@marvell.com>
-rw-r--r--include/odp/api/spec/pool.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/odp/api/spec/pool.h b/include/odp/api/spec/pool.h
index 6314b827c..6ebfafe05 100644
--- a/include/odp/api/spec/pool.h
+++ b/include/odp/api/spec/pool.h
@@ -105,6 +105,14 @@ int odp_pool_info(odp_pool_t pool, odp_pool_info_t *info);
void odp_pool_print(odp_pool_t pool);
/**
+ * Print debug info about all pools
+ *
+ * Print implementation defined information about all created pools to the ODP
+ * log. The information is intended to be used for debugging.
+ */
+void odp_pool_print_all(void);
+
+/**
* Get printable value for an odp_pool_t
*
* @param hdl odp_pool_t handle to be printed