diff options
author | Steven Whitehouse <swhiteho@redhat.com> | 2009-04-15 11:55:05 -0400 |
---|---|---|
committer | Ingo Molnar <mingo@elte.hu> | 2009-04-15 19:10:04 -0400 |
commit | ff7b1b4f000cea84f071c1b6aa2918b2119d66f1 (patch) | |
tree | ef380411dc3b818e9e16d0bd7e83a57c1cf6c154 /kernel/perf_counter.c | |
parent | 0f3fd87ce43727d6b8573191ce89e874533b1429 (diff) |
perfcounters: export perf_tpcounter_event
Needed for modular tracepoint support.
Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
Diffstat (limited to 'kernel/perf_counter.c')
-rw-r--r-- | kernel/perf_counter.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/perf_counter.c b/kernel/perf_counter.c index 7f9521c3c01b..09396098dd0d 100644 --- a/kernel/perf_counter.c +++ b/kernel/perf_counter.c | |||
@@ -2590,6 +2590,7 @@ void perf_tpcounter_event(int event_id) | |||
2590 | 2590 | ||
2591 | __perf_swcounter_event(PERF_TYPE_TRACEPOINT, event_id, 1, 1, regs, 0); | 2591 | __perf_swcounter_event(PERF_TYPE_TRACEPOINT, event_id, 1, 1, regs, 0); |
2592 | } | 2592 | } |
2593 | EXPORT_SYMBOL_GPL(perf_tpcounter_event); | ||
2593 | 2594 | ||
2594 | extern int ftrace_profile_enable(int); | 2595 | extern int ftrace_profile_enable(int); |
2595 | extern void ftrace_profile_disable(int); | 2596 | extern void ftrace_profile_disable(int); |