Convert filldir[64]() from __put_user() to unsafe_put_user()
[linux/fpc-iii.git] / net / core / net-traces.c
blob283ddb2dbc7d3c2080a4252e99692cb235929b20
1 // SPDX-License-Identifier: GPL-2.0
2 /*
3 * consolidates trace point definitions
5 * Copyright (C) 2009 Neil Horman <nhorman@tuxdriver.com>
6 */
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>
26 #include <asm/unaligned.h>
27 #include <asm/bitops.h>
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
46 #if IS_ENABLED(CONFIG_PAGE_POOL)
47 #include <trace/events/page_pool.h>
48 #endif
50 #include <trace/events/neigh.h>
51 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update);
52 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update_done);
53 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_timer_handler);
54 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_done);
55 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_dead);
56 EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_cleanup_and_release);
58 EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);
60 EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll);
62 EXPORT_TRACEPOINT_SYMBOL_GPL(tcp_send_reset);