linux/arch/microblaze
Michal Simek 7d241ff056 microblaze: ftrace: Add dynamic trace support
With dynamic function tracer, by default, _mcount is defined as an
"empty" function, it returns directly without any more action. When
enabling it in user-space, it will jump to a real tracing
function(ftrace_caller), and do the real job for us.

Differ from the static function tracer, dynamic function tracer provides
two functions ftrace_make_call()/ftrace_make_nop() to enable/disable the
tracing of some indicated kernel functions(set_ftrace_filter).

In the kernel version, there is only one "_mcount" string for every
kernel function, so, we just need to match this one in mcount_regex of
scripts/recordmcount.pl.

For more information please look at code and Documentation/trace folder.

Steven ACK that scripts/recordmcount.pl part.

Acked-by: Steven Rostedt <rostedt@goodmis.org>
Signed-off-by: Michal Simek <monstr@monstr.eu>
2009-12-14 08:44:01 +01:00
..
boot microblaze: Support simpleImage.dts make target 2009-09-24 10:28:22 +02:00
configs microblaze: Disable heartbeat/enable emaclite in defconfigs 2009-09-24 10:30:27 +02:00
include/asm microblaze: ftrace: Add dynamic trace support 2009-12-14 08:44:01 +01:00
kernel microblaze: ftrace: Add dynamic trace support 2009-12-14 08:44:01 +01:00
lib tree-wide: fix assorted typos all over the place 2009-12-04 15:39:55 +01:00
mm Merge branch 'for-linus' of git://git.monstr.eu/linux-2.6-microblaze 2009-09-24 09:01:44 -07:00
platform microblaze: GPIO reset support 2009-12-14 08:40:08 +01:00
Kconfig microblaze: ftrace: Add dynamic trace support 2009-12-14 08:44:01 +01:00
Kconfig.debug microblaze: Add TRACE_IRQFLAGS_SUPPORT 2009-12-14 08:40:09 +01:00
Makefile microblaze: Support simpleImage.dts make target 2009-09-24 10:28:22 +02:00