linux/arch/microblaze/kernel
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
..
cpu microblaze: ftrace: add static function tracer 2009-12-14 08:40:09 +01:00
asm-offsets.c microblaze_mmu_v2: MMU asm offset update 2009-05-26 16:45:19 +02:00
early_printk.c microblaze_mmu_v2: Alocate TLB for early console 2009-05-26 16:45:14 +02:00
entry-nommu.S microblaze: use generic syscalls.h 2009-07-06 10:26:59 +02:00
entry.S microblaze: Clear sticky FSR register after saving it to func parametr 2009-10-05 11:37:47 +02:00
exceptions.c microblaze: Generate correct signal and siginfo for integer div-by-zero 2009-09-22 10:00:44 +02:00
head.S of: add common header for flattened device tree representation 2009-10-15 10:57:53 -06:00
heartbeat.c microblaze_v8: heartbeat file 2009-03-27 14:25:24 +01:00
hw_exception_handler.S microblaze: Clear sticky FSR register after saving it to func parametr 2009-10-05 11:37:47 +02:00
init_task.c Use new __init_task_data macro in arch init_task.c files. 2009-09-21 06:27:08 +02:00
intc.c microblaze: Sane handling of missing timer/intc in device tree 2009-08-18 10:33:30 +02:00
irq.c microblaze: use the generic ack_bad_irq implementation 2009-08-18 10:33:29 +02:00
Makefile microblaze: ftrace: add static function tracer 2009-12-14 08:40:09 +01:00
mcount.S microblaze: ftrace: add static function tracer 2009-12-14 08:40:09 +01:00
microblaze_ksyms.c microblaze: ftrace: add static function tracer 2009-12-14 08:40:09 +01:00
misc.S microblaze: Fix problem with early_printk in startup 2009-05-30 16:40:58 +02:00
module.c microblaze: Add support for R_MICROBLAZE_64_NONE 2009-07-27 09:03:18 +02:00
of_device.c microblaze: struct device - replace bus_id with dev_name() 2009-04-14 10:37:27 +02:00
of_platform.c microblaze_v8: Open firmware files 2009-03-27 14:25:12 +01:00
process.c microblaze: UMS is used only for MMU kernel 2009-10-05 11:37:47 +02:00
prom_parse.c microblaze_v8: Open firmware files 2009-03-27 14:25:12 +01:00
prom.c of: merge of_find_all_nodes() implementations 2009-10-15 10:58:09 -06:00
ptrace.c microblaze: Support ptrace syscall tracing. 2009-09-22 10:00:45 +02:00
reset.c microblaze: GPIO reset support 2009-12-14 08:40:08 +01:00
selfmod.c microblaze_v8: Selfmodified code 2009-03-27 14:25:15 +01:00
setup.c microblaze: Lockdep support 2009-12-14 08:40:09 +01:00
signal.c headers: smp_lock.h redux 2009-07-12 12:22:34 -07:00
stacktrace.c microblaze: Stack trace support 2009-12-14 08:40:09 +01:00
sys_microblaze.c Unify sys_mmap* 2009-12-11 06:44:29 -05:00
syscall_table.S Unify sys_mmap* 2009-12-11 06:44:29 -05:00
timer.c microblaze: Register timecounter/cyclecounter 2009-12-14 08:40:09 +01:00
traps.c microblaze_mmu_v2: Traps MMU update 2009-05-26 16:45:21 +02:00
vmlinux.lds.S microblaze: Add IRQENTRY_TEXT to lds 2009-12-14 08:40:09 +01:00