diff options
author | Roopa Prabhu <roopa@cumulusnetworks.com> | 2017-08-30 22:18:13 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-08-31 11:42:41 -0700 |
commit | e3cfddd577e763496c25ddb855cfff48b1174b63 (patch) | |
tree | 876459926bede43730c9cbc72d2440b8faa36632 /net/core | |
parent | 07d79fc7d94e3f884b8b1c95aa615b202bb5e4c1 (diff) | |
download | talos-obmc-linux-e3cfddd577e763496c25ddb855cfff48b1174b63.tar.gz talos-obmc-linux-e3cfddd577e763496c25ddb855cfff48b1174b63.zip |
bridge: add tracepoint in br_fdb_update
This extends bridge fdb table tracepoints to also cover
learned fdb entries in the br_fdb_update path. Note that
unlike other tracepoints I have moved this to when the fdb
is modified because this is in the datapath and can generate
a lot of noise in the trace output. br_fdb_update is also called
from added_by_user context in the NTF_USE case which is already
traced ..hence the !added_by_user check.
Signed-off-by: Roopa Prabhu <roopa@cumulusnetworks.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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/core/net-traces.c b/net/core/net-traces.c index 4a0292c97070..1132820c8e62 100644 --- a/net/core/net-traces.c +++ b/net/core/net-traces.c @@ -42,6 +42,7 @@ EXPORT_TRACEPOINT_SYMBOL_GPL(fib6_table_lookup); EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add); EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add); EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete); +EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update); #endif EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb); |