diff options
| author | Steffen Eiden <seiden@linux.ibm.com> | 2026-09-28 15:07:02 +0200 |
|---|---|---|
| committer | Christian Borntraeger <borntraeger@linux.ibm.com> | 2026-10-02 10:40:00 +0200 |
| commit | deaf98ff52ed9226dc84d7abb315d67fc6398c12 (patch) | |
| tree | 3c89b09d44fba944cb11374a026cd4336307ad1e /tools/perf/scripts/python/task-analyzer.py | |
| parent | df2908090cda368b01ff43709f51890076c56157 (diff) | |
KVM: Introduce file_to_kvm_<arch>() infrastructure
Add a macro mechanism that generates an opt-in and arch-namespaced
file_to_kvm_<arch>() to convert a file reference to a kvm object if the
file handle represents a kvm handle.
Activate for x86 and for s390 (native KVM only).
Suggested-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
Reviewed-by: Claudio Imbrenda <imbrenda@linux.ibm.com>
Acked-by: Janosch Frank <frankja@linux.ibm.com>
Acked-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Christian Borntraeger <borntraeger@linux.ibm.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions
