On 07/10, Jiri Olsa wrote:
>
> > @@ -3180,10 +3181,8 @@ static void bpf_uprobe_unregister(struct path *path, 
> > struct bpf_uprobe *uprobes,
> >  {
> >     u32 i;
> >
> > -   for (i = 0; i < cnt; i++) {
> > -           uprobe_unregister(d_real_inode(path->dentry), uprobes[i].offset,
> > -                             &uprobes[i].consumer);
> > -   }
>
> nice, we could also drop path argument now

Indeed, I missed that. Will send V2 when/if this makes any sense.

Thanks!

Oleg.


Reply via email to