Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Add DPDK 16.07 support (rc3 based)
[vpp.git]
/
vlib
/
vlib
/
trace.h
diff --git
a/vlib/vlib/trace.h
b/vlib/vlib/trace.h
index
fe5d737
..
fc0fc5c
100644
(file)
--- a/
vlib/vlib/trace.h
+++ b/
vlib/vlib/trace.h
@@
-42,7
+42,8
@@
#include <vppinfra/pool.h>
#include <vppinfra/pool.h>
-typedef struct {
+typedef struct
+{
/* CPU time stamp trace was made. */
u64 time;
/* CPU time stamp trace was made. */
u64 time;
@@
-56,7
+57,8
@@
typedef struct {
u8 data[0];
} vlib_trace_header_t;
u8 data[0];
} vlib_trace_header_t;
-typedef struct {
+typedef struct
+{
/* Current number of traces in buffer. */
u32 count;
/* Current number of traces in buffer. */
u32 count;
@@
-64,9
+66,10
@@
typedef struct {
u32 limit;
} vlib_trace_node_t;
u32 limit;
} vlib_trace_node_t;
-typedef struct {
+typedef struct
+{
/* Pool of trace buffers. */
/* 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;
u32 last_main_loop_count;
u32 filter_node_index;
@@
-80,7
+83,18
@@
typedef struct {
u32 trace_active_hint;
/* Per node trace counts. */
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 */
} vlib_trace_main_t;
#endif /* included_vlib_trace_h */
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */