aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorMarc Zyngier <[email protected]>2023-06-09 17:21:45 +0100
committerOliver Upton <[email protected]>2023-06-12 23:17:23 +0000
commit35230be87ec6147c20e7433ab9d41e2fd2664631 (patch)
treebf364ada1dc2be8e7e262a81c0b94c9246f3e335 /tools/perf/scripts/python/task-analyzer.py
parentc4b9fd2ac035a55d1fd98322f4360c9d07530597 (diff)
arm64: Prevent the use of is_kernel_in_hyp_mode() in hypervisor code
Using is_kernel_in_hyp_mode() in hypervisor code is a pretty bad mistake. This helper only checks for CurrentEL being EL2, which is always true. Make the compilation fail if using the helper in hypervisor context Whilst we're at it, flag the helper as __always_inline, which it really should be. Signed-off-by: Marc Zyngier <[email protected]> Acked-by: Catalin Marinas <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Oliver Upton <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions