diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/perf_event.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index 000fdb211c7d..f19a82362851 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
| @@ -1112,6 +1112,7 @@ extern int perf_unregister_guest_info_callbacks(struct perf_guest_info_callbacks | |||
| 1112 | 1112 | ||
| 1113 | extern void perf_event_exec(void); | 1113 | extern void perf_event_exec(void); |
| 1114 | extern void perf_event_comm(struct task_struct *tsk, bool exec); | 1114 | extern void perf_event_comm(struct task_struct *tsk, bool exec); |
| 1115 | extern void perf_event_namespaces(struct task_struct *tsk); | ||
| 1115 | extern void perf_event_fork(struct task_struct *tsk); | 1116 | extern void perf_event_fork(struct task_struct *tsk); |
| 1116 | 1117 | ||
| 1117 | /* Callchains */ | 1118 | /* Callchains */ |
| @@ -1315,6 +1316,7 @@ static inline int perf_unregister_guest_info_callbacks | |||
| 1315 | static inline void perf_event_mmap(struct vm_area_struct *vma) { } | 1316 | static inline void perf_event_mmap(struct vm_area_struct *vma) { } |
| 1316 | static inline void perf_event_exec(void) { } | 1317 | static inline void perf_event_exec(void) { } |
| 1317 | static inline void perf_event_comm(struct task_struct *tsk, bool exec) { } | 1318 | static inline void perf_event_comm(struct task_struct *tsk, bool exec) { } |
| 1319 | static inline void perf_event_namespaces(struct task_struct *tsk) { } | ||
| 1318 | static inline void perf_event_fork(struct task_struct *tsk) { } | 1320 | static inline void perf_event_fork(struct task_struct *tsk) { } |
| 1319 | static inline void perf_event_init(void) { } | 1321 | static inline void perf_event_init(void) { } |
| 1320 | static inline int perf_swevent_get_recursion_context(void) { return -1; } | 1322 | static inline int perf_swevent_get_recursion_context(void) { return -1; } |
