Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | // SPDX-License-Identifier: GPL-2.0 |
Neil Horman | 4893d39 | 2009-03-11 09:48:26 +0000 | [diff] [blame] | 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> |
Paul Gortmaker | bc3b2d7 | 2011-07-15 11:47:34 -0400 | [diff] [blame] | 15 | #include <linux/export.h> |
Neil Horman | 4893d39 | 2009-03-11 09:48:26 +0000 | [diff] [blame] | 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> |
Tejun Heo | 5a0e3ad | 2010-03-24 17:04:11 +0900 | [diff] [blame] | 24 | #include <linux/slab.h> |
Neil Horman | 4893d39 | 2009-03-11 09:48:26 +0000 | [diff] [blame] | 25 | |
| 26 | #include <asm/unaligned.h> |
| 27 | #include <asm/bitops.h> |
| 28 | |
Steven Rostedt | a8d154b | 2009-04-10 09:36:00 -0400 | [diff] [blame] | 29 | #define CREATE_TRACE_POINTS |
Steven Rostedt | ad8d75f | 2009-04-14 19:39:12 -0400 | [diff] [blame] | 30 | #include <trace/events/skb.h> |
Koki Sanagi | cf66ba5 | 2010-08-23 18:45:02 +0900 | [diff] [blame] | 31 | #include <trace/events/net.h> |
David S. Miller | 9cbc1cb | 2009-06-15 03:02:23 -0700 | [diff] [blame] | 32 | #include <trace/events/napi.h> |
Satoru Moriya | 3847ce3 | 2011-06-17 12:00:03 +0000 | [diff] [blame] | 33 | #include <trace/events/sock.h> |
Satoru Moriya | 296f7ea | 2011-06-17 11:58:39 +0000 | [diff] [blame] | 34 | #include <trace/events/udp.h> |
Cong Wang | e086101 | 2017-10-13 13:03:16 -0700 | [diff] [blame] | 35 | #include <trace/events/tcp.h> |
David Ahern | f6d3c19 | 2015-08-28 08:42:09 -0700 | [diff] [blame] | 36 | #include <trace/events/fib.h> |
Jesper Dangaard Brouer | e543002 | 2017-08-15 21:11:03 +0200 | [diff] [blame] | 37 | #include <trace/events/qdisc.h> |
Roopa Prabhu | b74fd30 | 2017-08-29 13:16:57 -0700 | [diff] [blame] | 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); |
Roopa Prabhu | e3cfddd | 2017-08-30 22:18:13 -0700 | [diff] [blame] | 43 | EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update); |
Roopa Prabhu | b74fd30 | 2017-08-29 13:16:57 -0700 | [diff] [blame] | 44 | #endif |
Neil Horman | 4893d39 | 2009-03-11 09:48:26 +0000 | [diff] [blame] | 45 | |
Jesper Dangaard Brouer | 32c28f7 | 2019-06-18 15:06:03 +0200 | [diff] [blame] | 46 | #if IS_ENABLED(CONFIG_PAGE_POOL) |
| 47 | #include <trace/events/page_pool.h> |
| 48 | #endif |
| 49 | |
Roopa Prabhu | 9c03b28 | 2019-02-14 09:15:10 -0800 | [diff] [blame] | 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); |
| 57 | |
Neil Horman | 4893d39 | 2009-03-11 09:48:26 +0000 | [diff] [blame] | 58 | EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb); |
Neil Horman | 4ea7e38 | 2009-05-21 07:36:08 +0000 | [diff] [blame] | 59 | |
Neil Horman | 4ea7e38 | 2009-05-21 07:36:08 +0000 | [diff] [blame] | 60 | EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll); |
Song Liu | c24b14c | 2017-10-23 09:20:24 -0700 | [diff] [blame] | 61 | |
| 62 | EXPORT_TRACEPOINT_SYMBOL_GPL(tcp_send_reset); |
Jakub Kicinski | 709c031 | 2021-05-14 13:04:25 -0700 | [diff] [blame] | 63 | EXPORT_TRACEPOINT_SYMBOL_GPL(tcp_bad_csum); |