btf_dump_printf 354 tools/bpf/bpftool/btf.c static void __printf(2, 0) btf_dump_printf(void *ctx, btf_dump_printf 366 tools/bpf/bpftool/btf.c d = btf_dump__new(btf, NULL, NULL, btf_dump_printf); btf_dump_printf 644 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ";\n\n"); btf_dump_printf 655 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ";\n\n"); btf_dump_printf 673 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ";\n\n"); btf_dump_printf 688 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ";\n\n"); btf_dump_printf 703 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ";\n\n"); btf_dump_printf 727 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ";\n\n"); btf_dump_printf 733 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ";\n\n"); btf_dump_printf 855 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "\n%s%s: %d;", pfx(lvl), pad_type, pad_bits); btf_dump_printf 863 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "%s %s", btf_dump_printf 880 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "%s%s%s {", btf_dump_printf 895 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "\n%s", pfx(lvl + 1)); btf_dump_printf 899 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ": %d", m_sz); btf_dump_printf 905 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ";"); btf_dump_printf 916 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "\n"); btf_dump_printf 917 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "%s}", pfx(lvl)); btf_dump_printf 919 tools/lib/bpf/btf_dump.c btf_dump_printf(d, " __attribute__((packed))"); btf_dump_printf 925 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "enum %s", btf_dump_type_name(d, id)); btf_dump_printf 938 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "enum%s%s", btf_dump_printf 943 tools/lib/bpf/btf_dump.c btf_dump_printf(d, " {"); btf_dump_printf 949 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "\n%s%s___%zu = %d,", btf_dump_printf 953 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "\n%s%s = %d,", btf_dump_printf 958 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "\n%s}", pfx(lvl)); btf_dump_printf 968 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "union %s", name); btf_dump_printf 970 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "struct %s", name); btf_dump_printf 978 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "typedef "); btf_dump_printf 1129 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "volatile "); btf_dump_printf 1132 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "const "); btf_dump_printf 1135 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "restrict "); btf_dump_printf 1149 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "%s%s", separate ? " " : "", name); btf_dump_printf 1176 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "void"); btf_dump_printf 1188 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "%s", name); btf_dump_printf 1213 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "%s", btf_dump_ident_name(d, id)); btf_dump_printf 1216 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "%s", last_was_ptr ? "*" : " *"); btf_dump_printf 1219 tools/lib/bpf/btf_dump.c btf_dump_printf(d, " volatile"); btf_dump_printf 1222 tools/lib/bpf/btf_dump.c btf_dump_printf(d, " const"); btf_dump_printf 1225 tools/lib/bpf/btf_dump.c btf_dump_printf(d, " restrict"); btf_dump_printf 1253 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "[%u]", a->nelems); btf_dump_printf 1262 tools/lib/bpf/btf_dump.c btf_dump_printf(d, " "); btf_dump_printf 1265 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "("); btf_dump_printf 1268 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ")"); btf_dump_printf 1269 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "[%u]", a->nelems); btf_dump_printf 1279 tools/lib/bpf/btf_dump.c btf_dump_printf(d, " ("); btf_dump_printf 1281 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ")"); btf_dump_printf 1285 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "("); btf_dump_printf 1293 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ")"); btf_dump_printf 1299 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ", "); btf_dump_printf 1303 tools/lib/bpf/btf_dump.c btf_dump_printf(d, "..."); btf_dump_printf 1311 tools/lib/bpf/btf_dump.c btf_dump_printf(d, ")"); btf_dump_printf 43 tools/testing/selftests/bpf/test_btf_dump.c d = btf_dump__new(btf, NULL, opts, btf_dump_printf);