linux/arch/microblaze/kernel/cpu
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
..
cache.c microblaze: Do not check use_dcache 2009-04-23 16:27:31 +02:00
cpuinfo-pvr-full.c microblaze: Typo fix for cpu param inconsistency 2009-07-27 09:03:19 +02:00
cpuinfo-static.c microblaze: Typo fix for cpu param inconsistency 2009-07-27 09:03:19 +02:00
cpuinfo.c microblaze: Updated CPU version and FPGA family codes in PVR 2009-09-22 10:00:45 +02:00
Makefile microblaze: ftrace: add static function tracer 2009-12-14 08:40:09 +01:00
mb.c microblaze: Fix USR1/2 pvr printing message 2009-04-23 16:09:18 +02:00
pvr.c microblaze: Add TRACE_IRQFLAGS_SUPPORT 2009-12-14 08:40:09 +01:00