Re: [PATCH v1] perf test annotate: Use --percent-limit rather than head to reduce output

From: Namhyung Kim
Date: Tue Jul 01 2025 - 13:55:47 EST


On Fri, 27 Jun 2025 18:58:32 -0700, Ian Rogers wrote:
> The annotate test was sped up by Thomas Richter
> <tmricht@xxxxxxxxxxxxx> in commit
> 658a8805cb60 ("perf test: Speed up test case 70 annotate basic tests")
> by reducing the annotate output using head. This causes flakes on
> hybrid machines where the first event dumped may not have the samples
> for the test within it. Rather than reduce the output using `head`
> switch to `--percent-limit 10` which will stop annotate dumping
> functions that have an overhead of less than 10%, the noploop program
> should be using more.
>
> [...]
Applied to perf-tools-next, thanks!

Best regards,
Namhyung