diff options
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r-- | include/linux/perf_event.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h index f9828a48f16a..b35a61a481fa 100644 --- a/include/linux/perf_event.h +++ b/include/linux/perf_event.h | |||
@@ -634,9 +634,6 @@ struct perf_event_context { | |||
634 | int nr_cgroups; /* cgroup evts */ | 634 | int nr_cgroups; /* cgroup evts */ |
635 | void *task_ctx_data; /* pmu specific data */ | 635 | void *task_ctx_data; /* pmu specific data */ |
636 | struct rcu_head rcu_head; | 636 | struct rcu_head rcu_head; |
637 | |||
638 | struct delayed_work orphans_remove; | ||
639 | bool orphans_remove_sched; | ||
640 | }; | 637 | }; |
641 | 638 | ||
642 | /* | 639 | /* |
@@ -729,7 +726,7 @@ extern int perf_event_init_task(struct task_struct *child); | |||
729 | extern void perf_event_exit_task(struct task_struct *child); | 726 | extern void perf_event_exit_task(struct task_struct *child); |
730 | extern void perf_event_free_task(struct task_struct *task); | 727 | extern void perf_event_free_task(struct task_struct *task); |
731 | extern void perf_event_delayed_put(struct task_struct *task); | 728 | extern void perf_event_delayed_put(struct task_struct *task); |
732 | extern struct perf_event *perf_event_get(unsigned int fd); | 729 | extern struct file *perf_event_get(unsigned int fd); |
733 | extern const struct perf_event_attr *perf_event_attrs(struct perf_event *event); | 730 | extern const struct perf_event_attr *perf_event_attrs(struct perf_event *event); |
734 | extern void perf_event_print_debug(void); | 731 | extern void perf_event_print_debug(void); |
735 | extern void perf_pmu_disable(struct pmu *pmu); | 732 | extern void perf_pmu_disable(struct pmu *pmu); |
@@ -1044,7 +1041,7 @@ extern void perf_swevent_put_recursion_context(int rctx); | |||
1044 | extern u64 perf_swevent_set_period(struct perf_event *event); | 1041 | extern u64 perf_swevent_set_period(struct perf_event *event); |
1045 | extern void perf_event_enable(struct perf_event *event); | 1042 | extern void perf_event_enable(struct perf_event *event); |
1046 | extern void perf_event_disable(struct perf_event *event); | 1043 | extern void perf_event_disable(struct perf_event *event); |
1047 | extern int __perf_event_disable(void *info); | 1044 | extern void perf_event_disable_local(struct perf_event *event); |
1048 | extern void perf_event_task_tick(void); | 1045 | extern void perf_event_task_tick(void); |
1049 | #else /* !CONFIG_PERF_EVENTS: */ | 1046 | #else /* !CONFIG_PERF_EVENTS: */ |
1050 | static inline void * | 1047 | static inline void * |
@@ -1070,7 +1067,7 @@ static inline int perf_event_init_task(struct task_struct *child) { return 0; } | |||
1070 | static inline void perf_event_exit_task(struct task_struct *child) { } | 1067 | static inline void perf_event_exit_task(struct task_struct *child) { } |
1071 | static inline void perf_event_free_task(struct task_struct *task) { } | 1068 | static inline void perf_event_free_task(struct task_struct *task) { } |
1072 | static inline void perf_event_delayed_put(struct task_struct *task) { } | 1069 | static inline void perf_event_delayed_put(struct task_struct *task) { } |
1073 | static inline struct perf_event *perf_event_get(unsigned int fd) { return ERR_PTR(-EINVAL); } | 1070 | static inline struct file *perf_event_get(unsigned int fd) { return ERR_PTR(-EINVAL); } |
1074 | static inline const struct perf_event_attr *perf_event_attrs(struct perf_event *event) | 1071 | static inline const struct perf_event_attr *perf_event_attrs(struct perf_event *event) |
1075 | { | 1072 | { |
1076 | return ERR_PTR(-EINVAL); | 1073 | return ERR_PTR(-EINVAL); |