Re: [PATCH v3 0/5] tracing/probes: uaccess: Add support user-space access

2019-02-27 Thread Masami Hiramatsu
On Wed, 27 Feb 2019 14:32:41 -0800 Alexei Starovoitov wrote: > On Wed, Feb 27, 2019 at 11:42:15PM +0900, Masami Hiramatsu wrote: > > > > For perf-probe, we can add some attribute for each argument > > which indicate that the variable in user space. But still > > we can not decide it automaticall

Re: [PATCH v3 0/5] tracing/probes: uaccess: Add support user-space access

2019-02-27 Thread Alexei Starovoitov
On Wed, Feb 27, 2019 at 11:42:15PM +0900, Masami Hiramatsu wrote: > > For perf-probe, we can add some attribute for each argument > which indicate that the variable in user space. But still > we can not decide it automatically by DWARF since __user attribute > is not transrated to DWARF attribute.

[PATCH v3 0/5] tracing/probes: uaccess: Add support user-space access

2019-02-27 Thread Masami Hiramatsu
Hi, Here is the v3 series of probe-event to support user-space access. In this version I removed unneeded kernel_uaccess_faults_ok patch, included PeterZ's user_access_ok(), and simplifies non-pagefault user-space read functions according to the discussion on the previous sereis. https://lkml.ke