diff options
Diffstat (limited to 'include/linux/perf_counter.h')
-rw-r--r-- | include/linux/perf_counter.h | 4 |
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 | ||
616 | extern void perf_counter_comm(struct task_struct *tsk); | 616 | extern void perf_counter_comm(struct task_struct *tsk); |
617 | 617 | ||
618 | extern 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 | ||
620 | struct perf_callchain_entry { | 622 | struct perf_callchain_entry { |
@@ -668,6 +670,8 @@ perf_counter_munmap(unsigned long addr, unsigned long len, | |||
668 | 670 | ||
669 | static inline void perf_counter_comm(struct task_struct *tsk) { } | 671 | static inline void perf_counter_comm(struct task_struct *tsk) { } |
670 | static inline void perf_counter_init(void) { } | 672 | static inline void perf_counter_init(void) { } |
673 | static 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__ */ |