diff options
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r-- | include/linux/perf_event.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 136fe0495374..a79e59fc3b7d 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
@@ -1125,6 +1125,9 @@ extern void perf_event_mmap(struct vm_area_struct *vma); | |||
1125 | 1125 | ||
1126 | extern void perf_event_ksymbol(u16 ksym_type, u64 addr, u32 len, | 1126 | extern void perf_event_ksymbol(u16 ksym_type, u64 addr, u32 len, |
1127 | bool unregister, const char *sym); | 1127 | bool unregister, const char *sym); |
1128 | extern void perf_event_bpf_event(struct bpf_prog *prog, | ||
1129 | enum perf_bpf_event_type type, | ||
1130 | u16 flags); | ||
1128 | 1131 | ||
1129 | extern struct perf_guest_info_callbacks *perf_guest_cbs; | 1132 | extern struct perf_guest_info_callbacks *perf_guest_cbs; |
1130 | extern int perf_register_guest_info_callbacks(struct perf_guest_info_callbacks *callbacks); | 1133 | extern int perf_register_guest_info_callbacks(struct perf_guest_info_callbacks *callbacks); |
@@ -1350,6 +1353,9 @@ static inline void perf_event_mmap(struct vm_area_struct *vma) { } | |||
1350 | typedef int (perf_ksymbol_get_name_f)(char *name, int name_len, void *data); | 1353 | typedef int (perf_ksymbol_get_name_f)(char *name, int name_len, void *data); |
1351 | static inline void perf_event_ksymbol(u16 ksym_type, u64 addr, u32 len, | 1354 | static inline void perf_event_ksymbol(u16 ksym_type, u64 addr, u32 len, |
1352 | bool unregister, const char *sym) { } | 1355 | bool unregister, const char *sym) { } |
1356 | static inline void perf_event_bpf_event(struct bpf_prog *prog, | ||
1357 | enum perf_bpf_event_type type, | ||
1358 | u16 flags) { } | ||
1353 | static inline void perf_event_exec(void) { } | 1359 | static inline void perf_event_exec(void) { } |
1354 | static inline void perf_event_comm(struct task_struct *tsk, bool exec) { } | 1360 | static inline void perf_event_comm(struct task_struct *tsk, bool exec) { } |
1355 | static inline void perf_event_namespaces(struct task_struct *tsk) { } | 1361 | static inline void perf_event_namespaces(struct task_struct *tsk) { } |