mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-25 14:13:01 -04:00
tracing: Rename ftrace_trigger_soft_disabled() to trace_trigger_soft_disabled()
The name "ftrace" really refers to the function hook infrastructure. It is not about the trace_events. The ftrace_trigger_soft_disabled() tests if a trace_event is soft disabled (called but not traced), and returns true if it is. It has nothing to do with function tracing and should be renamed. Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
This commit is contained in:
parent
5d6ad960a7
commit
09a5059aa1
5 changed files with 8 additions and 8 deletions
|
|
@ -426,7 +426,7 @@ extern void event_triggers_post_call(struct trace_event_file *file,
|
|||
enum event_trigger_type tt);
|
||||
|
||||
/**
|
||||
* ftrace_trigger_soft_disabled - do triggers and test if soft disabled
|
||||
* trace_trigger_soft_disabled - do triggers and test if soft disabled
|
||||
* @file: The file pointer of the event to test
|
||||
*
|
||||
* If any triggers without filters are attached to this event, they
|
||||
|
|
@ -435,7 +435,7 @@ extern void event_triggers_post_call(struct trace_event_file *file,
|
|||
* otherwise false.
|
||||
*/
|
||||
static inline bool
|
||||
ftrace_trigger_soft_disabled(struct trace_event_file *file)
|
||||
trace_trigger_soft_disabled(struct trace_event_file *file)
|
||||
{
|
||||
unsigned long eflags = file->flags;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue