]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
perf bpf: Make synthesize_bpf_events() receive perf_session pointer instead of perf_tool
authorSong Liu <songliubraving@fb.com>
Tue, 12 Mar 2019 05:30:41 +0000 (22:30 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 19 Mar 2019 19:52:06 +0000 (16:52 -0300)
commite5416950454fa79b7bdc86dac45661b97d887c97
tree67589c7b38bc59012b2ed25b3927fa6743ea0d69
parenta742258af131e570a68ad8cf16cd2cc4692675a0
perf bpf: Make synthesize_bpf_events() receive perf_session pointer instead of perf_tool

This patch changes the arguments of perf_event__synthesize_bpf_events()
to include perf_session* instead of perf_tool*. perf_session will be
used in the next patch.

Signed-off-by: Song Liu <songliubraving@fb.com>
Reviewed-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexei Starovoitov <ast@kernel.org>
Cc: Daniel Borkmann <daniel@iogearbox.net>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stanislav Fomichev <sdf@google.com>
Cc: kernel-team@fb.com
Link: http://lkml.kernel.org/r/20190312053051.2690567-6-songliubraving@fb.com
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-top.c
tools/perf/util/bpf-event.c
tools/perf/util/bpf-event.h