diff options
author | Sean Christopherson <seanjc@google.com> | 2021-11-11 05:07:38 +0300 |
---|---|---|
committer | Peter Zijlstra <peterz@infradead.org> | 2021-11-17 16:49:12 +0300 |
commit | a9f4a6e92b3b319296fb078da2615f618f6cd80c (patch) | |
tree | 16cf4fd0bf05c28d14894c37e40794d8bf9c5134 | |
parent | 17ed14eba22b3a86e82fb6df28af00fb4cadfd77 (diff) | |
download | linux-a9f4a6e92b3b319296fb078da2615f618f6cd80c.tar.xz |
perf: Drop guest callback (un)register stubs
Drop perf's stubs for (un)registering guest callbacks now that KVM
registration of callbacks is hidden behind GUEST_PERF_EVENTS=y. The only
other user is x86 XEN_PV, and x86 unconditionally selects PERF_EVENTS.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Signed-off-by: Peter Zijlstra (Intel) <peterz@infradead.org>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Link: https://lore.kernel.org/r/20211111020738.2512932-18-seanjc@google.com
-rw-r--r-- | include/linux/perf_event.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 0ac7d867ca0c..7b7525e9155f 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h @@ -1511,11 +1511,6 @@ perf_sw_event(u32 event_id, u64 nr, struct pt_regs *regs, u64 addr) { } static inline void perf_bp_event(struct perf_event *event, void *data) { } -static inline void perf_register_guest_info_callbacks -(struct perf_guest_info_callbacks *cbs) { } -static inline void perf_unregister_guest_info_callbacks -(struct perf_guest_info_callbacks *cbs) { } - static inline void perf_event_mmap(struct vm_area_struct *vma) { } typedef int (perf_ksymbol_get_name_f)(char *name, int name_len, void *data); |