diff options
Diffstat (limited to 'tools/perf/util/bpf-event.h')
-rw-r--r-- | tools/perf/util/bpf-event.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tools/perf/util/bpf-event.h b/tools/perf/util/bpf-event.h index 26ab9239f986..417b78835ea0 100644 --- a/tools/perf/util/bpf-event.h +++ b/tools/perf/util/bpf-event.h | |||
@@ -30,8 +30,8 @@ struct btf_node { | |||
30 | }; | 30 | }; |
31 | 31 | ||
32 | #ifdef HAVE_LIBBPF_SUPPORT | 32 | #ifdef HAVE_LIBBPF_SUPPORT |
33 | int machine__process_bpf_event(struct machine *machine, union perf_event *event, | 33 | int machine__process_bpf(struct machine *machine, union perf_event *event, |
34 | struct perf_sample *sample); | 34 | struct perf_sample *sample); |
35 | 35 | ||
36 | int perf_event__synthesize_bpf_events(struct perf_session *session, | 36 | int perf_event__synthesize_bpf_events(struct perf_session *session, |
37 | perf_event__handler_t process, | 37 | perf_event__handler_t process, |
@@ -43,9 +43,9 @@ void bpf_event__print_bpf_prog_info(struct bpf_prog_info *info, | |||
43 | struct perf_env *env, | 43 | struct perf_env *env, |
44 | FILE *fp); | 44 | FILE *fp); |
45 | #else | 45 | #else |
46 | static inline int machine__process_bpf_event(struct machine *machine __maybe_unused, | 46 | static inline int machine__process_bpf(struct machine *machine __maybe_unused, |
47 | union perf_event *event __maybe_unused, | 47 | union perf_event *event __maybe_unused, |
48 | struct perf_sample *sample __maybe_unused) | 48 | struct perf_sample *sample __maybe_unused) |
49 | { | 49 | { |
50 | return 0; | 50 | return 0; |
51 | } | 51 | } |