[GIT PULL] perf tools fixes for v5.19: 1st batch
From: Arnaldo Carvalho de Melo
Date: Sun Jun 19 2022 - 15:32:56 EST
Hi Linus,
Please consider pulling, there are some more header sync
activity for next week, still recovering the french no-mask bonanza and
the brazilian omicron crash (maybe related?) (yeah, me+wife+kid
infected), sigh.
Best regards,
- Arnaldo
The following changes since commit 354c6e071be986a44b956f7b57f1884244431048:
Merge tag 'ext4_for_linus_stable' of git://git.kernel.org/pub/scm/linux/kernel/git/tytso/ext4 (2022-06-18 21:51:12 -0500)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-fixes-for-v5.19-2022-06-19
for you to fetch changes up to 140cd9ec8fdddc0e2d1684e6b69bcd05efbc9549:
tools headers UAPI: Sync linux/prctl.h with the kernel sources (2022-06-19 11:42:25 -0300)
----------------------------------------------------------------
perf tool fixes for v5.19, 1st batch:
- Don't set data source if it's not a memory operation in ARM SPE (Statistical
Profiling Extensions).
- Fix handling of exponent floating point values in perf stat expressions.
- Don't leak fd on failure on libperf open.
- Fix 'perf test' CPU topology test for PPC guest systems.
- Fix undefined behaviour on breakpoint account 'perf test' entry.
- Record only user callchains on the "Check ARM64 callgraphs are complete in FP
mode" 'perf test' entry.
- Fix "perf stat CSV output linter" test on s390.
- Sync batch of kernel headers with tools/perf/.
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
----------------------------------------------------------------
Arnaldo Carvalho de Melo (4):
perf beauty: Update copy of linux/socket.h with the kernel sources
tools headers UAPI: Sync x86's asm/kvm.h with the kernel sources
tools headers arm64: Sync arm64's cputype.h with the kernel sources
tools headers UAPI: Sync linux/prctl.h with the kernel sources
Athira Rajeev (1):
perf test topology: Use !strncmp(right platform) to fix guest PPC comparision check
Ian Rogers (5):
perf unwind: Fix uninitialized variable
libperf evsel: Open shouldn't leak fd on failure
perf test: Fix variable length array undefined behavior in bp_account
perf expr: Allow exponents on floating point values
perf metrics: Ensure at least 1 id per metric
Leo Yan (1):
perf arm-spe: Don't set data source if it's not a memory operation
Michael Petlan (1):
perf test: Record only user callchains on the "Check Arm64 callgraphs are complete in fp mode" test
Thomas Richter (1):
perf test: Fix "perf stat CSV output linter" test on s390
tools/arch/arm64/include/asm/cputype.h | 12 +++-
tools/arch/x86/include/uapi/asm/kvm.h | 11 ++--
tools/include/uapi/linux/prctl.h | 9 +++
tools/lib/perf/evsel.c | 17 ++++--
tools/perf/tests/bp_account.c | 16 ++++-
tools/perf/tests/expr.c | 2 +
tools/perf/tests/shell/lib/perf_csv_output_lint.py | 48 ---------------
tools/perf/tests/shell/stat+csv_output.sh | 69 ++++++++++++++--------
tools/perf/tests/shell/test_arm_callgraph_fp.sh | 2 +-
tools/perf/tests/topology.c | 2 +-
tools/perf/trace/beauty/include/linux/socket.h | 7 ++-
tools/perf/util/arm-spe.c | 22 +++----
tools/perf/util/expr.l | 2 +-
tools/perf/util/metricgroup.c | 9 +++
tools/perf/util/unwind-libunwind-local.c | 2 +-
15 files changed, 125 insertions(+), 105 deletions(-)
delete mode 100644 tools/perf/tests/shell/lib/perf_csv_output_lint.py