mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-24 21:54:34 -04:00
tracing: Rename (un)register_ftrace_event() to (un)register_trace_event()
The name "ftrace" really refers to the function hook infrastructure. It is not about the trace_events. The functions (un)register_ftrace_event() is really about trace_events, and the name should be register_trace_event() instead. Also renamed ftrace_event_reg() to trace_event_reg() for the same reason. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
645df987f7
commit
9023c93090
10 changed files with 29 additions and 29 deletions
|
|
@ -132,8 +132,8 @@ struct trace_event {
|
|||
struct trace_event_functions *funcs;
|
||||
};
|
||||
|
||||
extern int register_ftrace_event(struct trace_event *event);
|
||||
extern int unregister_ftrace_event(struct trace_event *event);
|
||||
extern int register_trace_event(struct trace_event *event);
|
||||
extern int unregister_trace_event(struct trace_event *event);
|
||||
|
||||
/* Return values for print_line callback */
|
||||
enum print_line_t {
|
||||
|
|
@ -216,7 +216,7 @@ struct ftrace_event_class {
|
|||
int (*raw_init)(struct ftrace_event_call *);
|
||||
};
|
||||
|
||||
extern int ftrace_event_reg(struct ftrace_event_call *event,
|
||||
extern int trace_event_reg(struct ftrace_event_call *event,
|
||||
enum trace_reg type, void *data);
|
||||
|
||||
struct ftrace_event_buffer {
|
||||
|
|
|
|||
Loading…
Reference in a new issue