summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorSean Christopherson <seanjc@google.com>2026-06-25 15:04:47 -0700
committerSean Christopherson <seanjc@google.com>2026-07-08 13:41:19 -0700
commitde28ef6548a25bfb82ff0ea390821752ee7fb629 (patch)
treef56001bda4b0610cc35bfd6bfe9954272d901113 /tools/perf/scripts/python
parenteb7313b66c59b4b8c135d3eb01f68268d4070594 (diff)
KVM: x86: Add static asserts to document connection b/w TSS structs and macros
Add static asserts to sanity check the I/O permission map and TSS size macros against tss_segment_32. Alternatively, the macros could simply use offsetof() and sizeof(), but having literal numbers makes it easier to understand the bigger picture, and provides a good excuse for the sanity checks. Opportunistically add the necessary includes to make tss.h self sufficient. No functional change intended. Reviewed-by: Kai Huang <kai.huang@intel.com> Link: https://patch.msgid.link/20260625220450.3354415-7-seanjc@google.com Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions