aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/odp_sorted_list.c
diff options
context:
space:
mode:
authorMaxim Uvarov <maxim.uvarov@linaro.org>2017-10-12 18:26:26 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2017-10-13 17:37:12 +0300
commit66305f01a57741dc5eca061364e65a5f4da8584f (patch)
tree69333723851d38c7cffbc616236f460e41243b70 /platform/linux-generic/odp_sorted_list.c
parent1b259a7a4e573080f4debc542cab7a0b996f4c88 (diff)
linux-gen: odp_tm_stats_print should not depend on debug
odp_tm_stats_print() is odp api call it should not depend on compilation debug options. Which is very confusing people to not see any valid output. https://bugs.linaro.org/show_bug.cgi?id=3024 Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org> Reviewed-by: Bill Fischofer <bill.fischofer@linaro.org> Reviewed-by: Ilias Apalodimas <ilias.apalodimas@linaro.org>
Diffstat (limited to 'platform/linux-generic/odp_sorted_list.c')
-rw-r--r--platform/linux-generic/odp_sorted_list.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/platform/linux-generic/odp_sorted_list.c b/platform/linux-generic/odp_sorted_list.c
index df6042425..511fd090e 100644
--- a/platform/linux-generic/odp_sorted_list.c
+++ b/platform/linux-generic/odp_sorted_list.c
@@ -261,12 +261,12 @@ void _odp_sorted_list_stats_print(_odp_int_sorted_pool_t sorted_pool)
sorted_pool_t *pool;
pool = (sorted_pool_t *)(uintptr_t)sorted_pool;
- ODP_DBG("sorted_pool=0x%" PRIX64 "\n", sorted_pool);
- ODP_DBG(" max_sorted_lists=%u next_list_idx=%u\n",
- pool->max_sorted_lists, pool->next_list_idx);
- ODP_DBG(" total_inserts=%" PRIu64 " total_deletes=%" PRIu64
- " total_removes=%" PRIu64 "\n", pool->total_inserts,
- pool->total_deletes, pool->total_removes);
+ ODP_PRINT("sorted_pool=0x%" PRIX64 "\n", sorted_pool);
+ ODP_PRINT(" max_sorted_lists=%u next_list_idx=%u\n",
+ pool->max_sorted_lists, pool->next_list_idx);
+ ODP_PRINT(" total_inserts=%" PRIu64 " total_deletes=%" PRIu64
+ " total_removes=%" PRIu64 "\n", pool->total_inserts,
+ pool->total_deletes, pool->total_removes);
}
void _odp_sorted_pool_destroy(_odp_int_sorted_pool_t sorted_pool)