summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCarlos López <clopez@suse.de>2026-02-12 15:05:56 +0100
committerSean Christopherson <seanjc@google.com>2026-03-02 14:31:28 -0800
commitc522ac04ba9d7ec6003633aa1501c7392cdf8b2d (patch)
tree7ea26ae936fc73edb8d574a22a27cf5c90f3c104 /tools/perf/scripts/python
parente1df128dc00beaa53b0be4e751b7f2f0192dc146 (diff)
KVM: x86/pmu: annotate struct kvm_x86_pmu_event_filter with __counted_by()
struct kvm_x86_pmu_event_filter has a flexible array member, so annotate it with the field that describes the amount of entries in such array. Opportunistically replace the open-coded array size calculation with flex_array_size() when copying the array portion of the struct from userspace. Signed-off-by: Carlos López <clopez@suse.de> Link: https://patch.msgid.link/20260212140556.3883030-2-clopez@suse.de Signed-off-by: Sean Christopherson <seanjc@google.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions