summaryrefslogtreecommitdiff
path: root/tools/virtio
diff options
context:
space:
mode:
authorTiezhu Yang <yangtiezhu@loongson.cn>2023-06-29 20:58:44 +0800
committerHuacai Chen <chenhuacai@loongson.cn>2023-06-29 20:58:44 +0800
commit6e320363339b585a36bf40d74592db3db021e017 (patch)
treefb62b5307b7580861fd4fa037dc3fb6961086a57 /tools/virtio
parent49ed320da5f52ec729e7f2f9edbc6e79848455bd (diff)
LoongArch: Use larch_insn_gen_break() for kprobes
For now, we can use larch_insn_gen_break() to define KPROBE_BP_INSN and KPROBE_SSTEPBP_INSN. Because larch_insn_gen_break() returns instruction word, define kprobe_opcode_t as u32, then do some small changes related with type conversion, no functional change intended. 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 'tools/virtio')
0 files changed, 0 insertions, 0 deletions