We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 33ac715 commit 67056b1Copy full SHA for 67056b1
tools/perf/util/header.c
@@ -1814,6 +1814,9 @@ static void print_bpf_prog_info(struct feat_fd *ff, FILE *fp)
1814
root = &env->bpf_progs.infos;
1815
next = rb_first(root);
1816
1817
+ if (!next)
1818
+ printf("# bpf_prog_info empty\n");
1819
+
1820
while (next) {
1821
struct bpf_prog_info_node *node;
1822
@@ -1838,6 +1841,9 @@ static void print_bpf_btf(struct feat_fd *ff, FILE *fp)
1838
1841
root = &env->bpf_progs.btfs;
1839
1842
1840
1843
1844
1845
+ printf("# btf info empty\n");
1846
1847
1848
struct btf_node *node;
1849
0 commit comments