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/util/python.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/util/python.c')
-rw-r--r-- | tools/perf/util/python.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/python.c b/tools/perf/util/python.c index 07ca4535e6f7..0ba19dd75510 100644 --- a/tools/perf/util/python.c +++ b/tools/perf/util/python.c | |||
@@ -6,12 +6,10 @@ | |||
6 | #include <linux/err.h> | 6 | #include <linux/err.h> |
7 | #include <perf/cpumap.h> | 7 | #include <perf/cpumap.h> |
8 | #include <traceevent/event-parse.h> | 8 | #include <traceevent/event-parse.h> |
9 | #include "debug.h" | ||
10 | #include "evlist.h" | 9 | #include "evlist.h" |
11 | #include "callchain.h" | 10 | #include "callchain.h" |
12 | #include "evsel.h" | 11 | #include "evsel.h" |
13 | #include "event.h" | 12 | #include "event.h" |
14 | #include "cpumap.h" | ||
15 | #include "print_binary.h" | 13 | #include "print_binary.h" |
16 | #include "thread_map.h" | 14 | #include "thread_map.h" |
17 | #include "trace-event.h" | 15 | #include "trace-event.h" |
@@ -61,6 +59,8 @@ int parse_callchain_record(const char *arg __maybe_unused, | |||
61 | */ | 59 | */ |
62 | int verbose; | 60 | int verbose; |
63 | 61 | ||
62 | int eprintf(int level, int var, const char *fmt, ...); | ||
63 | |||
64 | int eprintf(int level, int var, const char *fmt, ...) | 64 | int eprintf(int level, int var, const char *fmt, ...) |
65 | { | 65 | { |
66 | va_list args; | 66 | va_list args; |