Messages in this thread | | | From | Arnaldo Carvalho de Melo <> | Subject | [GIT PULL] perf tools changes for v6.0: 4th batch | Date | Wed, 21 Sep 2022 23:26:00 +0100 |
| |
Hi Linus,
Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit 60891ec99e141b74544d11e897a245ef06263052:
Merge tag 'for-6.0-rc6-tag' of git://git.kernel.org/pub/scm/linux/kernel/git/kdave/linux (2022-09-20 10:23:24 -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-21
for you to fetch changes up to 999e4eaa4b3691acf85d094836260ec4b66c74fd:
perf tools: Honor namespace when synthesizing build-ids (2022-09-21 16:08:00 -0300)
---------------------------------------------------------------- perf tools fixes for v6.0: 4th batch
- Fix polling of system-wide events related to mixing per-cpu and per-thread events.
- Do not check if /proc/modules is unchanged when copying /proc/kcore, that doesn't get in the way of post processing analysis.
- Include program header in ELF files generated for JIT files, so that they can be opened by tools using elfutils libraries.
- Enter namespaces when synthesizing build-ids.
- Fix some bugs related to a recent cpu_map overhaul where we should be using an index and not the cpu number.
- Fix BPF program ELF section name, using the naming expected by libbpf when using BPF counters in 'perf stat'.
- Add a new test for perf stat cgroup BPF counter.
- Adjust check on 'perf test wp' for older kernels, where the PERF_EVENT_IOC_MODIFY_ATTRIBUTES ioctl isn't supported.
- Sync x86 cpufeatures with the kernel sources, no changes in tooling.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
---------------------------------------------------------------- Adrian Hunter (3): perf record: Fix cpu mask bit setting for mixed mmaps libperf evlist: Fix polling of system-wide events perf kcore_copy: Do not check /proc/modules is unchanged
Arnaldo Carvalho de Melo (1): tools headers cpufeatures: Sync with the kernel sources
Lieven Hey (1): perf jit: Include program header in ELF files
Namhyung Kim (6): perf stat: Fix BPF program section name perf stat: Fix cpu map index in bperf cgroup code perf stat: Use evsel->core.cpus to iterate cpus in BPF cgroup counters perf test: Add a new test for perf stat cgroup BPF counter perf test: Skip wp modify test on old kernels perf tools: Honor namespace when synthesizing build-ids
tools/arch/x86/include/asm/cpufeatures.h | 5 +- tools/lib/perf/evlist.c | 5 +- tools/perf/builtin-record.c | 2 + tools/perf/tests/shell/stat_bpf_counters_cgrp.sh | 83 ++++++++++++++++++++++++ tools/perf/tests/wp.c | 10 ++- tools/perf/util/bpf_counter_cgroup.c | 10 +-- tools/perf/util/bpf_skel/bperf_cgroup.bpf.c | 2 +- tools/perf/util/genelf.c | 14 ++++ tools/perf/util/genelf.h | 4 ++ tools/perf/util/symbol-elf.c | 7 +- tools/perf/util/synthetic-events.c | 17 ++++- 11 files changed, 139 insertions(+), 20 deletions(-) create mode 100755 tools/perf/tests/shell/stat_bpf_counters_cgrp.sh
| |