xref: /openbmc/linux/net/core/net-traces.c (revision b24413180f5600bcb3bb70fbed5cf186b60864bd)
1*b2441318SGreg 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>
35f6d3c192SDavid Ahern #include <trace/events/fib.h>
36e543002fSJesper Dangaard Brouer #include <trace/events/qdisc.h>
37b811580dSDavid Ahern #if IS_ENABLED(CONFIG_IPV6)
38b811580dSDavid Ahern #include <trace/events/fib6.h>
39b811580dSDavid Ahern EXPORT_TRACEPOINT_SYMBOL_GPL(fib6_table_lookup);
40b811580dSDavid Ahern #endif
41b74fd306SRoopa Prabhu #if IS_ENABLED(CONFIG_BRIDGE)
42b74fd306SRoopa Prabhu #include <trace/events/bridge.h>
43b74fd306SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add);
44b74fd306SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add);
45b74fd306SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete);
46e3cfddd5SRoopa Prabhu EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update);
47b74fd306SRoopa Prabhu #endif
484893d39eSNeil Horman 
494893d39eSNeil Horman EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);
504ea7e386SNeil Horman 
514ea7e386SNeil Horman EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll);
52