[GIT PULL] perf tools changes for v6.0: 5th batch

From: Arnaldo Carvalho de Melo
Date: Thu Sep 29 2022 - 20:33:29 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit f76349cf41451c5c42a99f18a9163377e4b364ff:

Linux 6.0-rc7 (2022-09-25 14:01:02 -0700)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v6.0-2022-09-29

for you to fetch changes up to 8e8bf60a675473a034ecfcb7a842b98868ed74a3:

perf build: Fixup disabling of -Wdeprecated-declarations for the python scripting engine (2022-09-29 16:03:35 -0300)

----------------------------------------------------------------
perf tools fixes for v6.0: 5th batch

- Fail the 'perf test record' entry on error, fixing a regression where just
setup stuff like allocating memory and not the actual things being tested failed.

- Fixup disabling of -Wdeprecated-declarations for the python scripting engine, the
previous attempt had a brown paper bag thinko.

- Fix branch stack sampling test to include sanity check for branch filter on PowerPC.

- Update is_ignored_symbol function to match the kernel ignored list, fixing running
the 'perf test' entry that compares resolving symbols from kallsyms to resolving from
vmlinux.

- Augment the data source type with ARM's neoverse_spe list, the previous code
was limited in its search resolving the data source.

- Fix some clang 5 variable set but unused cases.

- Get a perf cgroup more portably in BPF as the __builtin_preserve_enum_value builtin is
not available in older versions of clang. In those cases we can forgo BPF's CO-RE (Compile
Once, Run Everywhere).

- More Fixes for Intel's hybrid CPU model.

Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>

----------------------------------------------------------------
Arnaldo Carvalho de Melo (2):
perf tests record: Fail the test if the 'errs' counter is not zero
perf build: Fixup disabling of -Wdeprecated-declarations for the python scripting engine

Athira Rajeev (2):
perf tests powerpc: Fix branch stack sampling test to include sanity check for branch filter
perf tests vmlinux-kallsyms: Update is_ignored_symbol function to match the kernel ignored list

Jing Zhang (1):
perf arm-spe: augment the data source type with neoverse_spe list

Jiri Olsa (2):
perf parse-events: Ignore clang 15 warning about variable set but unused in bison produced code
perf tests mmap-basic: Remove unused variable to address clang 15 warning

Namhyung Kim (1):
perf tools: Get a perf cgroup more portably in BPF

Zhengjun Xing (3):
perf print-events: Fix "perf list" can not display the PMU prefix for some hybrid cache events
perf parse-events: Remove "not supported" hybrid cache events
perf test: Fix test case 87 ("perf record tests") for hybrid systems

tools/perf/tests/mmap-basic.c | 3 +--
tools/perf/tests/perf-record.c | 2 +-
tools/perf/tests/shell/record.sh | 2 +-
tools/perf/tests/shell/test_brstack.sh | 3 ++-
tools/perf/tests/vmlinux-kallsyms.c | 5 ++--
tools/perf/util/Build | 2 +-
tools/perf/util/arm-spe.c | 2 +-
tools/perf/util/bpf_skel/bperf_cgroup.bpf.c | 11 +++++++-
tools/perf/util/bpf_skel/off_cpu.bpf.c | 18 ++++++++++---
tools/perf/util/parse-events-hybrid.c | 21 +++++++++++++---
tools/perf/util/parse-events.c | 39 +++++++++++++++++++++++++++++
tools/perf/util/parse-events.h | 1 +
tools/perf/util/print-events.c | 39 -----------------------------
tools/perf/util/scripting-engines/Build | 2 +-
14 files changed, 92 insertions(+), 58 deletions(-)