summaryrefslogtreecommitdiff
path: root/ofproto/ofproto-dpif-trace.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@ovn.org>2018-05-10 16:21:50 -0700
committerBen Pfaff <blp@ovn.org>2018-05-17 08:16:08 -0700
commitfac4786a1b94ffc85eeb32a2b6b98f7b40740975 (patch)
tree8ca0a2cd956931c251c4a2274b0db1ab8178faeb /ofproto/ofproto-dpif-trace.c
parente428148a1fb0f2bf8e7d2829220b849a82cd081c (diff)
downloadopenvswitch-fac4786a1b94ffc85eeb32a2b6b98f7b40740975.tar.gz
ofproto-dpif-xlate: Improve tracing through groups.
This makes it clear which buckets from a group are executed and why. The update to nsh.at provides an example. Signed-off-by: Ben Pfaff <blp@ovn.org> Acked-by: Justin Pettit <jpettit@ovn.org>
Diffstat (limited to 'ofproto/ofproto-dpif-trace.c')
-rw-r--r--ofproto/ofproto-dpif-trace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/ofproto/ofproto-dpif-trace.c b/ofproto/ofproto-dpif-trace.c
index 7211eac8e..396a06ba0 100644
--- a/ofproto/ofproto-dpif-trace.c
+++ b/ofproto/ofproto-dpif-trace.c
@@ -49,6 +49,7 @@ oftrace_node_type_is_terminal(enum oftrace_node_type type)
case OFT_DETAIL:
case OFT_WARN:
case OFT_ERROR:
+ case OFT_BUCKET:
return true;
case OFT_BRIDGE:
@@ -167,6 +168,7 @@ oftrace_node_print_details(struct ds *output,
ds_put_char(output, '\n');
break;
case OFT_TABLE:
+ case OFT_BUCKET:
case OFT_THAW:
case OFT_ACTION:
ds_put_format(output, "%s\n", sub->text);