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)
commit8f6bb793b2be82f1f73bfb416486f156f70b4314
tree783eef0d08ebaa652b335db205f99e970d4a2c0d
parent33e53ae1ce413a081254e686d9b27cc1b3585e2f
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