summaryrefslogtreecommitdiff
path: root/net/core/net-traces.c
diff options
context:
space:
mode:
authorRoopa Prabhu <roopa@cumulusnetworks.com>2017-08-29 13:16:57 -0700
committerDavid S. Miller <davem@davemloft.net>2017-08-29 14:49:45 -0700
commitb74fd306ef2d48781e807dd506cca818bb83d749 (patch)
tree1b308352cee29a80363c6f9c58630aa5445bb19a /net/core/net-traces.c
parenta7043f65f62c1799df15a6675b28e355939f8c06 (diff)
bridge: fdb add and delete tracepoints
A few useful tracepoints to trace bridge forwarding database updates. Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.com> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Acked-by: Nikolay Aleksandrov <nikolay@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core/net-traces.c')
-rw-r--r--net/core/net-traces.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/core/net-traces.c b/net/core/net-traces.c
index 4f1468ccd056..4a0292c97070 100644
--- a/net/core/net-traces.c
+++ b/net/core/net-traces.c
@@ -37,6 +37,12 @@
#include <trace/events/fib6.h>
EXPORT_TRACEPOINT_SYMBOL_GPL(fib6_table_lookup);
#endif
+#if IS_ENABLED(CONFIG_BRIDGE)
+#include <trace/events/bridge.h>
+EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add);
+EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add);
+EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete);
+#endif
EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);