summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorFuad Tabba <fuad.tabba@linux.dev>2026-09-01 15:03:17 +0100
committerMarc Zyngier <maz@kernel.org>2026-09-14 11:26:50 +0100
commit424f7785bcf316645e7f5f4620e3f9d8efdffb0f (patch)
tree6f776303a7b92c2584034ec329d1505d38ef2150 /tools/perf/scripts/python
parent968c346143b71678a4970d1d0ab3f6505be7dfd9 (diff)
KVM: arm64: nVHE: Share the stacktrace per-CPU declarations with EL2
The declarations for overflow_stack, kvm_stacktrace_info and pkvm_stacktrace are only visible to the host (the first two sit in the host-only section of stacktrace/nvhe.h, the last is private to kvm/stacktrace.c), so the definitions in nvhe/stacktrace.c compile with no declaration in sight and sparse suggests making them static. DECLARE_KVM_NVHE_PER_CPU() resolves to the right symbol name on both sides of the build: move the declarations where both can see them and include the header from the EL2 side unconditionally. No functional change intended. Reviewed-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Fuad Tabba <fuad.tabba@linux.dev> Link: https://patch.msgid.link/20260901140326.3812068-3-fuad.tabba@linux.dev Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions