commit | 303ead45c4459df9e38d4f2bd38ef6238c5898de | [log] [tgz] |
---|---|---|
author | Namhyung Kim <[email protected]> | Wed May 18 15:47:20 2022 -0700 |
committer | Arnaldo Carvalho de Melo <[email protected]> | Thu May 26 12:36:57 2022 -0300 |
tree | b06475a0f461c81ee65e0b7266681e82c862c7c5 | |
parent | 7473ee56dbc91c9803e7a80768e71de02ab0b54d [diff] |
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 <[email protected]> Cc: Andi Kleen <[email protected]> Cc: Blake Jones <[email protected]> Cc: Hao Luo <[email protected]> Cc: Ian Rogers <[email protected]> Cc: Ingo Molnar <[email protected]> Cc: Jiri Olsa <[email protected]> Cc: Milian Wolff <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Song Liu <[email protected]> Cc: [email protected] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>