summaryrefslogtreecommitdiff
path: root/net/core
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2015-11-19 12:24:22 -0800
committerDavid S. Miller <davem@davemloft.net>2015-11-22 11:54:10 -0500
commitb811580d91e9c0945b0a923dcec3e10cce04ac30 (patch)
treeedc3afb044af9fa8d12a773fe676194b939a3d7f /net/core
parente2f9dc3bd213792ac006e83f50a5453f23b8c354 (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')
-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);