Searched refs:jsonw_printf (Results 1 – 9 of 9) sorted by relevance
/Linux-v6.1/tools/bpf/bpftool/ |
D | btf_dumper.c | 130 jsonw_printf(d->jw, "%p", (void *)value); in btf_dumper_ptr() 132 jsonw_printf(d->jw, "%lu", value); in btf_dumper_ptr() 299 jsonw_printf(jw, "0x%llx", lower_num); in btf_int128_print() 301 jsonw_printf(jw, "0x%llx%016llx", upper_num, lower_num); in btf_int128_print() 304 jsonw_printf(jw, "\"0x%llx\"", lower_num); in btf_int128_print() 306 jsonw_printf(jw, "\"0x%llx%016llx\"", upper_num, lower_num); in btf_int128_print() 420 jsonw_printf(jw, "%llu", *(__u64 *)data); in btf_dumper_int() 422 jsonw_printf(jw, "%u", *(__u32 *)data); in btf_dumper_int() 424 jsonw_printf(jw, "%hu", *(__u16 *)data); in btf_dumper_int() 426 jsonw_printf(jw, "%hhu", *(__u8 *)data); in btf_dumper_int() [all …]
|
D | json_writer.c | 169 void jsonw_printf(json_writer_t *self, const char *fmt, ...) in jsonw_printf() function 209 jsonw_printf(self, "%s", val ? "true" : "false"); in jsonw_bool() 214 jsonw_printf(self, "null"); in jsonw_null() 219 jsonw_printf(self, fmt, num); in jsonw_float_fmt() 225 jsonw_printf(self, "%g", num); in jsonw_float() 231 jsonw_printf(self, "%hu", num); in jsonw_hu() 236 jsonw_printf(self, "%"PRIu64, num); in jsonw_uint() 241 jsonw_printf(self, "%llu", num); in jsonw_lluint() 246 jsonw_printf(self, "%"PRId64, num); in jsonw_int()
|
D | jit_disasm.c | 183 jsonw_printf(json_wtr, "\"0x%x\"", pc); in disasm_print_insn() 207 jsonw_printf(json_wtr, "\"0x%02hhx\"", in disasm_print_insn()
|
D | main.c | 103 jsonw_printf(json_wtr, "\"%s\"", BPFTOOL_VERSION); in do_version() 105 jsonw_printf(json_wtr, "\"%d.%d.%d\"", BPFTOOL_MAJOR_VERSION, in do_version() 109 jsonw_printf(json_wtr, "\"%d.%d\"", in do_version()
|
D | xlated_dumper.c | 272 jsonw_printf(json_wtr, "\"0x%02hhx\"", insn[i].code); in dump_xlated_json() 275 jsonw_printf(json_wtr, "\"0x%hhx\"", insn[i].src_reg); in dump_xlated_json() 278 jsonw_printf(json_wtr, "\"0x%hhx\"", insn[i].dst_reg); in dump_xlated_json()
|
D | json_writer.h | 39 void __printf(2, 3) jsonw_printf(json_writer_t *self, const char *fmt, ...);
|
D | common.c | 450 jsonw_printf(json_wtr, "%d", data[i]); in print_data_json() 460 jsonw_printf(json_wtr, "\"0x%02hhx\"", data[i]); in print_hex_data_json()
|
D | prog.c | 430 jsonw_printf(json_wtr, "\"" BPF_TAG_FMT "\"", in print_prog_header_json() 458 jsonw_printf(json_wtr, "%s", buf); in print_prog_json()
|
D | map.c | 458 jsonw_printf(wtr, "%d", info->map_flags); in show_map_header_json()
|