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 for Android: free password hash cracker in your pocket
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20210708013701.20347-1-yao.jin@linux.intel.com>
Date:   Thu,  8 Jul 2021 09:36:57 +0800
From:   Jin Yao <yao.jin@...ux.intel.com>
To:     acme@...nel.org, jolsa@...nel.org, peterz@...radead.org,
        mingo@...hat.com, alexander.shishkin@...ux.intel.com
Cc:     Linux-kernel@...r.kernel.org, ak@...ux.intel.com,
        kan.liang@...el.com, yao.jin@...el.com,
        Jin Yao <yao.jin@...ux.intel.com>
Subject: [PATCH v2 0/4] perf tool: Skip invalid hybrid PMU

On hybrid platform, such as Alderlake, if atom CPUs are offlined,
the kernel still exports the sysfs path '/sys/devices/cpu_atom/' for
'cpu_atom' pmu but the file '/sys/devices/cpu_atom/cpus' is empty,
which indicates this is an invalid pmu. So we need to check and skip
the invalid hybrid pmu.

Also we need to update some perf test cases for core-only system.

Jin Yao (4):
  perf pmu: Skip invalid hybrid pmu
  perf tests: Fix 'Parse event definition strings' on core-only system
  perf tests: Fix 'Roundtrip evsel->name' on core-only system
  perf tests: Fix 'Convert perf time to TSC' on core-only system

 tools/perf/tests/evsel-roundtrip-name.c |  3 ++-
 tools/perf/tests/parse-events.c         | 16 ++++++++++------
 tools/perf/tests/perf-time-to-tsc.c     |  3 ++-
 tools/perf/util/pmu.c                   |  9 ++++++++-
 4 files changed, 22 insertions(+), 9 deletions(-)

-- 
2.17.1

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ