]> git.baikalelectronics.ru Git - kernel.git/commit
tools/resolve_btfids: Check objects before removing
authorJiri Olsa <jolsa@kernel.org>
Fri, 5 Feb 2021 12:40:18 +0000 (13:40 +0100)
committerAndrii Nakryiko <andrii@kernel.org>
Tue, 9 Feb 2021 05:21:39 +0000 (21:21 -0800)
commit133885db1800a29f68bb826e92e851b0fd48a9df
tree9318895edd04559b6948daef81391edc39dc7136
parent89ed72a2f4bb6081de1b5b1e0b26866e5d82dd0b
tools/resolve_btfids: Check objects before removing

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 <jolsa@kernel.org>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Acked-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20210205124020.683286-3-jolsa@kernel.org
tools/bpf/resolve_btfids/Makefile