diff options
| author | Thomas Gleixner <tglx@kernel.org> | 2026-07-07 21:05:58 +0200 |
|---|---|---|
| committer | Thomas Gleixner <tglx@kernel.org> | 2026-07-12 12:38:00 +0200 |
| commit | 89d163dd9dacb028773244dba0a2c86f3a6b74b7 (patch) | |
| tree | 18f695930dc5f2fcd47755df4522b03f4a0de4ca /tools/perf/scripts/python/flamegraph.py | |
| parent | 5b6e32ba7b5967a2787fafaa9f4740c590e1e00b (diff) | |
powerpc: Move stack randomization after syscall_enter_from_user_mode()
add_random_kstack_offset() is invoked before syscall_enter_from_user_mode()
establishes state. That's wrong because add_random_kstack_offset() calls
into instrumentable code.
Move it after syscall_enter_from_user_mode() to ensure that state is
correctly established.
Signed-off-by: Thomas Gleixner <tglx@kernel.org>
Tested-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>
Reviewed-by: Shrikanth Hegde <sshegde@linux.ibm.com>
Reviewed-by: Radu Rendec <radu@rendec.net>
Reviewed-by: Jinjie Ruan <ruanjinjie@huawei.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@oss.qualcomm.com>
Reviewed-by: Mukesh Kumar Chaurasiya (IBM) <mkchauras@gmail.com>
Link: https://patch.msgid.link/20260707190253.718191130@kernel.org
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions
