diff options
Diffstat (limited to 'tools/perf/util/bpf-event.h')
-rw-r--r-- | tools/perf/util/bpf-event.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/tools/perf/util/bpf-event.h b/tools/perf/util/bpf-event.h index a01c2fd68c03..81fdc88e6c1a 100644 --- a/tools/perf/util/bpf-event.h +++ b/tools/perf/util/bpf-event.h | |||
@@ -6,9 +6,9 @@ | |||
6 | #include <linux/rbtree.h> | 6 | #include <linux/rbtree.h> |
7 | #include <pthread.h> | 7 | #include <pthread.h> |
8 | #include <api/fd/array.h> | 8 | #include <api/fd/array.h> |
9 | #include "event.h" | ||
10 | #include <stdio.h> | 9 | #include <stdio.h> |
11 | 10 | ||
11 | struct bpf_prog_info; | ||
12 | struct machine; | 12 | struct machine; |
13 | union perf_event; | 13 | union perf_event; |
14 | struct perf_env; | 14 | struct perf_env; |
@@ -33,11 +33,6 @@ struct btf_node { | |||
33 | #ifdef HAVE_LIBBPF_SUPPORT | 33 | #ifdef HAVE_LIBBPF_SUPPORT |
34 | int machine__process_bpf(struct machine *machine, union perf_event *event, | 34 | int machine__process_bpf(struct machine *machine, union perf_event *event, |
35 | struct perf_sample *sample); | 35 | struct perf_sample *sample); |
36 | |||
37 | int perf_event__synthesize_bpf_events(struct perf_session *session, | ||
38 | perf_event__handler_t process, | ||
39 | struct machine *machine, | ||
40 | struct record_opts *opts); | ||
41 | int bpf_event__add_sb_event(struct evlist **evlist, | 36 | int bpf_event__add_sb_event(struct evlist **evlist, |
42 | struct perf_env *env); | 37 | struct perf_env *env); |
43 | void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, | 38 | void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, |
@@ -51,14 +46,6 @@ static inline int machine__process_bpf(struct machine *machine __maybe_unused, | |||
51 | return 0; | 46 | return 0; |
52 | } | 47 | } |
53 | 48 | ||
54 | static inline int perf_event__synthesize_bpf_events(struct perf_session *session __maybe_unused, | ||
55 | perf_event__handler_t process __maybe_unused, | ||
56 | struct machine *machine __maybe_unused, | ||
57 | struct record_opts *opts __maybe_unused) | ||
58 | { | ||
59 | return 0; | ||
60 | } | ||
61 | |||
62 | static inline int bpf_event__add_sb_event(struct evlist **evlist __maybe_unused, | 49 | static inline int bpf_event__add_sb_event(struct evlist **evlist __maybe_unused, |
63 | struct perf_env *env __maybe_unused) | 50 | struct perf_env *env __maybe_unused) |
64 | { | 51 | { |