[GIT PULL] perf tools changes for v5.11, 2nd batch

From: Arnaldo Carvalho de Melo
Date: Thu Dec 24 2020 - 13:57:24 EST


Hi Linus,

Please consider pulling,

Best regards,

- Arnaldo

The following changes since commit 58cf05f597b03a8212d9ecf2c79ee046d3ee8ad9:

Merge tag 'sound-fix-5.11-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound (2020-12-23 15:11:08 -0800)

are available in the Git repository at:

git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-2020-12-24

for you to fetch changes up to 5149303fdfe5c67ddb51c911e23262f781cd75eb:

perf probe: Fix memory leak when synthesizing SDT probes (2020-12-24 10:52:10 -0300)

----------------------------------------------------------------
perf tools changes for v5.11, 2nd batch:

- Refactor 'perf stat' per CPU/socket/die/thread aggregation fixing use
cases in ARM machines.

- Fix memory leak when synthesizing SDT probes in 'perf probe'.

- Update kernel header copies related to KVM, epol_pwait, msr-index and
powerpc and s390 syscall tables.

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

Test results in the signed tag at:

https://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git/tag/?h=perf-tools-2020-12-24

----------------------------------------------------------------

Arnaldo Carvalho de Melo (8):
tools headers UAPI: Update epoll_pwait2 affected files
tools headers cpufeatures: Sync with the kernel sources
tools arch x86: Sync the msr-index.h copy with the kernel sources
tools headers UAPI: Sync kvm.h headers with the kernel sources
tools headers UAPI: Sync KVM's vmx.h header with the kernel sources
tools kvm headers: Update KVM headers from the kernel sources
tools headers UAPI: Synch KVM's svm.h header with the kernel
perf probe: Fix memory leak when synthesizing SDT probes

James Clark (12):
perf tests: Improve topology test to check all aggregation types
perf cpumap: Use existing allocator to avoid using malloc
perf cpumap: Add new struct for cpu aggregation
perf stat: Replace aggregation ID with a struct
perf cpumap: Add new map type for aggregation
perf cpumap: Drop in cpu_aggr_map struct
perf stat aggregation: Start using cpu_aggr_id in map
perf stat aggregation: Add separate node member
perf stat aggregation: Add separate socket member
perf stat aggregation: Add separate die member
perf stat aggregation: Add separate core member
perf stat aggregation: Add separate thread member

Tiezhu Yang (4):
perf powerpc: Move syscall.tbl check to check-headers.sh
perf s390: Move syscall.tbl check into check-headers.sh
perf tools: Update powerpc's syscall.tbl copy from the kernel sources
perf tools: Update s390's syscall.tbl copy from the kernel sources

tools/arch/arm64/include/uapi/asm/kvm.h | 3 -
tools/arch/x86/include/asm/cpufeatures.h | 2 +
tools/arch/x86/include/asm/msr-index.h | 1 +
tools/arch/x86/include/uapi/asm/kvm.h | 1 +
tools/arch/x86/include/uapi/asm/svm.h | 28 ++
tools/arch/x86/include/uapi/asm/vmx.h | 2 +
tools/include/uapi/asm-generic/unistd.h | 4 +-
tools/include/uapi/linux/kvm.h | 56 ++-
tools/perf/arch/powerpc/Makefile | 7 -
tools/perf/arch/powerpc/entry/syscalls/syscall.tbl | 26 +-
tools/perf/arch/s390/Makefile | 4 -
tools/perf/arch/s390/entry/syscalls/syscall.tbl | 396 ++++++++++++---------
tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 1 +
tools/perf/builtin-stat.c | 128 +++----
tools/perf/check-headers.sh | 2 +
tools/perf/tests/topology.c | 64 +++-
tools/perf/trace/beauty/tracepoints/x86_msr.sh | 2 +-
tools/perf/util/cpumap.c | 171 ++++++---
tools/perf/util/cpumap.h | 55 +--
tools/perf/util/probe-file.c | 13 +-
tools/perf/util/stat-display.c | 102 +++---
tools/perf/util/stat.c | 2 +-
tools/perf/util/stat.h | 9 +-
23 files changed, 688 insertions(+), 391 deletions(-)