Re: [PATCH v5] perf test: Introduce script for data symbol testing

From: Leo Yan
Date: Thu Oct 06 2022 - 09:17:19 EST


On Thu, Oct 06, 2022 at 08:18:40AM -0300, Arnaldo Carvalho de Melo wrote:

[...]

> Replaced the one I had merged with v5 and added this:
>
> Committer testing:
>
> [root@quaco ~]# grep -m1 "model name" /proc/cpuinfo
> model name : Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
> [root@quaco ~]#
> [root@quaco ~]# perf test -v "data symbol"
> 104: Test data symbol :
> --- start ---
> test child forked, pid 192318
> Compiling test program...
> Recording workload...
> [ perf record: Woken up 2 times to write data ]
> [ perf record: Captured and wrote 0.389 MB /tmp/__perf_test.perf.data.LIuQl (5570 samples) ]
> Cleaning up files...
> test child finished with 0
> ---- end ----
> Test data symbol: Ok
> [root@quaco ~]#
>
> Signed-off-by: Leo Yan <leo.yan@xxxxxxxxxx>
> Tested-by: Arnaldo Carvalho de Melo <acme@xxxxxxxxxx>
>
> -------------
>
> The verbose mode could show the 'perf report' output, I think, but this
> can be done later, if agreed.

Yeah, will add output logs for the test.

Thanks for picking up patch. And thanks for Ravi's testing.

Thanks,
Leo