Skip to content

Commit

Permalink
perfcounters: export perf_tpcounter_event
Browse files Browse the repository at this point in the history
Needed for modular tracepoint support.

Signed-off-by: Steven Whitehouse <swhiteho@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
  • Loading branch information
Steven Whitehouse authored and Ingo Molnar committed Apr 15, 2009
1 parent 0f3fd87 commit ff7b1b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions kernel/perf_counter.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit ff7b1b4

Please sign in to comment.