Skip to content

ftrace: updates to tip

Steven Rostedt lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 26 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2ftrace: fix trace_outputkernel/trace/trace_output.c kernel/trace/trace_output.h+33 -362 replies
2/2ftrace: add stack trace to function tracerkernel/trace/trace.c kernel/trace/trace.h kernel/trace/trace_functions.c+108 -94 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: updates to tip

Ingo,

The first patch is critical, and needs to stay with trace_output.c Not that critical since trace_output.c is not in mainline yet.

The second patch gives the ability to stack trace functions. I've been leery about adding this and still keep it a separate option from the "stacktrace" that already exists. This is because when enabled with no filtering, the lag between typing and seeing what is typed can be up to 10 seconds or more.

I made the function stack trace an option attached to the function tracer, so it must be enabled after the function tracer has been set. This still needs to be updated in ftrace.txt.

The following patches are in:

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

branch: tip/devel

Lai Jiangshan (1):
ftrace: fix trace_output

Steven Rostedt (1):
ftrace: add stack trace to function tracer

----

 kernel/trace/trace.c           |   26 ++++++++----
 kernel/trace/trace.h           |    7 +++
 kernel/trace/trace_functions.c |   84 ++++++++++++++++++++++++++++++++++++++++
 kernel/trace/trace_output.c    |   65 +++++++++++++++----------------
 kernel/trace/trace_output.h    |    4 +-
 5 files changed, 141 insertions(+), 45 deletions(-)