Skip to content

ftrace v2: function return and function playing nice together

Steven Rostedt lkml 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ftrace: use code patching for ftrace return tracerarch/x86/kernel/entry_32.S arch/x86/kernel/ftrace.c include/linux/ftrace.h +1 more+70 -200 replies
2/2ftrace: let function tracing and function return run togetherkernel/trace/ftrace.c+0 -200 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] ftrace v2: function return and function playing nice together

Ingo,

I changed the last two patches of my previous post. The first patch I did not change, so I am not adding it to this posting.

The changes made to this is compiler warnings.

The first patch I added "return 0;" to the stubs.

The second patch, I removed a hanging "out:" label.

The following patches are in:

git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace.git

branch: tip/devel

Steven Rostedt (2):
ftrace: use code patching for ftrace return tracer
ftrace: let function tracing and function return run together

----

 arch/x86/kernel/entry_32.S |    5 ++++
 arch/x86/kernel/ftrace.c   |   46 ++++++++++++++++++++++++++++++++++++-
 include/linux/ftrace.h     |    5 ++++
 kernel/trace/ftrace.c      |   54 ++++++++++++-------------------------------
 4 files changed, 70 insertions(+), 40 deletions(-)