diff options
author | Sean Christopherson <[email protected]> | 2024-06-12 12:51:38 -0700 |
---|---|---|
committer | Paolo Bonzini <[email protected]> | 2024-07-12 11:17:35 -0400 |
commit | 5186ec223b68cc5100035d605a730819f774932f (patch) | |
tree | 0cc6d22f71bf58c8463c425e4a771a315d9128c4 /tools/perf/util/trace-event-scripting.c | |
parent | bc1a5cd002116552db4c3541e91f8a5b1b0cf65d (diff) |
KVM: x86/mmu: Bump pf_taken stat only in the "real" page fault handler
Account stat.pf_taken in kvm_mmu_page_fault(), i.e. the actual page fault
handler, instead of conditionally bumping it in kvm_mmu_do_page_fault().
The "real" page fault handler is the only path that should ever increment
the number of taken page faults, as all other paths that "do page fault"
are by definition not handling faults that occurred in the guest.
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions