diff options
| author | 2026-10-02 11:26:10 -0700 | |
|---|---|---|
| committer | 2026-10-03 10:59:27 +0200 | |
| commit | 019b53caa674b6a13250214de471d85819748c3b (patch) | |
| tree | 2878f02737025f3852653eefa193c8bc2613e514 /scripts/Makefile.thinlto | |
| parent | perf python: Track linked libraries as extension dependencies (diff) | |
perf session: Don't flush remaining events once processing is done
When session_done() is set, for example by SIGINT or by a python
callback requesting processing stop, the reader loops stop but the
deferred samples and auxtrace data are still flushed afterwards. For
large traces decoding and delivering the remaining auxtrace data can be
slow, and the events are delivered to tools that asked to stop.
Discard the remaining deferred samples, and skip
auxtrace__flush_events(), when session_done() is set. The
ordered_events flush already honors session_done().
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
