mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-26 22:35:14 +07: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>
9 lines
199 B
Makefile
9 lines
199 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
generic-y += asm-offsets.h
|
|
generic-y += gpio.h
|
|
generic-y += kvm_para.h
|
|
generic-y += local64.h
|
|
generic-y += qrwlock.h
|
|
generic-y += user.h
|
|
generic-y += vmlinux.lds.h
|