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>,
Ian Rogers <irogers@google.com>,
Adrian Hunter <adrian.hunter@intel.com>,
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>,
Manu Bretelle <chantr4@gmail.com>,
Wyes Karny <wyes.karny@amd.com>,
Arnaldo Carvalho de Melo <acme@redhat.com>
Subject: [GIT PULL] perf tools fixes for v6.6: 2nd batch
Date: Fri, 20 Oct 2023 17:08:46 -0300 [thread overview]
Message-ID: <20231020200846.99350-1-acme@kernel.org> (raw)
Hi Linus,
Please consider pulling,
Best regards,
- Arnaldo
The following changes since commit e47749f1796d1df39a7eaae95f2784aaa43df57d:
perf jevent: fix core dump on software events on s390 (2023-09-17 15:51:57 -0700)
are available in the Git repository at:
git://git.kernel.org/pub/scm/linux/kernel/git/perf/perf-tools.git tags/perf-tools-fixes-for-v6.6-2-2023-10-20
for you to fetch changes up to 4fa008a2db484024a5cb52676a1b1534dc82330c:
tools build: Fix llvm feature detection, still used by bpftool (2023-10-19 22:33:58 -0300)
----------------------------------------------------------------
perf tools fixes for v6.6: 2nd batch
- Fix regression in reading scale and unit files from sysfs for PMU
events, so that we can use that info to pretty print instead of
printing raw numbers:
# perf stat -e power/energy-ram/,power/energy-gpu/ sleep 2
Performance counter stats for 'system wide':
1.64 Joules power/energy-ram/
0.20 Joules power/energy-gpu/
2.001228914 seconds time elapsed
#
# grep -m1 "model name" /proc/cpuinfo
model name : Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
#
- The small llvm.cpp file used to check if the llvm devel files are present was
incorrectly deleted when removing the BPF event in 'perf trace', put it back
as it is also used by tools/bpf/bpftool, that uses llvm routines to do
disassembly of BPF object files.
- Fix use of addr_location__exit() in dlfilter__object_code(), making sure that
it is only used to pair a previous addr_location__init() call.
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
----------------------------------------------------------------
Adrian Hunter (2):
perf dlfilter: Fix use of addr_location__exit() in dlfilter__object_code()
perf dlfilter: Add a test for object_code()
Arnaldo Carvalho de Melo (1):
tools build: Fix llvm feature detection, still used by bpftool
Wyes Karny (1):
perf pmu: Fix perf stat output with correct scale and unit
tools/build/feature/test-llvm.cpp | 14 +++++++++++++
tools/perf/dlfilters/dlfilter-test-api-v0.c | 12 ++++++++++-
tools/perf/dlfilters/dlfilter-test-api-v2.c | 12 ++++++++++-
tools/perf/util/dlfilter.c | 32 ++++++++++++++---------------
tools/perf/util/pmu.c | 8 ++++----
5 files changed, 55 insertions(+), 23 deletions(-)
create mode 100644 tools/build/feature/test-llvm.cpp
next reply other threads:[~2023-10-20 20:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-10-20 20:08 Arnaldo Carvalho de Melo [this message]
2023-10-20 21:54 ` [GIT PULL] perf tools fixes for v6.6: 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=20231020200846.99350-1-acme@kernel.org \
--to=acme@kernel.org \
--cc=acme@redhat.com \
--cc=adrian.hunter@intel.com \
--cc=chantr4@gmail.com \
--cc=irogers@google.com \
--cc=jolsa@kernel.org \
--cc=kcarcia@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-perf-users@vger.kernel.org \
--cc=mingo@kernel.org \
--cc=namhyung@kernel.org \
--cc=tglx@linutronix.de \
--cc=torvalds@linux-foundation.org \
--cc=williams@redhat.com \
--cc=wyes.karny@amd.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;
as well as URLs for NNTP newsgroup(s).