On 04/06/2026 2:31 pm, James Clark wrote:
On 03/06/2026 6:25 pm, Leo Yan wrote:
On Tue, Jun 02, 2026 at 03:26:56PM +0100, James Clark wrote:
[...]
-When you run perf test, it will do a lot of self tests. Some of those -tests will cover CoreSight (only if enabled and on ARM64). You -generally would run perf test from the tools/perf directory in the -kernel tree. Some tests will check some internal perf support like:
- Check Arm CoreSight trace data recording and synthesized samples - Check Arm SPE trace data recording and synthesized samples
Should we keep the chunk for but suggest a perf command as
perf test "CoreSight" ?
I put this at the end, not sure if you saw it:
+There are a set of Perf tests for CoreSight which can be run with:: + + sudo perf test coresight
"When you run perf test, it will do a lot of self tests." didn't seem useful. And the other part about the directory was general advice which I'm not even sure is accurate. The tests are supposed to install and you can run them from anywhere.
diff --git a/MAINTAINERS b/MAINTAINERS index b539be153f6a..7efb893edcbb 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -2751,7 +2751,6 @@ F: tools/perf/arch/arm/util/cs-etm.h F: tools/perf/arch/arm/util/pmu.c F: tools/perf/tests/shell/*coresight* F: tools/perf/tests/shell/coresight/* -F: tools/perf/tests/shell/lib/*coresight*
Need to delete tools/perf/tests/shell/coresight/* ?
I delete /*coresight* in the later commit when moving everything into the coresight/ folder, so only coresight/* remains. I think that's right?
Thanks, Leo