aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/intel-pt-events.py
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <[email protected]>2025-06-30 07:51:38 +0000
committerThomas Gleixner <[email protected]>2025-06-30 15:45:35 +0000
commit7ff495e26a39f3e7a3d4058df59b5b6d6f943cab (patch)
tree1097993278003262bd5eb81feff5ea7735b779d7 /tools/perf/scripts/python/intel-pt-events.py
parentLinux 6.16-rc1 (diff)
downloadkernel-7ff495e26a39f3e7a3d4058df59b5b6d6f943cab.tar.gz
kernel-7ff495e26a39f3e7a3d4058df59b5b6d6f943cab.zip
local_lock: Move this_cpu_ptr() notation from internal to main header
local_lock.h is the main header for the local_lock_t type and provides wrappers around internal functions prefixed with __ in local_lock_internal.h. Move the this_cpu_ptr() dereference of the variable from the internal to the main header. Since it is all macro implemented, this_cpu_ptr() will still happen within the preempt/ IRQ disabled section. This frees the internal implementation (__) to be used on local_lock_t types which are local variables and must not be accessed via this_cpu_ptr(). Signed-off-by: Sebastian Andrzej Siewior <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Waiman Long <[email protected]> Acked-by: Peter Zijlstra (Intel) <[email protected]> Link: https://lore.kernel.org/all/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/intel-pt-events.py')
0 files changed, 0 insertions, 0 deletions