summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/flamegraph.py
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2026-10-13 16:48:50 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2026-10-13 16:48:50 +0800
commit00289c235d4094b3beba123b163763f85f587247 (patch)
tree6363fc907c31f6867b8f229d0ffe8057830d2d9a /tools/perf/scripts/python/flamegraph.py
parentef859f31c27edb2718e310deac6ad11923a9bce4 (diff)
LoongArch: KVM: Add hypercall crash support
Now generic pvpanic is supported in Linux kernel which will notify VMM with VM crash event. There is some limitations with pvpanic, such as it requires a good kernel stack or the CPU hardware context and panic() C function is in health state. Sometimes CPU hardware context or kernel/irq stack is corrupted. So hypercall code is a more direct and low-level crash method, which is useful in exception entry with assmble language. Here add a hypercall code to support VM crash function, so that VMM can capture CPU crash context in time. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions