linux/net/core/net-traces.c
<<
>>
Prefs
   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/fib.h>
  36#include <trace/events/qdisc.h>
  37#if IS_ENABLED(CONFIG_IPV6)
  38#include <trace/events/fib6.h>
  39EXPORT_TRACEPOINT_SYMBOL_GPL(fib6_table_lookup);
  40#endif
  41#if IS_ENABLED(CONFIG_BRIDGE)
  42#include <trace/events/bridge.h>
  43EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_add);
  44EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_external_learn_add);
  45EXPORT_TRACEPOINT_SYMBOL_GPL(fdb_delete);
  46EXPORT_TRACEPOINT_SYMBOL_GPL(br_fdb_update);
  47#endif
  48
  49EXPORT_TRACEPOINT_SYMBOL_GPL(kfree_skb);
  50
  51EXPORT_TRACEPOINT_SYMBOL_GPL(napi_poll);
  52