Home
last modified time | relevance | path

Searched refs:jsonw_name (Results 1 – 18 of 18) sorted by relevance

/linux-5.19.10/tools/bpf/bpftool/
Djson_writer.c150 void jsonw_name(json_writer_t *self, const char *name) in jsonw_name() function
252 jsonw_name(self, prop); in jsonw_string_field()
258 jsonw_name(self, prop); in jsonw_bool_field()
265 jsonw_name(self, prop); in jsonw_float_field()
275 jsonw_name(self, prop); in jsonw_float_field_fmt()
281 jsonw_name(self, prop); in jsonw_uint_field()
287 jsonw_name(self, prop); in jsonw_hu_field()
295 jsonw_name(self, prop); in jsonw_lluint_field()
301 jsonw_name(self, prop); in jsonw_int_field()
307 jsonw_name(self, prop); in jsonw_null_field()
[all …]
Dmap_perf_ring.c78 jsonw_name(json_wtr, "type"); in print_bpf_output()
80 jsonw_name(json_wtr, "cpu"); in print_bpf_output()
82 jsonw_name(json_wtr, "index"); in print_bpf_output()
85 jsonw_name(json_wtr, "timestamp"); in print_bpf_output()
87 jsonw_name(json_wtr, "data"); in print_bpf_output()
90 jsonw_name(json_wtr, "lost"); in print_bpf_output()
92 jsonw_name(json_wtr, "id"); in print_bpf_output()
94 jsonw_name(json_wtr, "count"); in print_bpf_output()
Dxlated_dumper.c247 jsonw_name(json_wtr, "proto"); in dump_xlated_json()
264 jsonw_name(json_wtr, "disasm"); in dump_xlated_json()
268 jsonw_name(json_wtr, "opcodes"); in dump_xlated_json()
271 jsonw_name(json_wtr, "code"); in dump_xlated_json()
274 jsonw_name(json_wtr, "src_reg"); in dump_xlated_json()
277 jsonw_name(json_wtr, "dst_reg"); in dump_xlated_json()
280 jsonw_name(json_wtr, "off"); in dump_xlated_json()
283 jsonw_name(json_wtr, "imm"); in dump_xlated_json()
Dmap.c113 jsonw_name(d->jw, "key"); in do_dump_btf()
124 jsonw_name(d->jw, "value"); in do_dump_btf()
129 jsonw_name(d->jw, "values"); in do_dump_btf()
136 jsonw_name(d->jw, "value"); in do_dump_btf()
169 jsonw_name(json_wtr, "key"); in print_entry_json()
171 jsonw_name(json_wtr, "value"); in print_entry_json()
180 jsonw_name(json_wtr, "formatted"); in print_entry_json()
189 jsonw_name(json_wtr, "key"); in print_entry_json()
192 jsonw_name(json_wtr, "values"); in print_entry_json()
199 jsonw_name(json_wtr, "value"); in print_entry_json()
[all …]
Dmain.c101 jsonw_name(json_wtr, "version"); in do_version()
108 jsonw_name(json_wtr, "libbpf_version"); in do_version()
112 jsonw_name(json_wtr, "features"); in do_version()
381 jsonw_name(json_wtr, "command"); in do_batch()
386 jsonw_name(json_wtr, "output"); in do_batch()
Dnetlink_dumper.h16 jsonw_name(json_wtr, name); \
56 jsonw_name(json_wtr, name); \
Djit_disasm.c63 jsonw_name(json_wtr, "operands"); in fprintf_json()
156 jsonw_name(json_wtr, "pc"); in disasm_print_insn()
178 jsonw_name(json_wtr, "opcodes"); in disasm_print_insn()
Dbtf.c174 jsonw_name(w, "members"); in dump_btf_type()
220 jsonw_name(w, "values"); in dump_btf_type()
270 jsonw_name(w, "params"); in dump_btf_type()
314 jsonw_name(w, "vars"); in dump_btf_type()
380 jsonw_name(json_wtr, "types"); in dump_btf_raw()
863 jsonw_name(json_wtr, "prog_ids"); in show_btf_json()
871 jsonw_name(json_wtr, "map_ids"); in show_btf_json()
Dprog.c222 jsonw_name(json_wtr, "map_ids"); in show_prog_maps()
370 jsonw_name(json_wtr, "metadata"); in show_prog_metadata()
375 jsonw_name(json_wtr, name + BPF_METADATA_PREFIX_LEN); in show_prog_metadata()
445 jsonw_name(json_wtr, "tag"); in print_prog_header_json()
473 jsonw_name(json_wtr, "loaded_at"); in print_prog_json()
501 jsonw_name(json_wtr, "pinned"); in print_prog_json()
825 jsonw_name(json_wtr, "proto"); in prog_dump()
828 jsonw_name(json_wtr, "name"); in prog_dump()
830 jsonw_name(json_wtr, "insns"); in prog_dump()
986 jsonw_name(json_wtr, "insns"); in do_dump()
[all …]
Djson_writer.h34 void jsonw_name(json_writer_t *self, const char *name);
Dstruct_ops.c387 jsonw_name(wtr, "bpf_map_info"); in __do_dump()
392 jsonw_name(wtr, struct_ops_name); in __do_dump()
Dnetlink_dumper.c52 jsonw_name(json_wtr, "multi_attachments"); in do_xdp_dump_one()
Dbtf_dumper.c467 jsonw_name(d->jw, btf__name_by_offset(d->btf, m[i].name_off)); in btf_dumper_struct()
494 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_var()
516 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_datasec()
Dpids.c212 jsonw_name(json_writer, "pids"); in emit_obj_refs_json()
Dcommon.c87 jsonw_name(json_wtr, "error"); in p_err()
657 jsonw_name(json_wtr, "dev"); in print_dev_json()
Dfeature.c125 jsonw_name(json_wtr, json_title); in print_start_section()
751 jsonw_name(json_wtr, feat_name); in probe_helpers_for_progtype()
Dcgroup.c274 jsonw_name(json_wtr, "programs"); in do_show_tree_fn()
Dlink.c170 jsonw_name(json_wtr, "pinned"); in show_link_close_json()