diff options
author | Namhyung Kim <namhyung@kernel.org> | 2022-05-19 00:47:20 +0200 |
---|---|---|
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2022-05-26 17:36:57 +0200 |
commit | 303ead45c4459df9e38d4f2bd38ef6238c5898de (patch) | |
tree | b06475a0f461c81ee65e0b7266681e82c862c7c5 /tools/perf/Makefile.perf | |
parent | perf test: Add checking for perf stat CSV output. (diff) | |
download | linux-303ead45c4459df9e38d4f2bd38ef6238c5898de.tar.xz linux-303ead45c4459df9e38d4f2bd38ef6238c5898de.zip |
perf report: Do not extend sample type of bpf-output event
Currently evsel__new_idx() sets more sample_type bits when it finds a
BPF-output event. But it should honor what's recorded in the perf
data file rather than blindly sets the bits. Otherwise it could lead
to a parse error when it recorded with a modified sample_type.
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Blake Jones <blakejones@google.com>
Cc: Hao Luo <haoluo@google.com>
Cc: Ian Rogers <irogers@google.com>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Milian Wolff <milian.wolff@kdab.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Song Liu <songliubraving@fb.com>
Cc: bpf@vger.kernel.org
Link: https://lore.kernel.org/r/20220518224725.742882-2-namhyung@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/Makefile.perf')
0 files changed, 0 insertions, 0 deletions