]> git.baikalelectronics.ru Git - kernel.git/commit
csky: Add uprobes support
authorGuo Ren <guoren@linux.alibaba.com>
Thu, 2 Apr 2020 11:52:27 +0000 (19:52 +0800)
committerGuo Ren <guoren@linux.alibaba.com>
Fri, 3 Apr 2020 03:37:51 +0000 (11:37 +0800)
commitd1a7d0c8fc150a72e2c1cd25dc11084c5c740bca
tree783eef0d08ebaa652b335db205f99e970d4a2c0d
parent23f2eee78479d455d0849f0eddb52568c9fe6313
csky: Add uprobes support

This patch adds support for uprobes on csky architecture.

Just like kprobe, it support single-step and simulate instructions.

Signed-off-by: Guo Ren <guoren@linux.alibaba.com>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Steven Rostedt (VMware) <rostedt@goodmis.org>
arch/csky/Kconfig
arch/csky/include/asm/thread_info.h
arch/csky/include/asm/uprobes.h [new file with mode: 0644]
arch/csky/kernel/entry.S
arch/csky/kernel/probes/Makefile
arch/csky/kernel/probes/uprobes.c [new file with mode: 0644]
arch/csky/kernel/signal.c
arch/csky/kernel/traps.c