diff options
author | Damjan Marion <damarion@cisco.com> | 2016-06-09 16:16:27 +0200 |
---|---|---|
committer | Chris Luke <chris_luke@cable.comcast.com> | 2016-06-09 20:03:34 +0000 |
commit | db7b2697360dbcc6198ec0518db817050876fef2 (patch) | |
tree | c71920d41b1992028b890f8d9505958fa8631f8c /vlib/vlib/trace.h | |
parent | a7e83ceeacccb20516ffdd8e1beb9695c1e977b1 (diff) |
Add verbose flag for packet trace, show hexdump in verbose dpdk input trace
Verbose trace can be enabled with:
trace add dpdk-input 1 verbose
Change-Id: If58cfc561143d5a44f7d11e61d54b6835692a0e3
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'vlib/vlib/trace.h')
-rw-r--r-- | vlib/vlib/trace.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vlib/vlib/trace.h b/vlib/vlib/trace.h index fe5d7377861..6e9ed495734 100644 --- a/vlib/vlib/trace.h +++ b/vlib/vlib/trace.h @@ -81,6 +81,9 @@ typedef struct { /* Per node trace counts. */ vlib_trace_node_t * nodes; + + /* verbosity */ + int verbose; } vlib_trace_main_t; #endif /* included_vlib_trace_h */ |