[GIT PULL] perf tools changes for v5.15: 2nd batch
From: Arnaldo Carvalho de Melo
Date: Sat Sep 11 2021 - 19:45:28 EST
Hi Linus,
Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit bf9f243f23e6623f310ba03fbb14e10ec3a61290:
Merge tag '5.15-rc-ksmbd-part2' of git://git.samba.org/ksmbd (2021-09-09 16:17:14 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-for-v5.15-2021-09-11
for you to fetch changes up to 17a99e521f67743a5d3405cba0aacd8a10f9ff7d:
tools headers UAPI: Update tools's copy of drm.h headers (2021-09-11 16:24:10 -0300)
----------------------------------------------------------------
perf tools changes for v5.15: 2nd batch
- Add missing fields and remove some duplicate fields when printing a perf_event_attr.
- Fix hybrid config terms list corruption.
- Update kernel header copies, some resulted in new kernel features being
automagically added to 'perf trace' syscall/tracepoint argument id->string translators.
- Add a file generated during the documentation build to .gitignore.
- Add an option to build without libbfd, as some distros, like Debian consider
its ABI unstable.
- Add support to print a textual representation of IBS raw sample data in 'perf report'.
- Fix bpf 'perf test' sample mismatch reporting
- Fix passing arguments to stackcollapse report in a 'perf script' python script.
- Allow build-id with trailing zeros.
- Look for ImageBase in PE file to compute .text offset.
Signed-off-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
----------------------------------------------------------------
Adrian Hunter (3):
perf tools: Fix perf_event_attr__fprintf() missing/dupl. fields
perf tools: Factor out copy_config_terms() and free_config_terms()
perf tools: Fix hybrid config terms list corruption
Arnaldo Carvalho de Melo (13):
perf beauty: Update copy of linux/socket.h with the kernel sources
tools headers UAPI: Sync files changed by new process_mrelease syscall and the removal of some compat entry points
tools headers UAPI: Sync x86's asm/kvm.h with the kernel sources
tools headers UAPI: Sync linux/kvm.h with the kernel sources
tools include UAPI: Sync sound/asound.h copy with the kernel sources
tools headers UAPI: Sync linux/prctl.h with the kernel sources
perf beauty: Cover more flags in the move_mount syscall argument beautifier
tools include UAPI: Update linux/mount.h copy
perf bpf: Provide a weak btf__load_from_kernel_by_id() for older libbpf versions
tools headers UAPI: Sync linux/in.h copy with the kernel sources
tools headers UAPI: Sync linux/fs.h with the kernel sources
tools headers UAPI: Sync drm/i915_drm.h with the kernel sources
tools headers UAPI: Update tools's copy of drm.h headers
Ian Rogers (2):
perf tools: Ignore Documentation dependency file
perf tools: Add an option to build without libbfd
Kim Phillips (3):
perf env: Add perf_env__cpuid, perf_env__{nr_}pmu_mappings
perf report: Add tools/arch/x86/include/asm/amd-ibs.h
perf report: Add support to print a textual representation of IBS raw sample data
Michael Petlan (2):
perf test: Fix bpf test sample mismatch reporting
perf scripts python: Fix passing arguments to stackcollapse report
Namhyung Kim (1):
perf tools: Allow build-id with trailing zeros
Remi Bernon (1):
perf symbol: Look for ImageBase in PE file to compute .text offset
tools/arch/x86/include/asm/amd-ibs.h | 132 ++++++
tools/arch/x86/include/uapi/asm/kvm.h | 1 +
tools/include/uapi/asm-generic/unistd.h | 14 +-
tools/include/uapi/drm/drm.h | 14 +-
tools/include/uapi/drm/i915_drm.h | 498 +++++++++++++++++----
tools/include/uapi/linux/fs.h | 1 +
tools/include/uapi/linux/in.h | 42 +-
tools/include/uapi/linux/kvm.h | 11 +-
tools/include/uapi/linux/mount.h | 3 +-
tools/include/uapi/linux/prctl.h | 12 +-
tools/include/uapi/sound/asound.h | 1 +
tools/perf/.gitignore | 1 +
tools/perf/Makefile.config | 47 +-
.../perf/arch/mips/entry/syscalls/syscall_n64.tbl | 2 +
tools/perf/arch/powerpc/entry/syscalls/syscall.tbl | 12 +-
tools/perf/arch/s390/entry/syscalls/syscall.tbl | 14 +-
tools/perf/arch/x86/entry/syscalls/syscall_64.tbl | 3 +-
tools/perf/check-headers.sh | 1 +
tools/perf/scripts/python/bin/stackcollapse-report | 2 +-
tools/perf/tests/bpf.c | 2 +-
tools/perf/trace/beauty/include/linux/socket.h | 9 +-
tools/perf/trace/beauty/move_mount_flags.sh | 2 +-
tools/perf/util/Build | 1 +
tools/perf/util/amd-sample-raw.c | 289 ++++++++++++
tools/perf/util/bpf-event.c | 8 +
tools/perf/util/dso.c | 10 +
tools/perf/util/env.c | 78 ++++
tools/perf/util/env.h | 5 +
tools/perf/util/evsel.c | 20 +-
tools/perf/util/evsel.h | 3 +
tools/perf/util/parse-events-hybrid.c | 18 +-
tools/perf/util/parse-events.c | 27 +-
tools/perf/util/perf_event_attr_fprintf.c | 5 +-
tools/perf/util/sample-raw.c | 8 +
tools/perf/util/sample-raw.h | 6 +-
tools/perf/util/symbol.c | 20 +-
36 files changed, 1147 insertions(+), 175 deletions(-)
create mode 100644 tools/arch/x86/include/asm/amd-ibs.h
create mode 100644 tools/perf/util/amd-sample-raw.c