summaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2025-01-30 09:01:35 -0800
committerNamhyung Kim <namhyung@kernel.org>2025-02-03 19:45:50 -0800
commitbb4b8f9697931a2f1d079c3ab7d9ee41d792bd68 (patch)
tree046fa28eae0f91a45721843a8e28426571d3c3a5 /tools/perf/scripts/python
parent4c4c0724d6521a8092b7c16f8f210c5869d95b17 (diff)
downloadlinux-bb4b8f9697931a2f1d079c3ab7d9ee41d792bd68.tar.gz
linux-bb4b8f9697931a2f1d079c3ab7d9ee41d792bd68.tar.bz2
linux-bb4b8f9697931a2f1d079c3ab7d9ee41d792bd68.zip
perf test: Extra verbosity and hypervisor skip for tpebs test
When not running as root and with higher perf event paranoia values the perf record forked by TPEBS can fail to attach to the process. Skip the test in these scenarios. Intel TPEBS test skips on non-Intel CPUs. On Intel CPUs under a hypervisor the cache-misses event may not be present or precise. Skip the test under this condition. Refactor the output code to be placed in a file so that on a signal the file can be dumped. This was necessary to catch the issue above as the failing perf record command would fail without output. Signed-off-by: Ian Rogers <irogers@google.com> Tested-by: Thomas Falcon <thomas.falcon@intel.com> Cc: Weilin Wang <weilin.wang@intel.com> Cc: James Clark <james.clark@linaro.org> Link: https://lore.kernel.org/r/20250130170135.5817-1-irogers@google.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions