summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-06-22 18:27:51 -0700
committerNamhyung Kim <namhyung@kernel.org>2026-06-30 17:09:13 -0700
commit07eac17339dab6b143e12cadf19acd61f03011f8 (patch)
treeec302036329880b6fbe1412c29bf09c497085888 /tools/perf/scripts/python/stackcollapse.py
parent8953bfd8820b6525032023fda3a420098c1823ae (diff)
perf tests: Fix Python JIT dump profiling test failure
The `python profiling with jitdump` test failed due to: 1. Target PID extraction resolving to duplicate space-separated values, which broke the buildid-cache loops. 2. The default workload duration being too short to capture JIT stack trampoline samples, resulting in 0 matching JIT symbols. Fix the PID parsing by sorting and retrieving a unique single-line value. Implement a robust retry loop starting at 1M python loop iterations and scaling up to 100M iterations until JIT symbols are successfully captured and verified. Fixes: c9cd0c7e529e ("perf test: Add python JIT dump test") Assisted-by: Antigravity:gemini-3.1-pro Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions