diff options
Diffstat (limited to 'tools/bpf/bpftool/prog.c')
-rw-r--r-- | tools/bpf/bpftool/prog.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tools/bpf/bpftool/prog.c b/tools/bpf/bpftool/prog.c index 65b921ffd10a..9a78ebbcea1d 100644 --- a/tools/bpf/bpftool/prog.c +++ b/tools/bpf/bpftool/prog.c | |||
@@ -592,7 +592,6 @@ static int do_dump(int argc, char **argv) | |||
592 | info.jited_line_info_rec_size = jited_linfo_rec_size; | 592 | info.jited_line_info_rec_size = jited_linfo_rec_size; |
593 | info.jited_line_info = ptr_to_u64(jited_linfo); | 593 | info.jited_line_info = ptr_to_u64(jited_linfo); |
594 | 594 | ||
595 | |||
596 | err = bpf_obj_get_info_by_fd(fd, &info, &len); | 595 | err = bpf_obj_get_info_by_fd(fd, &info, &len); |
597 | close(fd); | 596 | close(fd); |
598 | if (err) { | 597 | if (err) { |
@@ -674,7 +673,7 @@ static int do_dump(int argc, char **argv) | |||
674 | if (linfo_cnt) { | 673 | if (linfo_cnt) { |
675 | prog_linfo = bpf_prog_linfo__new(&info); | 674 | prog_linfo = bpf_prog_linfo__new(&info); |
676 | if (!prog_linfo) | 675 | if (!prog_linfo) |
677 | p_err("error in processing bpf_line_info. continue without it."); | 676 | p_info("error in processing bpf_line_info. continue without it."); |
678 | } | 677 | } |
679 | 678 | ||
680 | if (filepath) { | 679 | if (filepath) { |