On Fri, Oct 18, 2019 at 11:18:48AM +0800, Kefeng Wang wrote: > For kernel logging macro, pr_warning is completely removed and > replaced by pr_warn, using pr_warn in tools lib bpf for symmetry > to kernel logging macro, then we could drop pr_warning in the > whole linux code. > > Cc: Alexei Starovoitov <a...@kernel.org> > Cc: Daniel Borkmann <dan...@iogearbox.net> > Cc: Martin KaFai Lau <ka...@fb.com> > Cc: Song Liu <songliubrav...@fb.com> > Cc: Yonghong Song <y...@fb.com> > Cc: b...@vger.kernel.org > Acked-by: Andrii Nakryiko <andr...@fb.com> > Reviewed-by: Sergey Senozhatsky <sergey.senozhat...@gmail.com> > Signed-off-by: Kefeng Wang <wangkefeng.w...@huawei.com> > --- > tools/lib/bpf/btf.c | 56 +-- > tools/lib/bpf/btf_dump.c | 18 +- > tools/lib/bpf/libbpf.c | 679 ++++++++++++++++---------------- > tools/lib/bpf/libbpf_internal.h | 8 +- > tools/lib/bpf/xsk.c | 4 +- > 5 files changed, 379 insertions(+), 386 deletions(-)
Nack. I prefer this type of renaming to go via bpf tree. It's not a kernel patch. It's touching user space library which is under heavy development. Doing any other way will cause a ton of conflicts.