aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorIan Rogers <irogers@google.com>2026-09-28 23:58:34 -0700
committerArnaldo Carvalho de Melo <acme@redhat.com>2026-09-29 20:51:44 +0200
commitacdfc9b2fe2d83684ae66a87b5c78412d52d5d4c (patch)
treeb8ff6f5f532a12086570d3eb5e14eac5ecae1693 /scripts/Makefile.thinlto
parentperf python stat-cpi: Fix live mode signal races and test flakiness (diff)
perf test: Deflake Intel PT Python shell tests under load
In test_intel_pt_events_python.sh, test_export_to_sqlite_python.sh, and test_export_to_postgresql_python.sh, 'sh -c "uname; true"' uses the shell builtin 'true' and exits within microseconds of 'uname', sending SIGCHLD to 'perf record' before the Intel PT AUX buffer is always flushed under heavy parallel load (~5-10% drop rate). Sleep 0.05s in the subshell after 'uname' ('sh -c "uname; sleep 0.05"') so 'uname' completely exits and flushes its AUX trace before 'sh' exits, and wrap the record and verification step in a bounded retry loop (up to 5 attempts). Also pass '-B -N --no-bpf-event' to 'perf record -g' in test_export_to_sqlite_python.sh and test_export_to_postgresql_python.sh to avoid build-id cache and BPF synthesis overhead. Fixes: d4ce72e9e238fd70 ("perf python: Port intel-pt-events and libxed to perf module") Fixes: 62d350135e676a11 ("perf python: Port export-to-sqlite to perf module") Fixes: b1f968c9656a8a87 ("perf python: Port export-to-postgresql to perf module") Assisted-by: Antigravity:gemini-3.1-pro Signed-off-by: Ian Rogers <irogers@google.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions