Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
session/svm: add want_tx_event flag to fifo
[vpp.git]
/
src
/
vcl
/
vcl_debug.h
diff --git
a/src/vcl/vcl_debug.h
b/src/vcl/vcl_debug.h
index
52a3d94
..
7b28416
100644
(file)
--- a/
src/vcl/vcl_debug.h
+++ b/
src/vcl/vcl_debug.h
@@
-19,9
+19,10
@@
#include <vppinfra/elog.h>
#define VCL_ELOG 0
#include <vppinfra/elog.h>
#define VCL_ELOG 0
+#define VCL_DBG_ON 1
#define VDBG(_lvl, _fmt, _args...) \
#define VDBG(_lvl, _fmt, _args...) \
- if (
vcm->debug > _lvl)
\
+ if (
VCL_DBG_ON && vcm->debug > _lvl)
\
clib_warning ("vcl<w%d>: " _fmt, __vcl_worker_index, ##_args)
#define foreach_vcl_dbg_evt \
clib_warning ("vcl<w%d>: " _fmt, __vcl_worker_index, ##_args)
#define foreach_vcl_dbg_evt \