diff options
author | Andrii Nakryiko <andriin@fb.com> | 2020-08-20 16:12:39 -0700 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2020-08-21 15:40:22 -0700 |
commit | 9c0f8cbdc0e9cf8a2a3a96045778b8d759f172c2 (patch) | |
tree | dda535077729918dc5752f275d2ca26b370f31e8 /include | |
parent | 50e09460d9f8dee9fbaaa3194c7921753d75cd96 (diff) |
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 'include')
0 files changed, 0 insertions, 0 deletions