aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index c1173520f14d..93bf53aa50e5 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -889,6 +889,7 @@ extern void perf_event_task_sched_out(struct task_struct *task, struct task_stru
889extern int perf_event_init_task(struct task_struct *child); 889extern int perf_event_init_task(struct task_struct *child);
890extern void perf_event_exit_task(struct task_struct *child); 890extern void perf_event_exit_task(struct task_struct *child);
891extern void perf_event_free_task(struct task_struct *task); 891extern void perf_event_free_task(struct task_struct *task);
892extern void perf_event_delayed_put(struct task_struct *task);
892extern void set_perf_event_pending(void); 893extern void set_perf_event_pending(void);
893extern void perf_event_do_pending(void); 894extern void perf_event_do_pending(void);
894extern void perf_event_print_debug(void); 895extern void perf_event_print_debug(void);
@@ -1067,6 +1068,7 @@ perf_event_task_sched_out(struct task_struct *task,
1067static inline int perf_event_init_task(struct task_struct *child) { return 0; } 1068static inline int perf_event_init_task(struct task_struct *child) { return 0; }
1068static inline void perf_event_exit_task(struct task_struct *child) { } 1069static inline void perf_event_exit_task(struct task_struct *child) { }
1069static inline void perf_event_free_task(struct task_struct *task) { } 1070static inline void perf_event_free_task(struct task_struct *task) { }
1071static inline void perf_event_delayed_put(struct task_struct *task) { }
1070static inline void perf_event_do_pending(void) { } 1072static inline void perf_event_do_pending(void) { }
1071static inline void perf_event_print_debug(void) { } 1073static inline void perf_event_print_debug(void) { }
1072static inline int perf_event_task_disable(void) { return -EINVAL; } 1074static inline int perf_event_task_disable(void) { return -EINVAL; }