Searched refs:jsonw_printf (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.4/tools/bpf/bpftool/ |
D | btf_dumper.c | 29 jsonw_printf(jw, "%p", data); in btf_dumper_ptr() 31 jsonw_printf(jw, "%lu", *(unsigned long *)data); in btf_dumper_ptr() 48 jsonw_printf(jw, "%d", *(int *)data); in btf_dumper_enum() 98 jsonw_printf(jw, "0x%llx", lower_num); in btf_int128_print() 100 jsonw_printf(jw, "0x%llx%016llx", upper_num, lower_num); in btf_int128_print() 103 jsonw_printf(jw, "\"0x%llx\"", lower_num); in btf_int128_print() 105 jsonw_printf(jw, "\"0x%llx%016llx\"", upper_num, lower_num); in btf_int128_print() 219 jsonw_printf(jw, "%llu", *(__u64 *)data); in btf_dumper_int() 221 jsonw_printf(jw, "%u", *(__u32 *)data); in btf_dumper_int() 223 jsonw_printf(jw, "%hu", *(__u16 *)data); in btf_dumper_int() [all …]
|
D | json_writer.c | 163 void jsonw_printf(json_writer_t *self, const char *fmt, ...) in jsonw_printf() function 203 jsonw_printf(self, "%s", val ? "true" : "false"); in jsonw_bool() 208 jsonw_printf(self, "null"); in jsonw_null() 213 jsonw_printf(self, fmt, num); in jsonw_float_fmt() 219 jsonw_printf(self, "%g", num); in jsonw_float() 225 jsonw_printf(self, "%hu", num); in jsonw_hu() 230 jsonw_printf(self, "%"PRIu64, num); in jsonw_uint() 235 jsonw_printf(self, "%llu", num); in jsonw_lluint() 240 jsonw_printf(self, "%"PRId64, num); in jsonw_int()
|
D | jit_disasm.c | 156 jsonw_printf(json_wtr, "\"0x%x\"", pc); in disasm_print_insn() 180 jsonw_printf(json_wtr, "\"0x%02hhx\"", in disasm_print_insn()
|
D | xlated_dumper.c | 265 jsonw_printf(json_wtr, "\"0x%02hhx\"", insn[i].code); in dump_xlated_json() 268 jsonw_printf(json_wtr, "\"0x%hhx\"", insn[i].src_reg); in dump_xlated_json() 271 jsonw_printf(json_wtr, "\"0x%hhx\"", insn[i].dst_reg); in dump_xlated_json()
|
D | json_writer.h | 36 void __printf(2, 3) jsonw_printf(json_writer_t *self, const char *fmt, ...);
|
D | common.c | 342 jsonw_printf(json_wtr, "%d", data[i]); in print_data_json() 352 jsonw_printf(json_wtr, "\"0x%02hhx\"", data[i]); in print_hex_data_json()
|
D | main.c | 74 jsonw_printf(json_wtr, "\"%s\"", BPFTOOL_VERSION); in do_version()
|
D | prog.c | 213 jsonw_printf(json_wtr, "\"" BPF_TAG_FMT "\"", in print_prog_json() 232 jsonw_printf(json_wtr, "%s", buf); in print_prog_json()
|
D | map.c | 503 jsonw_printf(json_wtr, "%d", info->map_flags); in show_map_close_json()
|