1. 13 10月, 2009 2 次提交
  2. 24 8月, 2009 1 次提交
  3. 11 7月, 2009 1 次提交
  4. 06 7月, 2009 1 次提交
  5. 12 6月, 2009 1 次提交
    • M
      sh: Fix dynamic ftrace's NOP action. · 9e28c46b
      Matt Fleming 提交于
      Ftrace on sh handles nop'ing out trace function calls differently than
      other architectures. Instead of inserting NOP instructions in place of
      the call to the function tracer we branch over the call instructions
      and continue executing the main body of the function.
      
      This patch fixes a bug in the implementation of ftrace_modify_code()
      where we check that the old value of the code we're about to replace
      is an expected one. In the ftrace_make_call() code path
      ftrace_modify_code() was comparing the old instruction value with NOP
      instructions. The compare was failing because we never actually insert
      NOP instructions. It makes sense to just get rid of the NOP
      instructions in ftrace_nop and compare the old code with the address
      of the function body if we're expecting ftrace to have nop'd out the
      function trace call.
      Signed-off-by: NMatt Fleming <matt@console-pimps.org>
      9e28c46b
  6. 11 6月, 2009 1 次提交
  7. 22 12月, 2008 2 次提交