From 66305f01a57741dc5eca061364e65a5f4da8584f Mon Sep 17 00:00:00 2001 From: Maxim Uvarov Date: Thu, 12 Oct 2017 18:26:26 +0300 Subject: 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 Reviewed-by: Bill Fischofer Reviewed-by: Ilias Apalodimas --- platform/linux-generic/odp_sorted_list.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'platform/linux-generic/odp_sorted_list.c') 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) -- cgit v1.2.3