mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-12-05 10:04:12 +08:00
33e53ae1ce
This patch enable kprobes, kretprobes, ftrace interface. It utilized software breakpoint and single step debug exceptions, instructions simulation on csky. We use USR_BKPT replace origin instruction, and the kprobe handler prepares an excutable memory slot for out-of-line execution with a copy of the original instruction being probed. Most of instructions could be executed by single-step, but some instructions need origin pc value to execute and we need software simulate these instructions. Signed-off-by: Guo Ren <guoren@linux.alibaba.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Steven Rostedt (VMware) <rostedt@goodmis.org> |
||
---|---|---|
.. | ||
probes | ||
asm-offsets.c | ||
atomic.S | ||
cpu-probe.c | ||
dumpstack.c | ||
entry.S | ||
ftrace.c | ||
head.S | ||
irq.c | ||
Makefile | ||
module.c | ||
perf_callchain.c | ||
perf_event.c | ||
perf_regs.c | ||
power.c | ||
process.c | ||
ptrace.c | ||
setup.c | ||
signal.c | ||
smp.c | ||
stacktrace.c | ||
syscall_table.c | ||
syscall.c | ||
time.c | ||
traps.c | ||
vdso.c | ||
vmlinux.lds.S |