162306a36Sopenharmony_ci// SPDX-License-Identifier: GPL-2.0
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * consolidates trace point definitions
462306a36Sopenharmony_ci *
562306a36Sopenharmony_ci * Copyright (C) 2009 Neil Horman <nhorman@tuxdriver.com>
662306a36Sopenharmony_ci */
762306a36Sopenharmony_ci
862306a36Sopenharmony_ci#include <linux/netdevice.h>
962306a36Sopenharmony_ci#include <linux/etherdevice.h>
1062306a36Sopenharmony_ci#include <linux/string.h>
1162306a36Sopenharmony_ci#include <linux/if_arp.h>
1262306a36Sopenharmony_ci#include <linux/inetdevice.h>
1362306a36Sopenharmony_ci#include <linux/inet.h>
1462306a36Sopenharmony_ci#include <linux/interrupt.h>
1562306a36Sopenharmony_ci#include <linux/export.h>
1662306a36Sopenharmony_ci#include <linux/netpoll.h>
1762306a36Sopenharmony_ci#include <linux/sched.h>
1862306a36Sopenharmony_ci#include <linux/delay.h>
1962306a36Sopenharmony_ci#include <linux/rcupdate.h>
2062306a36Sopenharmony_ci#include <linux/types.h>
2162306a36Sopenharmony_ci#include <linux/workqueue.h>
2262306a36Sopenharmony_ci#include <linux/netlink.h>
2362306a36Sopenharmony_ci#include <linux/net_dropmon.h>
2462306a36Sopenharmony_ci#include <linux/slab.h>
2562306a36Sopenharmony_ci
2662306a36Sopenharmony_ci#include <asm/unaligned.h>
2762306a36Sopenharmony_ci#include <asm/bitops.h>
2862306a36Sopenharmony_ci
2962306a36Sopenharmony_ci#define CREATE_TRACE_POINTS
3062306a36Sopenharmony_ci#include <trace/events/skb.h>
3162306a36Sopenharmony_ci#include <trace/events/net.h>
3262306a36Sopenharmony_ci#include <trace/events/napi.h>
3362306a36Sopenharmony_ci#include <trace/events/sock.h>
3462306a36Sopenharmony_ci#include <trace/events/udp.h>
3562306a36Sopenharmony_ci#include <trace/events/tcp.h>
3662306a36Sopenharmony_ci#include <trace/events/fib.h>
3762306a36Sopenharmony_ci#include <trace/events/qdisc.h>
3862306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_BRIDGE)
3962306a36Sopenharmony_ci#include <trace/events/bridge.h>
4062306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add);
4162306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add);
4262306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete);
4362306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update);
4462306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(br_mdb_full);
4562306a36Sopenharmony_ci#endif
4662306a36Sopenharmony_ci
4762306a36Sopenharmony_ci#if IS_ENABLED(CONFIG_PAGE_POOL)
4862306a36Sopenharmony_ci#include <trace/events/page_pool.h>
4962306a36Sopenharmony_ci#endif
5062306a36Sopenharmony_ci
5162306a36Sopenharmony_ci#include <trace/events/neigh.h>
5262306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update);
5362306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(neigh_update_done);
5462306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(neigh_timer_handler);
5562306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_done);
5662306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(neigh_event_send_dead);
5762306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(neigh_cleanup_and_release);
5862306a36Sopenharmony_ci
5962306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);
6062306a36Sopenharmony_ci
6162306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll);
6262306a36Sopenharmony_ci
6362306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(tcp_send_reset);
6462306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(tcp_bad_csum);
6562306a36Sopenharmony_ci
6662306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(udp_fail_queue_rcv_skb);
6762306a36Sopenharmony_ci
6862306a36Sopenharmony_ciEXPORT_TRACEPOINT_SYMBOL_GPL(sk_data_ready);
69