diff options
| author | Steven Rostedt <rostedt@goodmis.org> | 2026-07-24 19:32:10 -0400 |
|---|---|---|
| committer | Steven Rostedt <rostedt@goodmis.org> | 2026-07-24 22:57:56 -0400 |
| commit | 2c2b322acdcc78575b8d6afa64a085cf92e03c12 (patch) | |
| tree | 95165df24d89146bd1584e2f48ce2a3c69f1ac19 /tools/perf/scripts/python/stackcollapse.py | |
| parent | 7720b63bcef3f54c7fe288774b720a227d54a306 (diff) | |
tracing: perf: Fix stale head for perf syscall tracing
The code that can read the user space parameters of a system call may
enable preemption and migrate. The head of the per CPU perf events list
may be pointing to the wrong CPU event if the code migrates the task.
Reassign the head pointer if the system call event called the code that
may have caused a migration.
Cc: stable@vger.kernel.org
Link: https://patch.msgid.link/20260724193210.03fae1d6@gandalf.local.home
Reported-by: Sashiko <>
Link: https://sashiko.dev/#/patchset/20260717173252.3431565-1-usama.arif%40linux.dev
Fixes: edca33a56297d ("tracing: Fix failure to read user space from system call trace events")
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
