diff options
author | Alejandro Jimenez <alejandro.j.jimenez@oracle.com> | 2024-05-06 22:53:20 +0000 |
---|---|---|
committer | Sean Christopherson <seanjc@google.com> | 2024-06-05 06:18:27 -0700 |
commit | 69148ccec679195f37c10af405eb5016eaf03992 (patch) | |
tree | 338dec5fc4a0f65ed68617173c540c1627d9f236 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 6fef518594bcb7e374f809717281bd02894929f8 (diff) |
KVM: x86: Print names of apicv inhibit reasons in traces
Use the tracing infrastructure helper __print_flags() for printing flag
bitfields, to enhance the trace output by displaying a string describing
each of the inhibit reasons set.
The kvm_apicv_inhibit_changed tracepoint currently shows the raw bitmap
value, requiring the user to consult the source file where the inhibit
reasons are defined to decode the trace output.
Signed-off-by: Alejandro Jimenez <alejandro.j.jimenez@oracle.com>
Reviewed-by: Vasant Hegde <vasant.hegde@amd.com>
Link: https://lore.kernel.org/r/20240506225321.3440701-2-alejandro.j.jimenez@oracle.com
Co-developed-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions