diff options
Diffstat (limited to 'tools/perf/builtin-record.c')
-rw-r--r-- | tools/perf/builtin-record.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tools/perf/builtin-record.c b/tools/perf/builtin-record.c index 1447004eee8a..4bd11c918e73 100644 --- a/tools/perf/builtin-record.c +++ b/tools/perf/builtin-record.c | |||
@@ -38,6 +38,7 @@ | |||
38 | #include "util/trigger.h" | 38 | #include "util/trigger.h" |
39 | #include "util/perf-hooks.h" | 39 | #include "util/perf-hooks.h" |
40 | #include "util/cpu-set-sched.h" | 40 | #include "util/cpu-set-sched.h" |
41 | #include "util/synthetic-events.h" | ||
41 | #include "util/time-utils.h" | 42 | #include "util/time-utils.h" |
42 | #include "util/units.h" | 43 | #include "util/units.h" |
43 | #include "util/bpf-event.h" | 44 | #include "util/bpf-event.h" |
@@ -1180,15 +1181,6 @@ static void workload_exec_failed_signal(int signo __maybe_unused, | |||
1180 | static void snapshot_sig_handler(int sig); | 1181 | static void snapshot_sig_handler(int sig); |
1181 | static void alarm_sig_handler(int sig); | 1182 | static void alarm_sig_handler(int sig); |
1182 | 1183 | ||
1183 | int __weak | ||
1184 | perf_event__synth_time_conv(const struct perf_event_mmap_page *pc __maybe_unused, | ||
1185 | struct perf_tool *tool __maybe_unused, | ||
1186 | perf_event__handler_t process __maybe_unused, | ||
1187 | struct machine *machine __maybe_unused) | ||
1188 | { | ||
1189 | return 0; | ||
1190 | } | ||
1191 | |||
1192 | static const struct perf_event_mmap_page * | 1184 | static const struct perf_event_mmap_page * |
1193 | perf_evlist__pick_pc(struct evlist *evlist) | 1185 | perf_evlist__pick_pc(struct evlist *evlist) |
1194 | { | 1186 | { |