]> www.infradead.org Git - users/jedix/linux-maple.git/commit
perf bpf-filter: Pass 'target' to perf_bpf_filter__prepare()
authorNamhyung Kim <namhyung@kernel.org>
Wed, 3 Jul 2024 22:30:29 +0000 (15:30 -0700)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Thu, 1 Aug 2024 15:11:33 +0000 (12:11 -0300)
commit966854e72f6e8a259609ea3c7fd78215e6606c7b
tree04554165b98190d74eb7dcd0d938e72bcf1b06fc
parentedb08cdd10b57d30631492e534f5bc13a78e739b
perf bpf-filter: Pass 'target' to perf_bpf_filter__prepare()

This is needed to prepare target-specific actions in the later patch.
We want to reuse the pinned BPF program and map for regular users to
profile their own processes.

Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: KP Singh <kpsingh@kernel.org>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <song@kernel.org>
Cc: Stephane Eranian <eranian@google.com>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20240703223035.2024586-3-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/builtin-record.c
tools/perf/builtin-stat.c
tools/perf/builtin-top.c
tools/perf/builtin-trace.c
tools/perf/util/bpf-filter.c
tools/perf/util/bpf-filter.h
tools/perf/util/evlist.c
tools/perf/util/evlist.h