summaryrefslogtreecommitdiff
path: root/include/trace/perf.h
diff options
context:
space:
mode:
authorSteven Rostedt (Red Hat) <rostedt@goodmis.org>2015-05-13 22:21:25 +0300
committerSteven Rostedt <rostedt@goodmis.org>2015-05-13 22:25:39 +0300
commit09a5059aa1a2cbf8c8993e61b013cc83a0dd5833 (patch)
tree751b58cfad60eab0f637ea4966888b7828bd94de /include/trace/perf.h
parent5d6ad960a71f0b36d95d74ef93285733b9f62f59 (diff)
downloadlinux-09a5059aa1a2cbf8c8993e61b013cc83a0dd5833.tar.xz
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>
Diffstat (limited to 'include/trace/perf.h')
-rw-r--r--include/trace/perf.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/trace/perf.h b/include/trace/perf.h
index 792eca92c43a..c9b831f3da23 100644
--- a/include/trace/perf.h
+++ b/include/trace/perf.h
@@ -159,7 +159,7 @@ ftrace_raw_event_##call(void *__data, proto) \
struct ftrace_raw_##call *entry; \
int __data_size; \
\
- if (ftrace_trigger_soft_disabled(trace_file)) \
+ if (trace_trigger_soft_disabled(trace_file)) \
return; \
\
__data_size = ftrace_get_offsets_##call(&__data_offsets, args); \