aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_counter.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r--include/linux/perf_counter.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 717bf3b59ba4..519a41bba249 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -579,6 +579,7 @@ extern void perf_counter_task_sched_out(struct task_struct *task,
579extern void perf_counter_task_tick(struct task_struct *task, int cpu); 579extern void perf_counter_task_tick(struct task_struct *task, int cpu);
580extern int perf_counter_init_task(struct task_struct *child); 580extern int perf_counter_init_task(struct task_struct *child);
581extern void perf_counter_exit_task(struct task_struct *child); 581extern void perf_counter_exit_task(struct task_struct *child);
582extern void perf_counter_free_task(struct task_struct *task);
582extern void perf_counter_do_pending(void); 583extern void perf_counter_do_pending(void);
583extern void perf_counter_print_debug(void); 584extern void perf_counter_print_debug(void);
584extern void __perf_disable(void); 585extern void __perf_disable(void);
@@ -644,6 +645,7 @@ static inline void
644perf_counter_task_tick(struct task_struct *task, int cpu) { } 645perf_counter_task_tick(struct task_struct *task, int cpu) { }
645static inline int perf_counter_init_task(struct task_struct *child) { return 0; } 646static inline int perf_counter_init_task(struct task_struct *child) { return 0; }
646static inline void perf_counter_exit_task(struct task_struct *child) { } 647static inline void perf_counter_exit_task(struct task_struct *child) { }
648static inline void perf_counter_free_task(struct task_struct *task) { }
647static inline void perf_counter_do_pending(void) { } 649static inline void perf_counter_do_pending(void) { }
648static inline void perf_counter_print_debug(void) { } 650static inline void perf_counter_print_debug(void) { }
649static inline void perf_disable(void) { } 651static inline void perf_disable(void) { }