[PATCH] arm64: perf: Fix the userspace counter example link
TAKANO Mitsuhiro
takano32 at gmail.com
Tue Nov 10 18:33:49 PST 2026
You are right on all three points, and the middle one was worse than a
style choice: I measured it after your message and "perf test -v user"
does not run the cases in mmap-basic.c at all. It matches the tests
whose name contains "user" and runs those; the mmap interface cases that
file provides are 175.x, so the v1 changelog was wrong about what the
command runs as well.
So v2 does what you suggested instead of pointing somewhere else:
the sentence that sends the reader to another file, and its link target,
are both gone. The How-to section above already names test-evsel.c as
the example, so the instruction for running an example moves there, next
to the reference it belongs to:
make -C tools/lib/perf make-tests
tools/lib/perf/tests-static
I built that pair from a clean tree before writing it down, and the
Makefile target produces both tests-static and tests-shared.
The section on heterogeneous systems keeps its text about the PMU type
number; it just no longer ends with an example pointer that was to a file
which does not exist.
More information about the linux-arm-kernel
mailing list