[RFC/RFT 2/2] RISC-V: kprobes/kretprobe support
Guo Ren
guoren at kernel.org
Sun Jul 5 10:57:45 EDT 2020
Hi Masami,
On Wed, Jun 17, 2020 at 10:54 PM Masami Hiramatsu <mhiramat at kernel.org> wrote:
>
> Hi Guo and Patrick,
>
> On Wed, 17 Jun 2020 20:58:32 +0800
> Guo Ren <guoren at kernel.org> wrote:
>
> > Hi Patrick,
> >
> > I'm the author of csky's kprobe & uprobe, please ref to kprobe [1], uprobe [2]
> >
> > 1: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/csky?h=v5.8-rc1&id=33e53ae1ce413a081254e686d9b27cc1b3585e2f
> > 2: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/arch/csky?h=v5.8-rc1&id=8f6bb793b2be82f1f73bfb416486f156f70b4314
>
> Thanks for the porting!
>
> >
> > May I continue your patches to finish the work? I'll keep the primary
> > author's name of you with the patches which you've done.
> >
> > Most of the instructions' emulation codes will be deprecated, but the
> > rest is ok. Maybe you should finish executing out of the slot first
> > and then implement pc-related instructions' emulation.
>
> I can review the patch if you update it. Anyway, my major concern was the
> self-modifying code, others are minor points.
>
I've done riscv kprobe/uprobe: [1]. Please take a look when you are
convenient, take a look.
Thanks a lot
[1]: https://lore.kernel.org/linux-riscv/1593833659-26224-1-git-send-email-guoren@kernel.org/
--
Best Regards
Guo Ren
ML: https://lore.kernel.org/linux-csky/
More information about the linux-riscv
mailing list