From 5d6ad960a71f0b36d95d74ef93285733b9f62f59 Mon Sep 17 00:00:00 2001 From: "Steven Rostedt (Red Hat)" Date: Wed, 13 May 2015 15:12:33 -0400 Subject: 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 --- include/trace/perf.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'include/trace/perf.h') diff --git a/include/trace/perf.h b/include/trace/perf.h index 0dbdbfe0ec41..792eca92c43a 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 @@ * { ; } <-- 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)) -- cgit v1.2.3