xref: /openbmc/linux/net/core/net-traces.c (revision 9b93eb47)
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3  * consolidates trace point definitions
4  *
5  * Copyright (C) 2009 Neil Horman <nhorman@tuxdriver.com>
6  */
7 
8 #include <linux/netdevice.h>
9 #include <linux/etherdevice.h>
10 #include <linux/string.h>
11 #include <linux/if_arp.h>
12 #include <linux/inetdevice.h>
13 #include <linux/inet.h>
14 #include <linux/interrupt.h>
15 #include <linux/export.h>
16 #include <linux/netpoll.h>
17 #include <linux/sched.h>
18 #include <linux/delay.h>
19 #include <linux/rcupdate.h>
20 #include <linux/types.h>
21 #include <linux/workqueue.h>
22 #include <linux/netlink.h>
23 #include <linux/net_dropmon.h>
24 #include <linux/slab.h>
25 
26 #include <asm/unaligned.h>
27 #include <asm/bitops.h>
28 
29 #define CREATE_TRACE_POINTS
30 #include <trace/events/skb.h>
31 #include <trace/events/net.h>
32 #include <trace/events/napi.h>
33 #include <trace/events/sock.h>
34 #include <trace/events/udp.h>
35 #include <trace/events/tcp.h>
36 #include <trace/events/fib.h>
37 #include <trace/events/qdisc.h>
38 #if IS_ENABLED(CONFIG_BRIDGE)
39 #include <trace/events/bridge.h>
40 EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add);
41 EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add);
42 EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete);
43 EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update);
44 #endif
45 
46 #include <trace/events/neigh.h>
47 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update);
48 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update_done);
49 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_timer_handler);
50 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_done);
51 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_dead);
52 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_cleanup_and_release);
53 
54 EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);
55 
56 EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll);
57 
58 EXPORT_TRACEPOINT_SYMBOL_GPL(tcp_send_reset);
59