lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231020200846.99350-1-acme@kernel.org>
Date:   Fri, 20 Oct 2023 17:08:46 -0300
From:   Arnaldo Carvalho de Melo <acme@...nel.org>
To:     Linus Torvalds <torvalds@...ux-foundation.org>
Cc:     Ingo Molnar <mingo@...nel.org>,
        Thomas Gleixner <tglx@...utronix.de>,
        Jiri Olsa <jolsa@...nel.org>,
        Namhyung Kim <namhyung@...nel.org>,
        Ian Rogers <irogers@...gle.com>,
        Adrian Hunter <adrian.hunter@...el.com>,
        Clark Williams <williams@...hat.com>,
        Kate Carcia <kcarcia@...hat.com>, linux-kernel@...r.kernel.org,
        linux-perf-users@...r.kernel.org,
        Arnaldo Carvalho de Melo <acme@...nel.org>,
        Manu Bretelle <chantr4@...il.com>,
        Wyes Karny <wyes.karny@....com>,
        Arnaldo Carvalho de Melo <acme@...hat.com>
Subject: [GIT PULL] perf tools fixes for v6.6: 2nd batch

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@...hat.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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ