Guo Ren 33e53ae1ce csky: Add kprobes supported
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>
2020-04-03 11:14:17 +08:00
..
2020-02-09 16:05:50 -08:00
2020-02-04 03:05:24 +00:00
2020-04-03 11:14:17 +08:00
2020-02-04 11:58:07 +00:00
2020-02-24 13:12:53 -08:00
2020-02-09 16:05:50 -08:00
2020-02-07 12:22:29 -08:00