]> git.baikalelectronics.ru Git - kernel.git/commit
riscv: kprobes: implement the branch instructions
authorChen Lifu <chenlifu@huawei.com>
Tue, 29 Jun 2021 02:34:55 +0000 (10:34 +0800)
committerPalmer Dabbelt <palmerdabbelt@google.com>
Thu, 22 Jul 2021 06:22:34 +0000 (23:22 -0700)
commitba1ff6f3a41fc4d02c27d7d0ffa091864fb4aaf0
tree6b6afb4475566cc21328cd3842c32228386cc2ff
parent61634161bcb13877a713b34c2d580b86963be2c1
riscv: kprobes: implement the branch instructions

This has been tested by probing a module that contains each of the
flavors of branches we have.

Signed-off-by: Chen Lifu <chenlifu@huawei.com>
[Palmer: commit message, fix kconfig errors]
Signed-off-by: Palmer Dabbelt <palmerdabbelt@google.com>
arch/riscv/kernel/probes/decode-insn.c
arch/riscv/kernel/probes/simulate-insn.c