summaryrefslogtreecommitdiffstats
path: root/src/vnet/session/session_node.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-09-24 18:10:49 +0200
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-03 08:42:13 +0000
commit29dc11bde26a38025f6f77d534ea7bd58cbce0d6 (patch)
tree2893c949b29a75510aff8ca1f972f675086a0c1b /src/vnet/session/session_node.c
parentc0552134ed3008481713ad55968f6fcd9c84afbc (diff)
vlib: add flag to explicitelly mark nodes which can init per-node packet trace
Type: feature Change-Id: I913f08383ee1c24d610c3d2aac07cef402570e2c Signed-off-by: Damjan Marion <damarion@cisco.com> (cherry picked from commit 7ca5aaac10e95306f74ea4afd52110dd46aa0381)
Diffstat (limited to 'src/vnet/session/session_node.c')
-rw-r--r--src/vnet/session/session_node.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vnet/session/session_node.c b/src/vnet/session/session_node.c
index ad18637a952..891870c9d45 100644
--- a/src/vnet/session/session_node.c
+++ b/src/vnet/session/session_node.c
@@ -1339,6 +1339,7 @@ session_queue_node_fn (vlib_main_t * vm, vlib_node_runtime_t * node,
VLIB_REGISTER_NODE (session_queue_node) =
{
.function = session_queue_node_fn,
+ .flags = VLIB_NODE_FLAG_TRACE_SUPPORTED,
.name = "session-queue",
.format_trace = format_session_queue_trace,
.type = VLIB_NODE_TYPE_INPUT,