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>
This commit is contained in:
Steven Whitehouse 2009-04-15 16:55:05 +01:00 committed by Ingo Molnar
parent 0f3fd87ce4
commit ff7b1b4f00

View File

@ -2590,6 +2590,7 @@ void perf_tpcounter_event(int event_id)
__perf_swcounter_event(PERF_TYPE_TRACEPOINT, event_id, 1, 1, regs, 0);
}
EXPORT_SYMBOL_GPL(perf_tpcounter_event);
extern int ftrace_profile_enable(int);
extern void ftrace_profile_disable(int);