aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 358880404b42..4db61dded388 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -976,7 +976,15 @@ extern int perf_unregister_guest_info_callbacks(struct perf_guest_info_callbacks
976extern void perf_event_comm(struct task_struct *tsk); 976extern void perf_event_comm(struct task_struct *tsk);
977extern void perf_event_fork(struct task_struct *tsk); 977extern void perf_event_fork(struct task_struct *tsk);
978 978
979extern struct perf_callchain_entry *perf_callchain(struct pt_regs *regs); 979/* Callchains */
980DECLARE_PER_CPU(struct perf_callchain_entry, perf_callchain_entry);
981
982extern void perf_callchain_user(struct perf_callchain_entry *entry,
983 struct pt_regs *regs);
984extern void perf_callchain_kernel(struct perf_callchain_entry *entry,
985 struct pt_regs *regs);
986extern struct perf_callchain_entry *perf_callchain_buffer(void);
987
980 988
981static inline void 989static inline void
982perf_callchain_store(struct perf_callchain_entry *entry, u64 ip) 990perf_callchain_store(struct perf_callchain_entry *entry, u64 ip)