1. 30 Apr, 2011 5 commits
    • Steven Rostedt's avatar
      ftrace: Remove FTRACE_FL_CONVERTED flag · d2c8c3ea
      Steven Rostedt authored
      
      
      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: default avatarSteven Rostedt <rostedt@goodmis.org>
      d2c8c3ea
    • Steven Rostedt's avatar
      ftrace: Remove FTRACE_FL_FAILED flag · 45a4a237
      Steven Rostedt authored
      
      
      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: default avatarSteven Rostedt <rostedt@goodmis.org>
      45a4a237
    • Steven Rostedt's avatar
      ftrace: Remove failures file · 3499e461
      Steven Rostedt authored
      
      
      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: default avatarSteven Rostedt <rostedt@goodmis.org>
      3499e461
    • Steven Rostedt's avatar
      ftrace: Remove unnecessary disabling of irqs · 8ab2b7ef
      Steven Rostedt authored
      
      
      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: default avatarSteven Rostedt <rostedt@goodmis.org>
      8ab2b7ef
    • Steven Rostedt's avatar
      ftrace: Make FTRACE_WARN_ON() work in if condition · 0778d9ad
      Steven Rostedt authored
      
      
      Let FTRACE_WARN_ON() be used as a stand alone statement or
      inside a conditional: if (FTRACE_WARN_ON(x))
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      0778d9ad
  2. 27 Apr, 2011 1 commit
  3. 24 Apr, 2011 1 commit
  4. 22 Apr, 2011 2 commits
  5. 21 Apr, 2011 25 commits
  6. 20 Apr, 2011 6 commits