1. 17 Sep, 2009 3 commits
    • Steven Rostedt's avatar
      tracing: switch function prints from %pf to %ps · b375a11a
      Steven Rostedt authored
      For direct function pointers (like what mcount provides) PowerPC64
      requires the use of %ps, otherwise nothing is printed.
      
      This patch converts all prints of functions retrieved through mcount
      to use the %ps format from the %pf.
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      b375a11a
    • Steven Rostedt's avatar
      vsprintf: add %ps that is the same as %pS but is like %pf · 91adcd2c
      Steven Rostedt authored
      On PowerPC64 function pointers do not point directly at the functions,
      but instead point to pointers to the functions. The output of %pF expects
      to point to a pointer to the function, whereas %pS will show the function
      itself.
      
      mcount returns the direct pointer to the function and not the pointer to
      the pointer. Thus %pS must be used to show this. The function tracer
      requires printing of the functions without offsets and uses the %pf
      instead.
      
       %pF produces run_local_timers+0x4/0x1f
       %pf produces just run_local_timers
      
      For PowerPC64, we need to use the direct pointer, and we only have
      %pS which will produce .run_local_timers+0x4/0x1f
      
      This patch creates a %ps that matches the %pf as %pS matches %pF.
      
      Cc: Linus Torvalds <torvalds@linux-foundation.org>
      Cc: Zhao Lei <zhaolei@cn.fujitsu.com>
      Acked-by: default avatarBenjamin Herrenschmidt <benh@kernel.crashing.org>
      Signed-off-by: default avatarSteven Rostedt <rostedt@goodmis.org>
      91adcd2c
    • Ingo Molnar's avatar
      Merge branch 'linus' into tracing/core · 45bd00d3
      Ingo Molnar authored
      Merge reason: Pick up kernel/softirq.c update for dependent fix.
      Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
      45bd00d3
  2. 16 Sep, 2009 25 commits
  3. 15 Sep, 2009 12 commits