aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts-by-pid.py
diff options
context:
space:
mode:
authorMark Rutland <[email protected]>2022-11-14 14:40:42 +0000
committerWill Deacon <[email protected]>2022-11-15 13:06:40 +0000
commitd8c1d798a2e5091128c391c6dadcc9be334af3f5 (patch)
tree37a3e7c29636737e3a01c587fcc5ee7d20daf341 /tools/perf/scripts/python/syscall-counts-by-pid.py
parent9e75e74b07ab17e6407b567eb4a8b3d0c93de5f1 (diff)
arm64: make is_ttbrX_addr() noinstr-safe
We use is_ttbr0_addr() in noinstr code, but as it's only marked as inline, it's theoretically possible for the compiler to place it out-of-line and instrument it, which would be problematic. Mark is_ttbr0_addr() as __always_inline such that that can safely be used from noinstr code. For consistency, do the same to is_ttbr1_addr(). Note that while is_ttbr1_addr() calls arch_kasan_reset_tag(), this is a macro (and its callees are either macros or __always_inline), so there is not a risk of transient instrumentation. Signed-off-by: Mark Rutland <[email protected]> Cc: Catalin Marinas <[email protected]> Cc: Will Deacon <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Will Deacon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts-by-pid.py')
0 files changed, 0 insertions, 0 deletions