summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2024-11-28 04:33:49 +0300
committerSean Christopherson <seanjc@google.com>2024-12-19 01:19:45 +0300
commitccf93de484a33f8fe943734f3eed0f05004a48e9 (patch)
tree6a132ca69630b8bd6294e8b88e00be9d4cfd6d3b /tools/perf/scripts/python/export-to-postgresql.py
parent96cbc766baf05daf5dbcfd17c605d821f10170be (diff)
downloadlinux-ccf93de484a33f8fe943734f3eed0f05004a48e9.tar.xz
KVM: x86: Unpack F() CPUID feature flag macros to one flag per line of code
Refactor kvm_set_cpu_caps() to express each supported (or not) feature flag on a separate line, modulo a handful of cases where KVM does not, and likely will not, support a sequence of flags. This will allow adding fancier macros with longer, more descriptive names without resulting in absurd line lengths and/or weird code. Isolating each flag also makes it far easier to review changes, reduces code conflicts, and generally makes it easier to resolve conflicts. Lastly, it allows co-locating comments for notable flags, e.g. MONITOR, precisely with the relevant flag. No functional change intended. Suggested-by: Maxim Levitsky <mlevitsk@redhat.com> Link: https://lore.kernel.org/r/20241128013424.4096668-23-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