Skip to content

ftrace: updates for tip

Steven Rostedt lkml 1 version Applied

Status from this message: applied to tip/tracing/ftrace, thanks Steve!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 10 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3trace: disable branch tracer on alphakernel/trace/Kconfig+2 -01 reply
2/3trace: fix default boot up tracerkernel/trace/trace.c+54 -67 replies
3/3trace: let boot trace be chosen by command linekernel/trace/Kconfig kernel/trace/trace.c kernel/trace/trace_boot.c+11 -122 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/3] ftrace: updates for tip

Ingo,

The first patch here is to disable the branch tracer on ALPHA. There has been several reports that the branch tracer breaks the compile on ALPHA. Alpha uses ifs extern inlines, and the injecting of static elements breaks the build.

The next patch fixes the selecting of a tracer for bootup. Now you can select the default tracer from the kernel command line.

i.e.

ftrace=function

Will start the function tracer as soon as it is registered.

Now that we have the kernel command line tracer selection working we can use it for he boot "initcall" tracer. Instead of having the initcall tracer disable selftests, it now needs to be selected in the kernel command line as the default tracer to be implemented. This means we can keep both selftest and boot initcall tracer configured at the same time.

ftrace=initcall

Will now enable the boot initcall tracer. No need to recompile.

-- Steve

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 (3):
trace: disable branch tracer on alpha
trace: fix default boot up tracer
trace: let boot trace be chosen by command line

----

 kernel/trace/Kconfig      |    9 +++---
 kernel/trace/trace.c      |   65 ++++++++++++++++++++++++++++++++++++++-------
 kernel/trace/trace_boot.c |   11 +++++---
 3 files changed, 67 insertions(+), 18 deletions(-)