diff options
| author | Sean Christopherson <seanjc@google.com> | 2026-09-21 12:14:12 -0700 |
|---|---|---|
| committer | Ingo Molnar <mingo@kernel.org> | 2026-09-22 11:09:45 +0200 |
| commit | a391618e1d563f099e4c2a704f45d08329ccdf7c (patch) | |
| tree | c536dff6fd03ab5a1704134e81bb5d05031630e5 /tools/perf/scripts/python/bin/stackcollapse-report | |
| parent | d06260e99eb93d2942b7af4ccd789eb8a6c829d3 (diff) | |
| download | linux-next-a391618e1d563f099e4c2a704f45d08329ccdf7c.tar.gz linux-next-a391618e1d563f099e4c2a704f45d08329ccdf7c.zip | |
perf/x86/intel: Make @data a mandatory param for intel_guest_get_msrs()
Drop "support" for passing a NULL @data/@kvm_pmu param when getting guest
MSRs. KVM, the only in-tree user, unconditionally passes a non-NULL
pointer, and carrying code that suggests @data may be NULL is confusing,
e.g. incorrectly implies that there are scenarios where KVM doesn't pass
a PMU context.
Fixes: 8183a538cd95 ("KVM: x86/pmu: Add IA32_DS_AREA MSR emulation to support guest DS")
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Reviewed-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Dapeng Mi <dapeng1.mi@linux.intel.com>
Link: https://patch.msgid.link/20260921191418.950933-5-seanjc@google.com
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions
