Re: [PATCH v2 1/1] perf test arm64: Test unwinding using fame-pointer (fp) mode

From: German Gomez
Date: Wed Mar 16 2022 - 13:39:26 EST



On 16/03/2022 17:30, James Clark wrote:
>
> On 16/03/2022 17:20, German Gomez wrote:
>> Add a shell script to check that the call-graphs generated using frame
>> pointers (--call-graph fp) are complete and not missing leaf functions:
>>
>> | $ perf test 88 -v
>> | 88: Check Arm64 callgraphs are complete in fp mode :
>> | --- start ---
>> | test child forked, pid 8734
>> | + Compiling test program (/tmp/test_program.Cz3yL)...
>> | + Recording (PID=8749)...
>> | + Stopping perf-record...
>> | test_program.Cz
>> | 728 leaf
>> | 753 parent
>> | 76c main
>> | test child finished with 0
>> | ---- end ----
>> | Check Arm SPE callgraphs are complete in fp mode: Ok
>>
> Ran it on N1SDP and it passes, and it fails if b9f6fbb3b2c2 isn't applied.
>
> Reviewed-by: James Clark <james.clark@xxxxxxx>

Thanks!