1. 30 4月, 2011 5 次提交
    • S
      ftrace: Remove FTRACE_FL_CONVERTED flag · d2c8c3ea
      Steven Rostedt 提交于
      Since we disable all function tracer processing if we detect
      that a modification of a instruction had failed, we do not need
      to track that the record has failed. No more ftrace processing
      is allowed, and the FTRACE_FL_CONVERTED flag is pointless.
      
      The FTRACE_FL_CONVERTED flag was used to denote records that were
      successfully converted from mcount calls into nops. But if a single
      record fails, all of ftrace is disabled.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      d2c8c3ea
    • S
      ftrace: Remove FTRACE_FL_FAILED flag · 45a4a237
      Steven Rostedt 提交于
      Since we disable all function tracer processing if we detect
      that a modification of a instruction had failed, we do not need
      to track that the record has failed. No more ftrace processing
      is allowed, and the FTRACE_FL_FAILED flag is pointless.
      
      Removing this flag simplifies some of the code, but some ftrace_disabled
      checks needed to be added or move around a little.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      45a4a237
    • S
      ftrace: Remove failures file · 3499e461
      Steven Rostedt 提交于
      The failures file in the debugfs tracing directory would list the
      functions that failed to convert when the old dead ftrace daemon
      tried to update code but failed. Since this code is now dead along
      with the daemon the failures file is useless. Remove it.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      3499e461
    • S
      ftrace: Remove unnecessary disabling of irqs · 8ab2b7ef
      Steven Rostedt 提交于
      The disabling of interrupts around ftrace_update_code() was used
      to protect against the evil ftrace daemon from years past. But that
      daemon has long been killed. It is safe to keep interrupts enabled
      while updating the initial mcount into nops.
      
      The ftrace_mutex is also held which keeps other users at bay.
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      8ab2b7ef
    • S
      ftrace: Make FTRACE_WARN_ON() work in if condition · 0778d9ad
      Steven Rostedt 提交于
      Let FTRACE_WARN_ON() be used as a stand alone statement or
      inside a conditional: if (FTRACE_WARN_ON(x))
      Signed-off-by: NSteven Rostedt <rostedt@goodmis.org>
      0778d9ad
  2. 27 4月, 2011 1 次提交
  3. 24 4月, 2011 1 次提交
  4. 22 4月, 2011 13 次提交
  5. 21 4月, 2011 16 次提交
  6. 20 4月, 2011 4 次提交