Home
last modified time | relevance | path

Searched refs:json_wtr (Results 1 – 20 of 20) sorted by relevance

/linux-6.3-rc2/tools/bpf/bpftool/
A Dperf.c68 jsonw_start_object(json_wtr); in print_perf_json()
69 jsonw_int_field(json_wtr, "pid", pid); in print_perf_json()
70 jsonw_int_field(json_wtr, "fd", fd); in print_perf_json()
71 jsonw_uint_field(json_wtr, "prog_id", prog_id); in print_perf_json()
84 jsonw_string_field(json_wtr, "func", buf); in print_perf_json()
93 jsonw_string_field(json_wtr, "func", buf); in print_perf_json()
101 jsonw_string_field(json_wtr, "filename", buf); in print_perf_json()
106 jsonw_string_field(json_wtr, "filename", buf); in print_perf_json()
112 jsonw_end_object(json_wtr); in print_perf_json()
227 jsonw_start_array(json_wtr); in do_show()
[all …]
A Dnetlink_dumper.h10 jsonw_start_object(json_wtr); \
16 jsonw_name(json_wtr, name); \
17 jsonw_start_object(json_wtr); \
26 jsonw_start_object(json_wtr); \
34 jsonw_end_object(json_wtr); \
42 jsonw_end_object(json_wtr); \
48 jsonw_end_object(json_wtr); \
56 jsonw_name(json_wtr, name); \
57 jsonw_start_array(json_wtr); \
66 jsonw_end_array(json_wtr); \
[all …]
A Dmap_perf_ring.c70 jsonw_start_object(json_wtr); in print_bpf_output()
71 jsonw_name(json_wtr, "type"); in print_bpf_output()
73 jsonw_name(json_wtr, "cpu"); in print_bpf_output()
74 jsonw_uint(json_wtr, cpu); in print_bpf_output()
75 jsonw_name(json_wtr, "index"); in print_bpf_output()
76 jsonw_uint(json_wtr, idx); in print_bpf_output()
85 jsonw_name(json_wtr, "id"); in print_bpf_output()
89 jsonw_end_object(json_wtr); in print_bpf_output()
91 jsonw_end_object(json_wtr); in print_bpf_output()
202 jsonw_start_array(json_wtr); in do_event_pipe()
[all …]
A Dmain.c26 json_writer_t *json_wtr; variable
40 jsonw_destroy(&json_wtr); in clean_and_exit()
55 jsonw_null(json_wtr); in do_help()
356 jsonw_start_array(json_wtr); in do_batch()
401 jsonw_start_object(json_wtr); in do_batch()
403 jsonw_start_array(json_wtr); in do_batch()
406 jsonw_end_array(json_wtr); in do_batch()
413 jsonw_end_object(json_wtr); in do_batch()
433 jsonw_end_array(json_wtr); in do_batch()
490 if (!json_wtr) { in main()
[all …]
A Djit_disasm.c55 jsonw_name(json_wtr, "operands"); in printf_json()
56 jsonw_start_array(json_wtr); in printf_json()
60 jsonw_string(json_wtr, s); in printf_json()
178 jsonw_start_array(json_wtr); in printf_json()
183 jsonw_string(json_wtr, s); in printf_json()
338 jsonw_start_array(json_wtr); in disasm_print_insn()
354 jsonw_name(json_wtr, "pc"); in disasm_print_insn()
371 jsonw_null(json_wtr); in disasm_print_insn()
372 jsonw_end_array(json_wtr); in disasm_print_insn()
382 jsonw_end_array(json_wtr); in disasm_print_insn()
[all …]
A Dlink.c161 jsonw_start_object(json_wtr); in show_link_close_json()
183 json_wtr); in show_link_close_json()
191 show_iter_json(info, json_wtr); in show_link_close_json()
206 jsonw_start_array(json_wtr); in show_link_close_json()
209 jsonw_end_array(json_wtr); in show_link_close_json()
214 jsonw_end_object(json_wtr); in show_link_close_json()
386 jsonw_start_array(json_wtr); in do_show()
411 jsonw_end_array(json_wtr); in do_show()
427 jsonw_null(json_wtr); in do_pin()
454 jsonw_null(json_wtr); in do_detach()
[all …]
A Dmap.c145 .jw = json_wtr, in print_entry_json()
174 jsonw_end_array(json_wtr); in print_entry_json()
178 .jw = json_wtr, in print_entry_json()
909 wtr = json_wtr; in do_dump()
1019 jsonw_null(json_wtr); in do_update()
1087 jsonw_null(json_wtr); in do_lookup()
1217 jsonw_null(json_wtr); in do_delete()
1227 jsonw_null(json_wtr); in do_pin()
1334 jsonw_null(json_wtr); in do_create()
1410 jsonw_null(json_wtr); in do_freeze()
[all …]
A Dcgroup.c133 jsonw_start_object(json_wtr); in show_bpf_prog()
146 jsonw_end_object(json_wtr); in show_bpf_prog()
331 jsonw_start_array(json_wtr); in do_show()
351 jsonw_end_array(json_wtr); in do_show()
397 jsonw_start_array(json_wtr); in do_show_tree_fn()
414 jsonw_end_array(json_wtr); in do_show_tree_fn()
415 jsonw_end_object(json_wtr); in do_show_tree_fn()
503 jsonw_end_array(json_wtr); in do_show_tree()
558 jsonw_null(json_wtr); in do_attach()
605 jsonw_null(json_wtr); in do_detach()
[all …]
A Dxlated_dumper.c232 jsonw_start_array(json_wtr); in dump_xlated_json()
241 jsonw_start_object(json_wtr); in dump_xlated_json()
249 jsonw_name(json_wtr, "proto"); in dump_xlated_json()
266 jsonw_name(json_wtr, "disasm"); in dump_xlated_json()
271 jsonw_start_object(json_wtr); in dump_xlated_json()
273 jsonw_name(json_wtr, "code"); in dump_xlated_json()
282 jsonw_name(json_wtr, "off"); in dump_xlated_json()
285 jsonw_name(json_wtr, "imm"); in dump_xlated_json()
292 jsonw_end_object(json_wtr); in dump_xlated_json()
294 jsonw_end_object(json_wtr); in dump_xlated_json()
[all …]
A Dprog.c210 jsonw_end_array(json_wtr); in show_prog_maps()
342 .jw = json_wtr, in show_prog_metadata()
491 jsonw_end_array(json_wtr); in print_prog_json()
498 jsonw_end_object(json_wtr); in print_prog_json()
760 jsonw_null(json_wtr); in prog_dump()
845 jsonw_null(json_wtr); in prog_dump()
1007 jsonw_null(json_wtr); in do_pin()
1075 jsonw_null(json_wtr); in do_attach()
1097 jsonw_null(json_wtr); in do_detach()
1790 jsonw_null(json_wtr); in load_with_options()
[all …]
A Dbtf.c105 json_writer_t *w = json_wtr; in dump_btf_type()
411 jsonw_end_object(json_wtr); in dump_btf_type()
425 jsonw_start_object(json_wtr); in dump_btf_raw()
426 jsonw_name(json_wtr, "types"); in dump_btf_raw()
427 jsonw_start_array(json_wtr); in dump_btf_raw()
451 jsonw_end_array(json_wtr); in dump_btf_raw()
452 jsonw_end_object(json_wtr); in dump_btf_raw()
903 jsonw_name(json_wtr, "prog_ids"); in show_btf_json()
906 jsonw_uint(json_wtr, entry->value); in show_btf_json()
910 jsonw_name(json_wtr, "map_ids"); in show_btf_json()
[all …]
A Dfeature.c97 jsonw_null_field(json_wtr, name); in print_kernel_option()
125 jsonw_name(json_wtr, json_title); in print_start_section()
126 jsonw_start_object(json_wtr); in print_start_section()
137 jsonw_end_object(json_wtr); in print_end_section()
743 jsonw_name(json_wtr, feat_name); in probe_helpers_for_progtype()
744 jsonw_start_array(json_wtr); in probe_helpers_for_progtype()
769 jsonw_end_array(json_wtr); in probe_helpers_for_progtype()
1241 jsonw_start_object(json_wtr); in do_probe()
1256 jsonw_end_object(json_wtr); in do_probe()
1302 jsonw_string(json_wtr, name); in do_list_builtins()
[all …]
A Dcommon.c46 jsonw_start_object(json_wtr); in p_err()
47 jsonw_name(json_wtr, "error"); in p_err()
48 jsonw_vprintf_enquote(json_wtr, fmt, ap); in p_err()
49 jsonw_end_object(json_wtr); in p_err()
450 jsonw_start_array(json_wtr); in print_data_json()
453 jsonw_end_array(json_wtr); in print_data_json()
460 jsonw_start_array(json_wtr); in print_hex_data_json()
463 jsonw_end_array(json_wtr); in print_hex_data_json()
693 jsonw_name(json_wtr, "dev"); in print_dev_json()
694 jsonw_start_object(json_wtr); in print_dev_json()
[all …]
A Dtracelog.c118 jsonw_end_array(json_wtr); in exit_tracelog()
119 jsonw_destroy(&json_wtr); in exit_tracelog()
134 jsonw_start_array(json_wtr); in do_tracelog()
158 jsonw_string(json_wtr, buff); in do_tracelog()
A Dstruct_ops.c229 jsonw_null(json_wtr); in do_search()
289 jsonw_null(json_wtr); in do_one_id()
345 NULL, json_wtr); in do_show()
402 json_writer_t *wtr = json_wtr; in do_dump()
550 jsonw_null(json_wtr); in do_register()
558 jsonw_null(json_wtr); in do_help()
A Dnetlink_dumper.c52 jsonw_name(json_wtr, "multi_attachments"); in do_xdp_dump_one()
53 jsonw_start_array(json_wtr); in do_xdp_dump_one()
59 jsonw_end_array(json_wtr); in do_xdp_dump_one()
A Dnet.c607 jsonw_null(json_wtr); in do_attach()
645 jsonw_null(json_wtr); in do_detach()
682 jsonw_start_array(json_wtr); in do_show()
706 jsonw_end_array(json_wtr); in do_show()
710 jsonw_null(json_wtr); in do_show()
722 jsonw_null(json_wtr); in do_help()
A Dmain.h77 extern json_writer_t *json_wtr;
122 json_writer_t *json_wtr);
A Dbtf_dumper.c807 jsonw_string_field(json_wtr, "src", ltrim(line)); in btf_dump_linfo_json()
813 jsonw_string_field(json_wtr, "file", file); in btf_dump_linfo_json()
816 jsonw_int_field(json_wtr, "line_num", in btf_dump_linfo_json()
820 jsonw_int_field(json_wtr, "line_col", in btf_dump_linfo_json()
A Dgen.c1615 jsonw_null(json_wtr); in do_help()

Completed in 39 milliseconds