aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/linux/perf_event.h12
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
747extern const struct pmu *hw_perf_event_init(struct perf_event *event); 747extern const struct pmu *hw_perf_event_init(struct perf_event *event);
748 748
749extern void perf_event_task_sched_in(struct task_struct *task, int cpu); 749extern void perf_event_task_sched_in(struct task_struct *task);
750extern void perf_event_task_sched_out(struct task_struct *task, 750extern void perf_event_task_sched_out(struct task_struct *task,
751 struct task_struct *next, int cpu); 751 struct task_struct *next);
752extern void perf_event_task_tick(struct task_struct *task, int cpu); 752extern void perf_event_task_tick(struct task_struct *task);
753extern int perf_event_init_task(struct task_struct *child); 753extern int perf_event_init_task(struct task_struct *child);
754extern void perf_event_exit_task(struct task_struct *child); 754extern void perf_event_exit_task(struct task_struct *child);
755extern void perf_event_free_task(struct task_struct *task); 755extern void perf_event_free_task(struct task_struct *task);
@@ -870,12 +870,12 @@ extern void perf_event_enable(struct perf_event *event);
870extern void perf_event_disable(struct perf_event *event); 870extern void perf_event_disable(struct perf_event *event);
871#else 871#else
872static inline void 872static inline void
873perf_event_task_sched_in(struct task_struct *task, int cpu) { } 873perf_event_task_sched_in(struct task_struct *task) { }
874static inline void 874static inline void
875perf_event_task_sched_out(struct task_struct *task, 875perf_event_task_sched_out(struct task_struct *task,
876 struct task_struct *next, int cpu) { } 876 struct task_struct *next) { }
877static inline void 877static inline void
878perf_event_task_tick(struct task_struct *task, int cpu) { } 878perf_event_task_tick(struct task_struct *task) { }
879static inline int perf_event_init_task(struct task_struct *child) { return 0; } 879static inline int perf_event_init_task(struct task_struct *child) { return 0; }
880static inline void perf_event_exit_task(struct task_struct *child) { } 880static inline void perf_event_exit_task(struct task_struct *child) { }
881static inline void perf_event_free_task(struct task_struct *task) { } 881static inline void perf_event_free_task(struct task_struct *task) { }