Re: [PATCH bpf-next 2/4] tools/resolve_btfids: Check objects before removing

2021-02-05 Thread Andrii Nakryiko
On Fri, Feb 5, 2021 at 2:59 PM Jiri Olsa wrote: > > We want this clean to be called from tree's root clean > and that one is silent if there's nothing to clean. > > Adding check for all object to clean and display CLEAN > messages only if there are objects to remove. > > Signed-off-by: Jiri Olsa

[PATCH bpf-next 2/4] tools/resolve_btfids: Check objects before removing

2021-02-05 Thread Jiri Olsa
We want this clean to be called from tree's root clean and that one is silent if there's nothing to clean. Adding check for all object to clean and display CLEAN messages only if there are objects to remove. Signed-off-by: Jiri Olsa --- tools/bpf/resolve_btfids/Makefile | 17 -

Re: [PATCH bpf-next 2/4] tools/resolve_btfids: Check objects before removing

2021-02-05 Thread Jiri Olsa
On Thu, Feb 04, 2021 at 04:42:41PM -0800, Andrii Nakryiko wrote: > On Thu, Feb 4, 2021 at 1:20 PM Jiri Olsa wrote: > > > > We want this clean to be called from tree's root clean > > and that one is silent if there's nothing to clean. > > > > Adding check for all object to clean and display CLEAN >

Re: [PATCH bpf-next 2/4] tools/resolve_btfids: Check objects before removing

2021-02-04 Thread Andrii Nakryiko
On Thu, Feb 4, 2021 at 1:20 PM Jiri Olsa wrote: > > We want this clean to be called from tree's root clean > and that one is silent if there's nothing to clean. > > Adding check for all object to clean and display CLEAN > messages only if there are objects to remove. > > Signed-off-by: Jiri Olsa

Re: [PATCH bpf-next 2/4] tools/resolve_btfids: Check objects before removing

2021-02-04 Thread Song Liu
> On Feb 4, 2021, at 1:18 PM, Jiri Olsa wrote: > > We want this clean to be called from tree's root clean > and that one is silent if there's nothing to clean. > > Adding check for all object to clean and display CLEAN > messages only if there are objects to remove. > > Signed-off-by: Jiri O

[PATCH bpf-next 2/4] tools/resolve_btfids: Check objects before removing

2021-02-04 Thread Jiri Olsa
We want this clean to be called from tree's root clean and that one is silent if there's nothing to clean. Adding check for all object to clean and display CLEAN messages only if there are objects to remove. Signed-off-by: Jiri Olsa --- tools/bpf/resolve_btfids/Makefile | 17 -