summaryrefslogtreecommitdiff
path: root/net/core/net-traces.c
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2015-11-19 23:24:22 +0300
committerDavid S. Miller <davem@davemloft.net>2015-11-22 19:54:10 +0300
commitb811580d91e9c0945b0a923dcec3e10cce04ac30 (patch)
treeedc3afb044af9fa8d12a773fe676194b939a3d7f /net/core/net-traces.c
parente2f9dc3bd213792ac006e83f50a5453f23b8c354 (diff)
downloadlinux-b811580d91e9c0945b0a923dcec3e10cce04ac30.tar.xz
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.c4
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);