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.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/perf_counter.h b/include/linux/perf_counter.h
index 0e57d8cc5a3d..deb9acf9ad2a 100644
--- a/include/linux/perf_counter.h
+++ b/include/linux/perf_counter.h
@@ -615,6 +615,8 @@ extern void perf_counter_munmap(unsigned long addr, unsigned long len,
615 615
616extern void perf_counter_comm(struct task_struct *tsk); 616extern void perf_counter_comm(struct task_struct *tsk);
617 617
618extern void perf_counter_task_migration(struct task_struct *task, int cpu);
619
618#define MAX_STACK_DEPTH 255 620#define MAX_STACK_DEPTH 255
619 621
620struct perf_callchain_entry { 622struct perf_callchain_entry {
@@ -668,6 +670,8 @@ perf_counter_munmap(unsigned long addr, unsigned long len,
668 670
669static inline void perf_counter_comm(struct task_struct *tsk) { } 671static inline void perf_counter_comm(struct task_struct *tsk) { }
670static inline void perf_counter_init(void) { } 672static inline void perf_counter_init(void) { }
673static inline void perf_counter_task_migration(struct task_struct *task,
674 int cpu) { }
671#endif 675#endif
672 676
673#endif /* __KERNEL__ */ 677#endif /* __KERNEL__ */