Re: [PATCH V2 01/23] perf intel-pt: Add a test for system-wide side band

Adrian Hunter
2022-05-10T17:21:27Z

On 10/05/22 20:18, Arnaldo Carvalho de Melo wrote:
> Em Fri, May 06, 2022 at 03:25:39PM +0300, Adrian Hunter escreveu:
>> Add a test for system-wide side band even when tracing selected CPUs.
>>
>> Tested-by: Ian Rogers <irogers@google.com>
>> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
>
>
> [root@quaco ~]# uname -a
> Linux quaco 5.16.13-200.fc35.x86_64 #1 SMP PREEMPT Tue Mar 8 22:50:58 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
> [root@quaco ~]# grep -m1 -i "model name" /proc/cpuinfo
> model name : Intel(R) Core(TM) i7-8650U CPU @ 1.90GHz
> [root@quaco ~]# perf test -v Misc
> 97: Miscellaneous Intel PT testing :
> --- start ---
> test child forked, pid 769475
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 1.352 MB /tmp/tmp.Ty4Rqnz4vz ]
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 1.352 MB /tmp/tmp.Ty4Rqnz4vz ]
> Linux
> [ perf record: Woken up 1 times to write data ]
> [ perf record: Captured and wrote 1.446 MB /tmp/tmp.TnEqenwzZv ]
> Failed to record MMAP events on CPU 1 when tracing CPU 0
> test child finished with -1
> ---- end ----
> Miscellaneous Intel PT testing: FAILED!
> [root@quaco ~]#
>
> Do I need some more recent machine or kernel?

I put it only in the cover letter sorry but "The first patch is a small Intel PT test for system-wide side band. The
test fails before the patches are applied, passed afterwards."