summaryrefslogtreecommitdiffstats
path: root/include/linux/perf_event.h
diff options
context:
space:
mode:
authorPeter Zijlstra <a.p.zijlstra@chello.nl>2010-05-21 15:11:34 +0200
committerIngo Molnar <mingo@elte.hu>2010-06-09 11:12:33 +0200
commitecc55f84b2e9741f29daa787ded93986df6cbe17 (patch)
tree9da1012eb14faf8133e7e432b0da581ed55de6ee /include/linux/perf_event.h
parente768aee89c687a50e6a2110e30c5cae1fbf0d2da (diff)
downloadop-kernel-dev-ecc55f84b2e9741f29daa787ded93986df6cbe17.zip
op-kernel-dev-ecc55f84b2e9741f29daa787ded93986df6cbe17.tar.gz
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 5d0266d..c691a0b 100644
--- a/include/linux/perf_event.h
+++ b/include/linux/perf_event.h
@@ -1001,7 +1001,7 @@ static inline bool perf_paranoid_kernel(void)
extern void perf_event_init(void);
extern void perf_tp_event(u64 addr, u64 count, void *record,
int entry_size, struct pt_regs *regs,
- struct hlist_head *head);
+ struct hlist_head *head, int rctx);
extern void perf_bp_event(struct perf_event *event, void *data);
#ifndef perf_misc_flags
OpenPOWER on IntegriCloud