diff options
author | Steven Rostedt (Red Hat) <rostedt@goodmis.org> | 2015-05-13 15:12:33 -0400 |
---|---|---|
committer | Steven Rostedt <rostedt@goodmis.org> | 2015-05-13 15:24:57 -0400 |
commit | 5d6ad960a71f0b36d95d74ef93285733b9f62f59 (patch) | |
tree | 284a9929cd503241461b3bae00938a4e66a002c4 /include/trace/perf.h | |
parent | 7967b3e0c40ff72fb2cf44d3b50e2cb388ef6c67 (diff) | |
download | op-kernel-dev-5d6ad960a71f0b36d95d74ef93285733b9f62f59.zip op-kernel-dev-5d6ad960a71f0b36d95d74ef93285733b9f62f59.tar.gz |
tracing: Rename FTRACE_EVENT_FL_* flags to EVENT_FILE_FL_*
The name "ftrace" really refers to the function hook infrastructure. It
is not about the trace_events. The FTRACE_EVENT_FL_* flags are flags to
do with the trace_event files in the tracefs directory. They are not related
to function tracing. Rename them to a more descriptive name.
Signed-off-by: Steven Rostedt <rostedt@goodmis.org>
Diffstat (limited to 'include/trace/perf.h')
-rw-r--r-- | include/trace/perf.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/trace/perf.h b/include/trace/perf.h index 0dbdbfe..792eca9 100644 --- a/include/trace/perf.h +++ b/include/trace/perf.h @@ -21,10 +21,10 @@ * int __data_size; * int pc; * - * if (!(eflags & FTRACE_EVENT_FL_TRIGGER_COND)) { - * if (eflags & FTRACE_EVENT_FL_TRIGGER_MODE) + * if (!(eflags & EVENT_FILE_FL_TRIGGER_COND)) { + * if (eflags & EVENT_FILE_FL_TRIGGER_MODE) * event_triggers_call(trace_file, NULL); - * if (eflags & FTRACE_EVENT_FL_SOFT_DISABLED) + * if (eflags & EVENT_FILE_FL_SOFT_DISABLED) * return; * } * @@ -44,10 +44,10 @@ * { <assign>; } <-- Here we assign the entries by the __field and * __array macros. * - * if (eflags & FTRACE_EVENT_FL_TRIGGER_COND) + * if (eflags & EVENT_FILE_FL_TRIGGER_COND) * __tt = event_triggers_call(trace_file, entry); * - * if (test_bit(FTRACE_EVENT_FL_SOFT_DISABLED_BIT, + * if (test_bit(EVENT_FILE_FL_SOFT_DISABLED_BIT, * &trace_file->flags)) * ring_buffer_discard_commit(buffer, event); * else if (!filter_check_discard(trace_file, entry, buffer, event)) |