Home
last modified time | relevance | path

Searched refs:jw (Results 1 – 5 of 5) sorted by relevance

/tools/bpf/bpftool/
Dbtf_dumper.c93 jsonw_string(d->jw, prog_str); in dump_prog_id_as_func_ptr()
122 jsonw_printf(d->jw, "%p", (void *)value); in btf_dumper_ptr()
124 jsonw_printf(d->jw, "%lu", value); in btf_dumper_ptr()
166 jsonw_string(d->jw, in btf_dumper_enum()
173 jsonw_int(d->jw, value); in btf_dumper_enum()
223 jsonw_string(d->jw, data); in btf_dumper_array()
231 jsonw_start_array(d->jw); in btf_dumper_array()
239 jsonw_end_array(d->jw); in btf_dumper_array()
243 static void btf_int128_print(json_writer_t *jw, const void *data, in btf_int128_print() argument
265 jsonw_printf(jw, "0x%llx", lower_num); in btf_int128_print()
[all …]
Dmap.c106 jsonw_start_object(d->jw); in do_dump_btf()
109 jsonw_name(d->jw, "key"); in do_dump_btf()
120 jsonw_name(d->jw, "value"); in do_dump_btf()
125 jsonw_name(d->jw, "values"); in do_dump_btf()
126 jsonw_start_array(d->jw); in do_dump_btf()
130 jsonw_start_object(d->jw); in do_dump_btf()
131 jsonw_int_field(d->jw, "cpu", i); in do_dump_btf()
132 jsonw_name(d->jw, "value"); in do_dump_btf()
134 jsonw_end_object(d->jw); in do_dump_btf()
138 jsonw_end_array(d->jw); in do_dump_btf()
[all …]
Dmain.h230 json_writer_t *jw; member
Dstruct_ops.c431 d.jw = wtr; in do_dump()
Dprog.c284 .jw = json_wtr, in show_prog_metadata()
332 d.jw = btf_wtr, in show_prog_metadata()