mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
tracing: Rename ftrace_event_name() to trace_event_name()
The name "ftrace" really refers to the function hook infrastructure. It is not about the trace_events. ftrace_event_name() returns the name of an event tracepoint, has nothing to do with function tracing. Rename it to trace_event_name(). Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
609a740452
commit
687fcc4aee
6 changed files with 31 additions and 31 deletions
|
|
@ -304,7 +304,7 @@ struct trace_event_call {
|
|||
};
|
||||
|
||||
static inline const char *
|
||||
ftrace_event_name(struct trace_event_call *call)
|
||||
trace_event_name(struct trace_event_call *call)
|
||||
{
|
||||
if (call->flags & TRACE_EVENT_FL_TRACEPOINT)
|
||||
return call->tp ? call->tp->name : NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue