From: Arnaldo Carvalho de Melo <acme@kernel.org>
To: Linus Torvalds <torvalds@linux-foundation.org>
Cc: Ingo Molnar <mingo@kernel.org>,
Thomas Gleixner <tglx@linutronix.de>,
Jiri Olsa <jolsa@kernel.org>, Namhyung Kim <namhyung@kernel.org>,
Clark Williams <williams@redhat.com>,
Kate Carcia <kcarcia@redhat.com>,
linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org,
Arnaldo Carvalho de Melo <acme@kernel.org>,
Adrian Hunter <adrian.hunter@intel.com>,
Ammy Yi <ammy.yi@intel.com>, Andi Kleen <ak@linux.intel.com>,
Athira Jajeev <atrajeev@linux.vnet.ibm.com>,
Disha Goel <disgoel@linux.vnet.ibm.com>,
Ian Rogers <irogers@google.com>,
James Clark <james.clark@arm.com>,
Kevin Nomura <nomurak@google.com>, Leo Yan <leo.yan@linaro.org>,
Qi Liu <liuqi115@huawei.com>,
Ravi Bangoria <ravi.bangoria@amd.com>,
Rob Herring <robh@kernel.org>, Vitaly Chikunov <vt@altlinux.org>,
Yicong Yang <yangyicong@hisilicon.com>,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: [GIT PULL] perf tools changes for v6.1: 2nd batch
Date: Sun, 16 Oct 2022 09:09:14 -0300 [thread overview]
Message-ID: <20221016120914.624129-1-acme@kernel.org> (raw)
Hi Linus,
Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit 9c9155a3509a2ebdb06d77c7a621e9685c802eac:
Merge tag 'drm-next-2022-10-14' of git://anongit.freedesktop.org/drm/drm (2022-10-13 21:56:34 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/acme/linux.git tags/perf-tools-for-v6.1-2-2022-10-16
for you to fetch changes up to a3a365655a28f12f07eddf4f3fd596987b175e1d:
tools arch x86: Sync the msr-index.h copy with the kernel sources (2022-10-15 10:13:16 -0300)
----------------------------------------------------------------
perf tools changes for v6.1: 2nd batch
- Use BPF CO-RE (Compile Once, Run Everywhere) to support old kernels
when using bperf (perf BPF based counters) with cgroups.
- Support HiSilicon PCIe Performance Monitoring Unit (PMU), that
monitors bandwidth, latency, bus utilization and buffer occupancy.
Documented in Documentation/admin-guide/perf/hisi-pcie-pmu.rst.
- User space tasks can migrate between CPUs, so when tracing selected
CPUs, system-wide sideband is still needed, fix it in the setup of
Intel PT on hybrid systems.
- Fix metricgroups title message in 'perf list', it should state that
the metrics groups are to be used with the '-M' option, not '-e'.
- Sync the msr-index.h copy with the kernel sources, adding support
for using "AMD64_TSC_RATIO" in filter expressions in 'perf trace' as
well as decoding it when printing the MSR tracepoint arguments.
- Fix program header size and alignment when generating a JIT ELF
in 'perf inject'.
- Add multiple new Intel PT 'perf test' entries, including a jitdump one.
- Fix the 'perf test' entries for 'perf stat' CSV and JSON output when
running on PowerPC due to an invalid topology number in that arch.
- Fix the 'perf test' for arm_coresight failures on the ARM Juno system.
- Fix the 'perf test' attr entry for PERF_FORMAT_LOST, adding this option
to the or expression expected in the intercepted perf_event_open() syscall.
- Add missing condition flags ('hs', 'lo', 'vc', 'vs') for arm64 in the 'perf
annotate' asm parser.
- Fix 'perf mem record -C' option processing, it was being chopped up
when preparing the underlying 'perf record -e mem-events' and thus being
ignored, requiring using '-- -C CPUs' as a workaround.
- Improvements and tidy ups for 'perf test' shell infra.
- Fix Intel PT information printing segfault in uClibc, where a NULL
format was being passed to fprintf.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
----------------------------------------------------------------
Adrian Hunter (8):
perf test: test_intel_pt.sh: Fix return checking again
perf test: test_intel_pt.sh: Tidy some perf record options
perf test: test_intel_pt.sh: Print a message when skipping kernel tracing
perf test: test_intel_pt.sh: Tidy some alignment
perf test: test_intel_pt.sh: Add jitdump test
perf inject: Fix GEN_ELF_TEXT_OFFSET for jit
perf intel-pt: Fix segfault in intel_pt_print_info() with uClibc
perf intel-pt: Fix system_wide dummy event for hybrid
Ammy Yi (1):
perf test: test_intel_pt.sh: Add 9 tests
Andi Kleen (1):
perf list: Fix metricgroups title message
Arnaldo Carvalho de Melo (2):
libperf: Do not include non-UAPI linux/compiler.h header
tools arch x86: Sync the msr-index.h copy with the kernel sources
Athira Rajeev (2):
perf tests stat+csv_output: Include sanity check for topology
perf tests stat+json_output: Include sanity check for topology
James Clark (2):
perf test: Fix test_arm_coresight.sh failures on Juno
perf test: Fix attr tests for PERF_FORMAT_LOST
Namhyung Kim (3):
perf stat: Support old kernels for bperf cgroup counting
perf annotate: Add missing condition flags for arm64
perf mem: Fix -C option behavior for perf mem record
Qi Liu (3):
perf auxtrace arm: Refactor event list iteration in auxtrace_record__init()
perf auxtrace arm64: Add support for HiSilicon PCIe Tune and Trace device driver
perf auxtrace arm64: Add support for parsing HiSilicon PCIe Trace packet
Rob Herring (1):
perf: Skip and warn on unknown format 'configN' attrs
tools/arch/x86/include/asm/msr-index.h | 18 +
tools/lib/perf/include/perf/event.h | 5 +-
tools/perf/arch/arm/util/auxtrace.c | 116 ++++++-
tools/perf/arch/arm/util/pmu.c | 3 +
tools/perf/arch/arm64/annotate/instructions.c | 2 +-
tools/perf/arch/arm64/util/Build | 2 +-
tools/perf/arch/arm64/util/hisi-ptt.c | 188 ++++++++++
tools/perf/arch/x86/util/intel-pt.c | 2 +-
tools/perf/builtin-list.c | 2 +-
tools/perf/builtin-mem.c | 8 +
tools/perf/tests/attr/base-record | 2 +-
tools/perf/tests/attr/system-wide-dummy | 2 +-
tools/perf/tests/attr/test-record-group | 4 +-
tools/perf/tests/attr/test-record-group-sampling | 6 +-
tools/perf/tests/attr/test-record-group1 | 4 +-
tools/perf/tests/attr/test-record-group2 | 4 +-
tools/perf/tests/shell/stat+csv_output.sh | 43 ++-
tools/perf/tests/shell/stat+json_output.sh | 43 ++-
tools/perf/tests/shell/test_arm_coresight.sh | 2 +-
tools/perf/tests/shell/test_intel_pt.sh | 385 ++++++++++++++++++++-
tools/perf/util/Build | 2 +
tools/perf/util/auxtrace.c | 4 +
tools/perf/util/auxtrace.h | 1 +
tools/perf/util/bpf_skel/bperf_cgroup.bpf.c | 29 +-
tools/perf/util/genelf.h | 4 +-
tools/perf/util/hisi-ptt-decoder/Build | 1 +
.../util/hisi-ptt-decoder/hisi-ptt-pkt-decoder.c | 164 +++++++++
.../util/hisi-ptt-decoder/hisi-ptt-pkt-decoder.h | 31 ++
tools/perf/util/hisi-ptt.c | 192 ++++++++++
tools/perf/util/hisi-ptt.h | 19 +
tools/perf/util/intel-pt.c | 9 +-
tools/perf/util/parse-events.c | 3 +
tools/perf/util/pmu.c | 17 +
tools/perf/util/pmu.h | 2 +
tools/perf/util/pmu.l | 2 -
tools/perf/util/pmu.y | 15 +-
36 files changed, 1265 insertions(+), 71 deletions(-)
create mode 100644 tools/perf/arch/arm64/util/hisi-ptt.c
create mode 100644 tools/perf/util/hisi-ptt-decoder/Build
create mode 100644 tools/perf/util/hisi-ptt-decoder/hisi-ptt-pkt-decoder.c
create mode 100644 tools/perf/util/hisi-ptt-decoder/hisi-ptt-pkt-decoder.h
create mode 100644 tools/perf/util/hisi-ptt.c
create mode 100644 tools/perf/util/hisi-ptt.h
next reply other threads:[~2022-10-16 12:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-16 12:09 Arnaldo Carvalho de Melo [this message]
2022-10-16 22:40 ` [GIT PULL] perf tools changes for v6.1: 2nd batch pr-tracker-bot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20221016120914.624129-1-acme@kernel.org \
--to=acme@kernel.org \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=ak@linux.intel.com \
--cc=ammy.yi@intel.com \
--cc=atrajeev@linux.vnet.ibm.com \
--cc=disgoel@linux.vnet.ibm.com \
--cc=irogers@google.com \
--cc=james.clark@arm.com \
--cc=jolsa@kernel.org \
--cc=kcarcia@redhat.com \
--cc=leo.yan@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=liuqi115@huawei.com \
--cc=mingo@kernel.org \
--cc=namhyung@kernel.org \
--cc=nomurak@google.com \
--cc=ravi.bangoria@amd.com \
--cc=robh@kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=vt@altlinux.org \
--cc=williams@redhat.com \
--cc=yangyicong@hisilicon.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox