diff options
author | Tiezhu Yang <yangtiezhu@loongson.cn> | 2023-02-25 08:52:57 +0100 |
---|---|---|
committer | Huacai Chen <chenhuacai@loongson.cn> | 2023-02-25 15:12:17 +0100 |
commit | 6d4cc40fb5f58147defc6c0e9d86e6232fe31616 (patch) | |
tree | 71f244b9bce629eb133a0cb8d90c08f2cdd9e98f /arch/loongarch/Kconfig | |
parent | LoongArch: Simulate branch and PC* instructions (diff) | |
download | linux-6d4cc40fb5f58147defc6c0e9d86e6232fe31616.tar.xz linux-6d4cc40fb5f58147defc6c0e9d86e6232fe31616.zip |
LoongArch: Add kprobes support
Kprobes allows you to trap at almost any kernel address and execute a
callback function, this commit adds kprobes support for LoongArch.
Tested-by: Jeff Xie <xiehuan09@gmail.com>
Signed-off-by: Tiezhu Yang <yangtiezhu@loongson.cn>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
Diffstat (limited to 'arch/loongarch/Kconfig')
-rw-r--r-- | arch/loongarch/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/loongarch/Kconfig b/arch/loongarch/Kconfig index 277ce9b9414e..bb538b68116d 100644 --- a/arch/loongarch/Kconfig +++ b/arch/loongarch/Kconfig @@ -106,6 +106,7 @@ config LOONGARCH select HAVE_IOREMAP_PROT select HAVE_IRQ_EXIT_ON_IRQ_STACK select HAVE_IRQ_TIME_ACCOUNTING + select HAVE_KPROBES select HAVE_MOD_ARCH_SPECIFIC select HAVE_NMI select HAVE_PCI |