summaryrefslogtreecommitdiff
path: root/tools/perf/util/scripting-engines/trace-event-python.c
diff options
context:
space:
mode:
authorThomas Richter <tmricht@linux.ibm.com>2025-01-31 11:27:55 +0100
committerNamhyung Kim <namhyung@kernel.org>2025-02-04 11:34:25 -0800
commit859199431d768091ff60351319a1c2886c18b592 (patch)
treea04d16c0a75763095cc37881fa4baaa71b93799d /tools/perf/util/scripting-engines/trace-event-python.c
parent23e0a63c6dd3f69cb7ee18411e5f6857cca55b30 (diff)
perf test: Fix perf record test for precise_max
On s390 the event instructions can not be used for recording. This event is only supported by perf stat. Test that each event cycles and instructions supports sampling. If the event can not be sampled, skip it. Signed-off-by: Thomas Richter <tmricht@linux.ibm.com> Suggested-by: James Clark <james.clark@linaro.org> Reviewed-by: James Clark <james.clark@linaro.org> Link: https://lore.kernel.org/r/20250131102756.4185235-2-tmricht@linux.ibm.com Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions