aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/bpf-event.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util/bpf-event.h')
-rw-r--r--tools/perf/util/bpf-event.h10
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
33int machine__process_bpf_event(struct machine *machine, union perf_event *event, 33int machine__process_bpf(struct machine *machine, union perf_event *event,
34 struct perf_sample *sample); 34 struct perf_sample *sample);
35 35
36int perf_event__synthesize_bpf_events(struct perf_session *session, 36int 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
46static inline int machine__process_bpf_event(struct machine *machine __maybe_unused, 46static 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}