net-traces.c 1.4 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
/*
 * 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>
14
#include <linux/export.h>
15 16 17 18 19 20 21 22
#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>
23
#include <linux/slab.h>
24 25 26 27

#include <asm/unaligned.h>
#include <asm/bitops.h>

28
#define CREATE_TRACE_POINTS
29
#include <trace/events/skb.h>
30
#include <trace/events/net.h>
31
#include <trace/events/napi.h>
32
#include <trace/events/sock.h>
33
#include <trace/events/udp.h>
34
#include <trace/events/tcp.h>
D
David Ahern 已提交
35
#include <trace/events/fib.h>
36
#include <trace/events/qdisc.h>
D
David Ahern 已提交
37 38 39 40
#if IS_ENABLED(CONFIG_IPV6)
#include <trace/events/fib6.h>
EXPORT_TRACEPOINT_SYMBOL_GPL(fib6_table_lookup);
#endif
41 42 43 44 45
#if IS_ENABLED(CONFIG_BRIDGE)
#include <trace/events/bridge.h>
EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add);
EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add);
EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete);
46
EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update);
47
#endif
48 49

EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);
50 51

EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll);
52 53

EXPORT_TRACEPOINT_SYMBOL_GPL(tcp_send_reset);