diff options
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/perf_event.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index c66b34f75eea..a494e7501292 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
| @@ -746,10 +746,10 @@ extern int perf_max_events; | |||
| 746 | 746 | ||
| 747 | extern const struct pmu *hw_perf_event_init(struct perf_event *event); | 747 | extern const struct pmu *hw_perf_event_init(struct perf_event *event); |
| 748 | 748 | ||
| 749 | extern void perf_event_task_sched_in(struct task_struct *task, int cpu); | 749 | extern void perf_event_task_sched_in(struct task_struct *task); |
| 750 | extern void perf_event_task_sched_out(struct task_struct *task, | 750 | extern void perf_event_task_sched_out(struct task_struct *task, |
| 751 | struct task_struct *next, int cpu); | 751 | struct task_struct *next); |
| 752 | extern void perf_event_task_tick(struct task_struct *task, int cpu); | 752 | extern void perf_event_task_tick(struct task_struct *task); |
| 753 | extern int perf_event_init_task(struct task_struct *child); | 753 | extern int perf_event_init_task(struct task_struct *child); |
| 754 | extern void perf_event_exit_task(struct task_struct *child); | 754 | extern void perf_event_exit_task(struct task_struct *child); |
| 755 | extern void perf_event_free_task(struct task_struct *task); | 755 | extern void perf_event_free_task(struct task_struct *task); |
| @@ -870,12 +870,12 @@ extern void perf_event_enable(struct perf_event *event); | |||
| 870 | extern void perf_event_disable(struct perf_event *event); | 870 | extern void perf_event_disable(struct perf_event *event); |
| 871 | #else | 871 | #else |
| 872 | static inline void | 872 | static inline void |
| 873 | perf_event_task_sched_in(struct task_struct *task, int cpu) { } | 873 | perf_event_task_sched_in(struct task_struct *task) { } |
| 874 | static inline void | 874 | static inline void |
| 875 | perf_event_task_sched_out(struct task_struct *task, | 875 | perf_event_task_sched_out(struct task_struct *task, |
| 876 | struct task_struct *next, int cpu) { } | 876 | struct task_struct *next) { } |
| 877 | static inline void | 877 | static inline void |
| 878 | perf_event_task_tick(struct task_struct *task, int cpu) { } | 878 | perf_event_task_tick(struct task_struct *task) { } |
| 879 | static inline int perf_event_init_task(struct task_struct *child) { return 0; } | 879 | static inline int perf_event_init_task(struct task_struct *child) { return 0; } |
| 880 | static inline void perf_event_exit_task(struct task_struct *child) { } | 880 | static inline void perf_event_exit_task(struct task_struct *child) { } |
| 881 | static inline void perf_event_free_task(struct task_struct *task) { } | 881 | static inline void perf_event_free_task(struct task_struct *task) { } |
