[GIT PULL] perf tools fixes for v6.0: 2nd batch

From: Arnaldo Carvalho de Melo
Date: Sat Aug 27 2022 - 14:17:11 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

Test results at the end of this message, as usual.

The following changes since commit e022620b5d056e822e42eb9bc0f24fcb97389d86:

Merge tag 'arm64-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux (2022-08-26 11:32:53 -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-08-27

for you to fetch changes up to 48648548ef764dcb1f6ffc9c9f9057f7c610caa4:

perf stat: Capitalize topdown metrics' names (2022-08-27 11:55:17 -0300)

----------------------------------------------------------------
perf tools fixes for v6.0: 2nd batch

- Fixup setup of weak groups when using 'perf stat --repeat', add a
'perf test' for it.

- Fix memory leaks in 'perf sched record' detected with -fsanitize=address.

- Fix build when PYTHON_CONFIG is user supplied.

- Capitalize topdown metrics' names in 'perf stat', so that the output,
sometimes parsed, matches the Intel SDM docs.

- Make sure the documentation for the save_type filter about Intel
systems with Arch LBR support (12th-Gen+ client or 4th-Gen Xeon+
server) reflects recent related kernel changes.

- Fix 'perf record' man page formatting of description of support to hybrid systems.

- Update arm64´s KVM header from the kernel sources.

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

----------------------------------------------------------------
Andi Kleen (1):
perf record: Fix manpage formatting of description of support to hybrid systems

Arnaldo Carvalho de Melo (1):
tools kvm headers arm64: Update KVM header from the kernel sources

Ian Rogers (3):
perf stat: Clear evsel->reset_group for each stat run
perf test: Stat test for repeat with a weak group
perf sched: Fix memory leaks in __cmd_record detected with -fsanitize=address

James Clark (1):
perf python: Fix build when PYTHON_CONFIG is user supplied

Kan Liang (1):
perf docs: Update the documentation for the save_type filter

Zhengjun Xing (1):
perf stat: Capitalize topdown metrics' names

tools/arch/arm64/include/uapi/asm/kvm.h | 6 ++++--
tools/perf/Documentation/intel-hybrid.txt | 10 ----------
tools/perf/Documentation/perf-record.txt | 7 +++++--
tools/perf/Makefile.config | 2 +-
tools/perf/builtin-sched.c | 24 +++++++++++++++++++-----
tools/perf/builtin-stat.c | 1 +
tools/perf/tests/shell/stat.sh | 19 +++++++++++++++++++
tools/perf/util/stat-shadow.c | 24 ++++++++++++------------
8 files changed, 61 insertions(+), 32 deletions(-)