3d58695edb
This implements a few trace points across events that are deemed interesting. This implements a number of trace points: - The page fault handler / TLB miss - IPC calls - Kernel thread creation The original LTTng patch had the slow-path instrumented, which fails to account for the vast majority of events. In general placing this in the fast-path is not a huge performance hit, as we don't take page faults for kernel addresses. The other bits of interest are some of the other trap handlers, as well as the syscall entry/exit (which is better off being handled through the tracehook API). Most of the other trap handlers are corner cases where alternate means of notification exist, so there is little value in placing extra trace points in these locations. Based on top of the points provided both by the LTTng instrumentation patch as well as the patch shipping in the ST-Linux tree, albeit in a stripped down form. Signed-off-by: Paul Mundt <lethal@linux-sh.org> |
||
---|---|---|
.. | ||
cpu | ||
timers | ||
vsyscall | ||
.gitignore | ||
asm-offsets.c | ||
cf-enabler.c | ||
cpufreq.c | ||
crash_dump.c | ||
debugtraps.S | ||
early_printk.c | ||
entry-common.S | ||
head_32.S | ||
head_64.S | ||
init_task.c | ||
io_generic.c | ||
io_trapped.c | ||
io.c | ||
irq.c | ||
kgdb_jmp.S | ||
kgdb_stub.c | ||
kprobes.c | ||
machine_kexec.c | ||
machvec.c | ||
Makefile | ||
Makefile_32 | ||
Makefile_64 | ||
module.c | ||
pm.c | ||
process_32.c | ||
process_64.c | ||
ptrace_32.c | ||
ptrace_64.c | ||
relocate_kernel.S | ||
setup.c | ||
sh_bios.c | ||
sh_ksyms_32.c | ||
sh_ksyms_64.c | ||
signal_32.c | ||
signal_64.c | ||
smp.c | ||
stacktrace.c | ||
sys_sh32.c | ||
sys_sh64.c | ||
sys_sh.c | ||
syscalls_32.S | ||
syscalls_64.S | ||
time_32.c | ||
time_64.c | ||
topology.c | ||
traps_32.c | ||
traps_64.c | ||
traps.c | ||
vmlinux_32.lds.S | ||
vmlinux_64.lds.S | ||
vmlinux.lds.S |