aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-05-21 09:11:34 -0400
committerIngo Molnar <mingo@elte.hu>2010-06-09 05:12:33 -0400
commitecc55f84b2e9741f29daa787ded93986df6cbe17 (patch)
tree9da1012eb14faf8133e7e432b0da581ed55de6ee /include/linux/perf_event.h
parente768aee89c687a50e6a2110e30c5cae1fbf0d2da (diff)
perf, trace: Inline perf_swevent_put_recursion_context()
Inline perf_swevent_put_recursion_context into perf_tp_event(), this shrinks the per trace template code footprint and saves a function call. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <new-submission> Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'include/linux/perf_event.h')
-rw-r--r--include/linux/perf_event.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/perf_event.h b/include/linux/perf_event.h
index 5d0266d94985..c691a0b27bcd 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -1001,7 +1001,7 @@ static inline bool perf_paranoid_kernel(void)
1001extern void perf_event_init(void); 1001extern void perf_event_init(void);
1002extern void perf_tp_event(u64 addr, u64 count, void *record, 1002extern void perf_tp_event(u64 addr, u64 count, void *record,
1003 int entry_size, struct pt_regs *regs, 1003 int entry_size, struct pt_regs *regs,
1004 struct hlist_head *head); 1004 struct hlist_head *head, int rctx);
1005extern void perf_bp_event(struct perf_event *event, void *data); 1005extern void perf_bp_event(struct perf_event *event, void *data);
1006 1006
1007#ifndef perf_misc_flags 1007#ifndef perf_misc_flags