diff options
| author | 2026-10-02 11:26:14 -0700 | |
|---|---|---|
| committer | 2026-10-03 11:10:26 +0200 | |
| commit | 055c721d38a49ea37fe058f6259ed85bf89cdfec (patch) | |
| tree | dca84710e3834ed2c52c1d985189f072327fce9d /scripts/Makefile.thinlto | |
| parent | perf python: Lazily resolve sample callchains (diff) | |
perf python: Release the GIL while processing session events
When a python session reads from a pipe, perf_session__new() and
perf_session__process_events() block waiting for data with the GIL held,
freezing any other python threads such as a TUI thread. Release the GIL
around both calls and acquire it with PyGILState_Ensure() in the tool and
call-return callbacks that invoke python.
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
