Re: [PATCH 1/9] bpf: Add d_path helper

2020-05-15 Thread Jiri Olsa
On Thu, May 14, 2020 at 03:06:01PM -0700, Andrii Nakryiko wrote: > On Wed, May 6, 2020 at 6:30 AM 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

Re: [PATCH 1/9] bpf: Add d_path helper

2020-05-14 Thread Andrii Nakryiko
On Wed, May 6, 2020 at 6:30 AM 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' t

[PATCH 1/9] bpf: Add d_path helper

2020-05-06 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