[linux-yocto] [PATCH 0/3] enable ftrace for mips
Tom Zanussi
tom.zanussi at linux.intel.com
Tue Sep 17 18:21:16 PDT 2013
This patchset enables ftrace for mips, but disables the ftrace function
tracer (and dynamic ftrace). We want the basic tracing framework that
FTRACE enables so that e.g. TRACEPOINTS are there and lttng can work:
https://bugzilla.yoctoproject.org/show_bug.cgi?id=5215
It adds a new ftrace-function-tracer-disable feature and removes the
existing ftrace-disable feature, since that's a better description of
what it does, and makes the mips machines use it.
I verified that qemumips boots with these patches, and also did an lttng
kernel trace to verify that lttng works as expected (and of course the
lttng-modules build warnings are gone as well.
I also verified that FTRACE_FUNCTION_TRACER is the culprit causing mips
to hang - adding and removing that toggles boot hangs.
The following changes since commit 285f93bf942e8f6fa678ffc6cc53696ed5400718:
meta/common-pc-64: Add USB 3.0 support (2013-09-13 12:38:51 -0400)
are available in the git repository at:
git://git.yoctoproject.org/linux-yocto-contrib.git tzanussi/mips-enable-ftrace-but-disable-ftrace-function-tracer
http://git.yoctoproject.org/cgit/cgit.cgi/linux-yocto-contrib/log/?h=tzanussi/mips-enable-ftrace-but-disable-ftrace-function-tracer
Tom Zanussi (3):
meta: add ftrace/ftrace-function-tracer-disable feature
mips: have the mips BSPs disable function tracing instead of ftrace
meta: remove ftrace/ftrace-disable feature
meta/cfg/kernel-cache/bsp/mti-malta32/mti-malta32.scc | 4 ++--
meta/cfg/kernel-cache/bsp/mti-malta64/mti-malta64.scc | 4 ++--
meta/cfg/kernel-cache/bsp/routerstationpro/routerstationpro.scc | 4 ++--
meta/cfg/kernel-cache/features/ftrace/ftrace-disable.cfg | 2 --
meta/cfg/kernel-cache/features/ftrace/ftrace-disable.scc | 4 ----
.../kernel-cache/features/ftrace/ftrace-function-tracer-disable.cfg | 3 +++
.../kernel-cache/features/ftrace/ftrace-function-tracer-disable.scc | 4 ++++
7 files changed, 13 insertions(+), 12 deletions(-)
delete mode 100644 meta/cfg/kernel-cache/features/ftrace/ftrace-disable.cfg
delete mode 100644 meta/cfg/kernel-cache/features/ftrace/ftrace-disable.scc
create mode 100644 meta/cfg/kernel-cache/features/ftrace/ftrace-function-tracer-disable.cfg
create mode 100644 meta/cfg/kernel-cache/features/ftrace/ftrace-function-tracer-disable.scc
--
1.7.11.4
More information about the linux-yocto
mailing list