linux/arch/microblaze
Michal Simek 2fd7c761a2 microblaze: ftrace: add static function tracer
If -pg of gcc is enabled with CONFIG_FUNCTION_TRACER=y. a calling to
_mcount will be inserted into each kernel function. so, there is a
possibility to trace the kernel functions in _mcount.

This patch add the specific _mcount support for static function
tracing. by default, ftrace_trace_function is initialized as
ftrace_stub(an empty function), so, the default _mcount will introduce
very little overhead. after enabling ftrace in user-space, it will jump
to a real tracing function and do static function tracing for us.

Commit message from Wu Zhangjin <wuzhangjin@gmail.com>

Signed-off-by: Michal Simek <monstr@monstr.eu>
2009-12-14 08:40:09 +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 static function tracer 2009-12-14 08:40:09 +01:00
kernel microblaze: ftrace: add static function tracer 2009-12-14 08:40:09 +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 static function tracer 2009-12-14 08:40:09 +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