X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;ds=sidebyside;f=vlib%2Fvlib%2Ftrace.h;h=fc0fc5c8ed47e4dd349edd81a58720dcaaad7032;hb=refs%2Fchanges%2F26%2F3726%2F3;hp=fe5d737786147603de6392edf221606a56400b6e;hpb=d56a6f59e99b7adec6742cd25f0d84bacf594537;p=vpp.git diff --git a/vlib/vlib/trace.h b/vlib/vlib/trace.h index fe5d7377861..fc0fc5c8ed4 100644 --- a/vlib/vlib/trace.h +++ b/vlib/vlib/trace.h @@ -42,7 +42,8 @@ #include -typedef struct { +typedef struct +{ /* CPU time stamp trace was made. */ u64 time; @@ -56,7 +57,8 @@ typedef struct { u8 data[0]; } vlib_trace_header_t; -typedef struct { +typedef struct +{ /* Current number of traces in buffer. */ u32 count; @@ -64,9 +66,10 @@ typedef struct { u32 limit; } vlib_trace_node_t; -typedef struct { +typedef struct +{ /* Pool of trace buffers. */ - vlib_trace_header_t ** trace_buffer_pool; + vlib_trace_header_t **trace_buffer_pool; u32 last_main_loop_count; u32 filter_node_index; @@ -80,7 +83,18 @@ typedef struct { u32 trace_active_hint; /* Per node trace counts. */ - vlib_trace_node_t * nodes; + vlib_trace_node_t *nodes; + + /* verbosity */ + int verbose; } vlib_trace_main_t; #endif /* included_vlib_trace_h */ + +/* + * fd.io coding-style-patch-verification: ON + * + * Local Variables: + * eval: (c-set-style "gnu") + * End: + */