diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-08-21 02:12:39 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-22 01:40:22 +0300 |
commit | 9c0f8cbdc0e9cf8a2a3a96045778b8d759f172c2 (patch) | |
tree | dda535077729918dc5752f275d2ca26b370f31e8 /net/ipv4/tcp_input.c | |
parent | 50e09460d9f8dee9fbaaa3194c7921753d75cd96 (diff) | |
download | linux-9c0f8cbdc0e9cf8a2a3a96045778b8d759f172c2.tar.xz |
libbpf: Normalize and improve logging across few functions
Make libbpf logs follow similar pattern and provide more context like section
name or program name, where appropriate. Also, add BPF_INSN_SZ constant and
use it throughout to clean up code a little bit. This commit doesn't have any
functional changes and just removes some code changes out of the way before
bigger refactoring in libbpf internals.
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20200820231250.1293069-6-andriin@fb.com
Diffstat (limited to 'net/ipv4/tcp_input.c')
0 files changed, 0 insertions, 0 deletions