diff options
author | James Clark <[email protected]> | 2024-06-12 15:03:14 +0100 |
---|---|---|
committer | Namhyung Kim <[email protected]> | 2024-06-24 14:42:59 -0700 |
commit | ff16aeb9b83441b8458d4235496cf320189a0c60 (patch) | |
tree | b5a84f5ad90c5c50601f756afc298876b11af6fc /tools/perf/scripts/python/arm-cs-trace-disasm.py | |
parent | 366e17409f1f17ad872259ce4a4f8a92beb4c4ee (diff) |
perf test: Make test_arm_callgraph_fp.sh more robust
The 2 second sleep can cause the test to fail on very slow network file
systems because Perf ends up being killed before it finishes starting
up.
Fix it by making the leafloop workload end after a fixed time like the
other workloads so there is no need to kill it after 2 seconds.
Also remove the 1 second start sampling delay because it is similarly
fragile. Instead, search through all samples for a matching one, rather
than just checking the first sample and hoping it's in the right place.
Fixes: cd6382d82752 ("perf test arm64: Test unwinding using fame-pointer (fp) mode")
Signed-off-by: James Clark <[email protected]>
Acked-by: Namhyung Kim <[email protected]>
Cc: German Gomez <[email protected]>
Cc: Spoorthy S <[email protected]>
Cc: Kajol Jain <[email protected]>
Signed-off-by: Namhyung Kim <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/arm-cs-trace-disasm.py')
0 files changed, 0 insertions, 0 deletions