diff options
author | Martin KaFai Lau <kafai@fb.com> | 2018-12-10 19:53:24 +0100 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2018-12-10 21:26:59 +0100 |
commit | 10a5ce98539948affbdc28dc0f39a1b6b2307f9d (patch) | |
tree | f1e5a55f302ce6a413678ebfe8f3a33c3210cde7 /tools/bpf/bpftool/main.h | |
parent | bpf: relax verifier restriction on BPF_MOV | BPF_ALU (diff) | |
download | linux-10a5ce98539948affbdc28dc0f39a1b6b2307f9d.tar.xz linux-10a5ce98539948affbdc28dc0f39a1b6b2307f9d.zip |
bpf: bpftool: Fix newline and p_err issue
This patch fixes a few newline issues and also
replaces p_err with p_info in prog.c
Fixes: b053b439b72a ("bpf: libbpf: bpftool: Print bpf_line_info during prog dump")
Cc: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Martin KaFai Lau <kafai@fb.com>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/bpf/bpftool/main.h')
-rw-r--r-- | tools/bpf/bpftool/main.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/bpf/bpftool/main.h b/tools/bpf/bpftool/main.h index d9393abdba78..0b37599f8cda 100644 --- a/tools/bpf/bpftool/main.h +++ b/tools/bpf/bpftool/main.h @@ -194,7 +194,6 @@ void disasm_print_insn(unsigned char *image, ssize_t len, int opcodes, const struct bpf_prog_linfo *prog_linfo, __u64 func_ksym, unsigned int func_idx, bool linum) - { } static inline int disasm_init(void) |