| /* SPDX-License-Identifier: GPL-2.0 */ |
| #ifndef TRACEPOINT_DEFS_H |
| #define TRACEPOINT_DEFS_H 1 |
| * File can be included directly by headers who only want to access |
| * tracepoint->key to guard out of line trace calls, or the definition of |
| * trace_print_flags{_u64}. Otherwise linux/tracepoint.h should be used. |
| #include <linux/atomic.h> |
| #include <linux/static_key.h> |
| struct trace_print_flags { |
| struct trace_print_flags_u64 { |
| const char *name; /* Tracepoint name */ |
| struct tracepoint_func __rcu *funcs; |
| #ifdef CONFIG_HAVE_ARCH_PREL32_RELOCATIONS |
| typedef const int tracepoint_ptr_t; |
| typedef struct tracepoint * const tracepoint_ptr_t; |
| struct bpf_raw_event_map { |