diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2017-08-29 13:16:57 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-29 14:49:45 -0700 |
commit | b74fd306ef2d48781e807dd506cca818bb83d749 (patch) | |
tree | 1b308352cee29a80363c6f9c58630aa5445bb19a /net/core | |
parent | a7043f65f62c1799df15a6675b28e355939f8c06 (diff) | |
download | talos-obmc-linux-b74fd306ef2d48781e807dd506cca818bb83d749.tar.gz talos-obmc-linux-b74fd306ef2d48781e807dd506cca818bb83d749.zip |
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')
-rw-r--r-- | net/core/net-traces.c | 6 |
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); |