xref: /openbmc/linux/net/core/net-traces.c (revision c900529f3d9161bfde5cca0754f83b4d3c3e0220)
1b2441318SGreg Kroah-Hartman // SPDX-License-Identifier: GPL-2.0
24893d39eSNeil Horman /*
34893d39eSNeil Horman  * consolidates trace point definitions
44893d39eSNeil Horman  *
54893d39eSNeil Horman  * Copyright (C) 2009 Neil Horman <nhorman@tuxdriver.com>
64893d39eSNeil Horman  */
74893d39eSNeil Horman 
84893d39eSNeil Horman #include <linux/netdevice.h>
94893d39eSNeil Horman #include <linux/etherdevice.h>
104893d39eSNeil Horman #include <linux/string.h>
114893d39eSNeil Horman #include <linux/if_arp.h>
124893d39eSNeil Horman #include <linux/inetdevice.h>
134893d39eSNeil Horman #include <linux/inet.h>
144893d39eSNeil Horman #include <linux/interrupt.h>
15bc3b2d7fSPaul Gortmaker #include <linux/export.h>
164893d39eSNeil Horman #include <linux/netpoll.h>
174893d39eSNeil Horman #include <linux/sched.h>
184893d39eSNeil Horman #include <linux/delay.h>
194893d39eSNeil Horman #include <linux/rcupdate.h>
204893d39eSNeil Horman #include <linux/types.h>
214893d39eSNeil Horman #include <linux/workqueue.h>
224893d39eSNeil Horman #include <linux/netlink.h>
234893d39eSNeil Horman #include <linux/net_dropmon.h>
245a0e3ad6STejun Heo #include <linux/slab.h>
254893d39eSNeil Horman 
264893d39eSNeil Horman #include <asm/unaligned.h>
274893d39eSNeil Horman #include <asm/bitops.h>
284893d39eSNeil Horman 
29a8d154b0SSteven Rostedt #define CREATE_TRACE_POINTS
30ad8d75ffSSteven Rostedt #include <trace/events/skb.h>
31cf66ba58SKoki Sanagi #include <trace/events/net.h>
329cbc1cb8SDavid S. Miller #include <trace/events/napi.h>
333847ce32SSatoru Moriya #include <trace/events/sock.h>
34296f7ea7SSatoru Moriya #include <trace/events/udp.h>
35e086101bSCong Wang #include <trace/events/tcp.h>
36f6d3c192SDavid Ahern #include <trace/events/fib.h>
37e543002fSJesper Dangaard Brouer #include <trace/events/qdisc.h>
38b74fd306SRoopa Prabhu #if IS_ENABLED(CONFIG_BRIDGE)
39b74fd306SRoopa Prabhu #include <trace/events/bridge.h>
40b74fd306SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add);
41b74fd306SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add);
42b74fd306SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete);
43e3cfddd5SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update);
44d47230a3SPetr Machata EXPORT_TRACEPOINT_SYMBOL_GPL(br_mdb_full);
45b74fd306SRoopa Prabhu #endif
464893d39eSNeil Horman 
4732c28f7eSJesper Dangaard Brouer #if IS_ENABLED(CONFIG_PAGE_POOL)
4832c28f7eSJesper Dangaard Brouer #include <trace/events/page_pool.h>
4932c28f7eSJesper Dangaard Brouer #endif
5032c28f7eSJesper Dangaard Brouer 
519c03b282SRoopa Prabhu #include <trace/events/neigh.h>
529c03b282SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update);
539c03b282SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update_done);
549c03b282SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_timer_handler);
559c03b282SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_done);
569c03b282SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_dead);
579c03b282SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(neigh_cleanup_and_release);
589c03b282SRoopa Prabhu 
594893d39eSNeil Horman EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);
604ea7e386SNeil Horman 
614ea7e386SNeil Horman EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll);
62c24b14c4SSong Liu 
63c24b14c4SSong Liu EXPORT_TRACEPOINT_SYMBOL_GPL(tcp_send_reset);
64709c0314SJakub Kicinski EXPORT_TRACEPOINT_SYMBOL_GPL(tcp_bad_csum);
6540e0b090SPeilin Ye 
66*8139dccdSIvan Babrou EXPORT_TRACEPOINT_SYMBOL_GPL(udp_fail_queue_rcv_skb);
67*8139dccdSIvan Babrou 
6840e0b090SPeilin Ye EXPORT_TRACEPOINT_SYMBOL_GPL(sk_data_ready);
69