Re: [PATCH v4 bpf-next 10/14] bpf: Add d_path helper

2020-07-17 Thread Jiri Olsa
On Fri, Jul 17, 2020 at 01:13:23AM +0200, KP Singh wrote: > > > On 6/28/20 9:42 PM, Jiri Olsa wrote: > > On Fri, Jun 26, 2020 at 01:38:27PM -0700, Andrii Nakryiko wrote: > >> On Thu, Jun 25, 2020 at 4:49 PM Jiri Olsa wrote: > >>> > >>> Adding d_path helper function that returns full path > >>> f

Re: [PATCH v4 bpf-next 10/14] bpf: Add d_path helper

2020-07-16 Thread KP Singh
On 6/28/20 9:42 PM, Jiri Olsa wrote: > On Fri, Jun 26, 2020 at 01:38:27PM -0700, Andrii Nakryiko wrote: >> On Thu, Jun 25, 2020 at 4:49 PM Jiri Olsa wrote: >>> >>> Adding d_path helper function that returns full path >>> for give 'struct path' object, which needs to be the >>> kernel BTF 'path'

Re: [PATCH v4 bpf-next 10/14] bpf: Add d_path helper

2020-06-28 Thread Jiri Olsa
On Fri, Jun 26, 2020 at 01:38:27PM -0700, Andrii Nakryiko wrote: > On Thu, Jun 25, 2020 at 4:49 PM Jiri Olsa wrote: > > > > Adding d_path helper function that returns full path > > for give 'struct path' object, which needs to be the > > kernel BTF 'path' object. > > > > The helper calls directly

Re: [PATCH v4 bpf-next 10/14] bpf: Add d_path helper

2020-06-26 Thread Andrii Nakryiko
On Thu, Jun 25, 2020 at 4:49 PM Jiri Olsa wrote: > > Adding d_path helper function that returns full path > for give 'struct path' object, which needs to be the > kernel BTF 'path' object. > > The helper calls directly d_path function. > > Updating also bpf.h tools uapi header and adding > 'path'

[PATCH v4 bpf-next 10/14] bpf: Add d_path helper

2020-06-25 Thread Jiri Olsa
Adding d_path helper function that returns full path for give 'struct path' object, which needs to be the kernel BTF 'path' object. The helper calls directly d_path function. Updating also bpf.h tools uapi header and adding 'path' to bpf_helpers_doc.py script. Signed-off-by: Jiri Olsa --- incl