diff options
author | 2024-01-22 17:58:40 +0800 | |
---|---|---|
committer | 2024-03-06 20:53:23 +0530 | |
commit | 1e979288c9b50a1eef1c5fa2fa93936012a0ed6f (patch) | |
tree | 5aa3b1ac094b086a1b069f06441ab1a5d37382af /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | KVM: riscv: selftests: Add exception handling support (diff) | |
download | wireguard-linux-1e979288c9b50a1eef1c5fa2fa93936012a0ed6f.tar.xz wireguard-linux-1e979288c9b50a1eef1c5fa2fa93936012a0ed6f.zip |
KVM: riscv: selftests: Add guest helper to get vcpu id
Add guest_get_vcpuid() helper to simplify accessing to per-cpu
private data. The sscratch CSR was used to store the vcpu id.
Signed-off-by: Haibo Xu <haibo1.xu@intel.com>
Reviewed-by: Andrew Jones <ajones@ventanamicro.com>
Signed-off-by: Anup Patel <anup@brainfault.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions