diff options
author | David Ahern <dsa@cumulusnetworks.com> | 2015-11-19 12:24:22 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-11-22 11:54:10 -0500 |
commit | b811580d91e9c0945b0a923dcec3e10cce04ac30 (patch) | |
tree | edc3afb044af9fa8d12a773fe676194b939a3d7f /net/core/net-traces.c | |
parent | e2f9dc3bd213792ac006e83f50a5453f23b8c354 (diff) |
net: IPv6 fib lookup tracepoint
Add tracepoint to show fib6 table lookups and result.
Signed-off-by: David Ahern <dsa@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.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net/core/net-traces.c b/net/core/net-traces.c index adef015b2f41..92da5e4ceb4f 100644 --- a/net/core/net-traces.c +++ b/net/core/net-traces.c @@ -32,6 +32,10 @@ #include <trace/events/sock.h> #include <trace/events/udp.h> #include <trace/events/fib.h> +#if IS_ENABLED(CONFIG_IPV6) +#include <trace/events/fib6.h> +EXPORT_TRACEPOINT_SYMBOL_GPL(fib6_table_lookup); +#endif EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb); |