linux/init
Steven Rostedt 68bf21aa15 ftrace: mcount call site on boot nops core
This is the infrastructure to the converting the mcount call sites
recorded by the __mcount_loc section into nops on boot. It also allows
for using these sites to enable tracing as normal. When the __mcount_loc
section is used, the "ftraced" kernel thread is disabled.

This uses the current infrastructure to record the mcount call sites
as well as convert them to nops. The mcount function is kept as a stub
on boot up and not converted to the ftrace_record_ip function. We use the
ftrace_record_ip to only record from the table.

This patch does not handle modules. That comes with a later patch.

Signed-off-by: Steven Rostedt <srostedt@redhat.com>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
2008-10-14 10:34:44 +02:00
..
Kconfig tracing: clean up tracepoints kconfig structure 2008-10-14 10:33:32 +02:00
Makefile kbuild: fix make V=1 2008-02-11 17:43:54 +01:00
calibrate.c x86: remove stray <6> in BogoMIPS printk 2008-07-28 14:22:26 +02:00
do_mounts.c init: DEBUG_BLOCK_EXT_DEVT requires explicit root= param 2008-10-09 08:56:11 +02:00
do_mounts.h make init/do_mounts.c:root_device_name static 2008-07-26 12:00:12 -07:00
do_mounts_initrd.c Freezer: Fix s2disk resume from initrd 2007-11-20 22:22:42 -05:00
do_mounts_md.c md: proper extern for mdp_major 2008-05-24 09:56:09 -07:00
do_mounts_rd.c inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
initramfs.c inflate: refactor inflate malloc code 2008-07-25 10:53:28 -07:00
main.c ftrace: mcount call site on boot nops core 2008-10-14 10:34:44 +02:00
noinitramfs.c [PATCH] disable init/initramfs.c 2007-02-11 10:51:25 -08:00
version.c init/version.c: define version_string only if CONFIG_KALLSYMS is not defined 2008-07-25 10:53:29 -07:00