b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 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 | #include <trace/events/bridge.h> |
| 39 | EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add); |
| 40 | EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add); |
| 41 | EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete); |
| 42 | EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update); |
| 43 | |
| 44 | #if IS_ENABLED(CONFIG_PAGE_POOL) |
| 45 | #include <trace/events/page_pool.h> |
| 46 | #endif |
| 47 | |
| 48 | #include <trace/events/neigh.h> |
| 49 | EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update); |
| 50 | EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update_done); |
| 51 | EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_timer_handler); |
| 52 | EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_done); |
| 53 | EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_dead); |
| 54 | EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_cleanup_and_release); |
| 55 | |
| 56 | EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb); |
| 57 | |
| 58 | EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll); |
| 59 | |
| 60 | EXPORT_TRACEPOINT_SYMBOL_GPL(tcp_send_reset); |