tracing: Rename FTRACE_EVENT_FL_* flags to EVENT_FILE_FL_*
[firefly-linux-kernel-4.4.55.git] / include / trace / perf.h
index 0dbdbfe0ec411de3e06af9e301fefa9f16c7c74c..792eca92c43a0ba435a49022161de6bb290bf16e 100644 (file)
  *     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;
  *     }
  *
  *     { <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))