mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-16 08:44:21 +08:00
b811580d91
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>
43 lines
1.0 KiB
C
43 lines
1.0 KiB
C
/*
|
|
* consolidates trace point definitions
|
|
*
|
|
* Copyright (C) 2009 Neil Horman <nhorman@tuxdriver.com>
|
|
*/
|
|
|
|
#include <linux/netdevice.h>
|
|
#include <linux/etherdevice.h>
|
|
#include <linux/string.h>
|
|
#include <linux/if_arp.h>
|
|
#include <linux/inetdevice.h>
|
|
#include <linux/inet.h>
|
|
#include <linux/interrupt.h>
|
|
#include <linux/export.h>
|
|
#include <linux/netpoll.h>
|
|
#include <linux/sched.h>
|
|
#include <linux/delay.h>
|
|
#include <linux/rcupdate.h>
|
|
#include <linux/types.h>
|
|
#include <linux/workqueue.h>
|
|
#include <linux/netlink.h>
|
|
#include <linux/net_dropmon.h>
|
|
#include <linux/slab.h>
|
|
|
|
#include <asm/unaligned.h>
|
|
#include <asm/bitops.h>
|
|
|
|
#define CREATE_TRACE_POINTS
|
|
#include <trace/events/skb.h>
|
|
#include <trace/events/net.h>
|
|
#include <trace/events/napi.h>
|
|
#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);
|
|
|
|
EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll);
|