diff options
author | Ingo Molnar <mingo@kernel.org> | 2019-09-20 12:14:00 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-09-20 12:16:42 -0400 |
commit | 351a1f5c8afa13ea5cfcdae543f6596ef8ebdbd9 (patch) | |
tree | 6d039ac0d47666bd6de701911a283c51bea7105e /tools/perf/builtin-record.c | |
parent | 7f2444d38f6bbfa12bc15e2533d8f9daa85ca02b (diff) | |
parent | 2bff2b828502b5e5d5ea5a52643d3542053df03f (diff) |
Merge tag 'perf-core-for-mingo-5.4-20190920-2' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/urgent
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
perf stat:
Srikar Dronamraju:
- Fix a segmentation fault when using repeat forever.
- Reset previous counts on repeat with interval.
aarch64:
James Clark:
- Add PMU event JSON files for Cortex-A76 and Neoverse N1.
PowerPC:
Anju T Sudhakar:
- Make 'trace_cycles' the default event for 'perf kvm record' in PowerPC.
S/390:
- Link libjvmti to tools/lib/string.o to have a weak strlcpy()
implementation, providing previously unresolved symbol on s/390.
perf test:
Jiri Olsa:
- Add libperf automated tests to 'make -C tools/perf build-test'.
Colin Ian King:
- Fix spelling mistake.
Tree wide:
Arnaldo Carvalho de Melo:
- Some more header file sanitization.
libperf:
Jiri Olsa:
- Add dependency on libperf for python.so binding.
libtraceevent:
Sakari Ailus:
- Convert remaining %p[fF] users to %p[sS].
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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 | { |