Message ID | 1464306409-7325-4-git-send-email-bill.fischofer@linaro.org |
---|---|
State | Accepted |
Commit | 77fc7fc9d26e57023b73131ad2269fb4915d21e5 |
Headers | show |
diff --git a/test/validation/traffic_mngr/traffic_mngr.c b/test/validation/traffic_mngr/traffic_mngr.c index e459d66..2bbcc1d 100644 --- a/test/validation/traffic_mngr/traffic_mngr.c +++ b/test/validation/traffic_mngr/traffic_mngr.c @@ -21,6 +21,8 @@ #include "odp_cunit_common.h" #include "traffic_mngr.h" +#define TM_DEBUG 0 + #define MAX_CAPABILITIES 16 #define MAX_NUM_IFACES 2 #define MAX_TM_SYSTEMS 3 @@ -1674,7 +1676,9 @@ static void dump_tm_tree(uint32_t tm_idx) { tm_node_desc_t *root_node_desc; - return; + if (!TM_DEBUG) + return; + root_node_desc = root_node_descs[tm_idx]; dump_tm_subtree(root_node_desc); }
Signed-off-by: Bill Fischofer <bill.fischofer@linaro.org> --- test/validation/traffic_mngr/traffic_mngr.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)