mirror of
https://github.com/netdata/libbpf.git
synced 2026-03-29 04:39:06 +08:00
tools, bpf: Rename pr_warning to pr_warn to align with kernel logging
For kernel logging macros, pr_warning() is completely removed and replaced by pr_warn(). By using pr_warn() in tools/lib/bpf/ for symmetry to kernel logging macros, we could eventually drop the use of pr_warning() in the whole kernel tree. Signed-off-by: Kefeng Wang <wangkefeng.wang@huawei.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Sergey Senozhatsky <sergey.senozhatsky@gmail.com> Acked-by: Andrii Nakryiko <andriin@fb.com> Link: https://lore.kernel.org/bpf/20191021055532.185245-1-wangkefeng.wang@huawei.com
This commit is contained in:
committed by
Andrii Nakryiko
parent
58e3a8fac1
commit
c6e01425b6
693
src/libbpf.c
693
src/libbpf.c
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user