diff options
author | Ingo Molnar <mingo@kernel.org> | 2019-08-27 04:22:25 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@kernel.org> | 2019-08-27 04:22:25 -0400 |
commit | 794b8bedca9341569e1081bc880e7ea209dbca5c (patch) | |
tree | accdfe136daf45dea3ee62567a53ae2bfb0f7fd8 /tools/perf/util/bpf-event.h | |
parent | 39152ee51b77851689f9b23fde6f610d13566c39 (diff) | |
parent | 74a1e863eb73dcc9f069b671dfb40650f3832116 (diff) |
Merge tag 'perf-core-for-mingo-5.4-20190826' of git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux into perf/core
Pull perf/core improvements and fixes from Arnaldo Carvalho de Melo:
perf report:
Andi Kleen:
- Make --ns time sort key output column wide enough for nanoseconds.
perf script:
Gustavo A. R. Silva:
- Fix memory leaks in list_scripts()
perf tests:
James Clark:
- Fixes hang in zstd compression test by changing the source of random data.
perf trace:
Arnaldo Carvalho de Melo:
- augmented_raw_syscalls.c BPF helper improvements.
Benjamin Peterson:
- Fix off-by-one error in ioctl cmd->string table.
libperf:
Jiri Olsa:
- Move most PERF_RECORD_ structs to perf/event.h.
headers:
Arnaldo Carvalho de Melo:
- Move cacheline related routines to separate source files.
- Move record_opts and other record declarations to separate files.
- Explicitly add some more needed headers here and there.
Souptick Joarder:
- Remove some duplicate include directives.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
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 | } |