[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <168625043497.19063.14436590324361967786.b4-ty@rivosinc.com>
Date: Thu, 08 Jun 2023 11:53:54 -0700
From: Palmer Dabbelt <palmer@...osinc.com>
To: Paul Walmsley <paul.walmsley@...ive.com>,
Palmer Dabbelt <palmer@...belt.com>, aou@...s.berkeley.edu,
linux-riscv@...ts.infradead.org, linux-kernel@...r.kernel.org,
Ruan Jinjie <ruanjinjie@...wei.com>
Subject: Re: [PATCH v3] riscv: fix kprobe __user string arg print fault
issue
On Thu, 04 May 2023 15:29:10 +0800, Ruan Jinjie wrote:
> On riscv qemu platform, when add kprobe event on do_sys_open() to show
> filename string arg, it just print fault as follow:
>
> echo 'p:myprobe do_sys_open dfd=$arg1 filename=+0($arg2):string flags=$arg3
> mode=$arg4' > kprobe_events
>
> bash-166 [000] ...1. 360.195367: myprobe: (do_sys_open+0x0/0x84)
> dfd=0xffffffffffffff9c filename=(fault) flags=0x8241 mode=0x1b6
>
> [...]
Applied, thanks!
[1/1] riscv: fix kprobe __user string arg print fault issue
https://git.kernel.org/palmer/c/99a670b2069c
Best regards,
--
Palmer Dabbelt <palmer@...osinc.com>
Powered by blists - more mailing lists