Home
last modified time | relevance | path

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

/Linux-v5.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.c79 jsonw_name(json_wtr, "type"); in print_bpf_output()
81 jsonw_name(json_wtr, "cpu"); in print_bpf_output()
83 jsonw_name(json_wtr, "index"); in print_bpf_output()
86 jsonw_name(json_wtr, "timestamp"); in print_bpf_output()
88 jsonw_name(json_wtr, "data"); in print_bpf_output()
91 jsonw_name(json_wtr, "lost"); in print_bpf_output()
93 jsonw_name(json_wtr, "id"); in print_bpf_output()
95 jsonw_name(json_wtr, "count"); in print_bpf_output()
Dxlated_dumper.c240 jsonw_name(json_wtr, "proto"); in dump_xlated_json()
257 jsonw_name(json_wtr, "disasm"); in dump_xlated_json()
261 jsonw_name(json_wtr, "opcodes"); in dump_xlated_json()
264 jsonw_name(json_wtr, "code"); in dump_xlated_json()
267 jsonw_name(json_wtr, "src_reg"); in dump_xlated_json()
270 jsonw_name(json_wtr, "dst_reg"); in dump_xlated_json()
273 jsonw_name(json_wtr, "off"); in dump_xlated_json()
276 jsonw_name(json_wtr, "imm"); in dump_xlated_json()
Dmap.c108 jsonw_name(d->jw, "key"); in do_dump_btf()
119 jsonw_name(d->jw, "value"); in do_dump_btf()
124 jsonw_name(d->jw, "values"); in do_dump_btf()
131 jsonw_name(d->jw, "value"); in do_dump_btf()
164 jsonw_name(json_wtr, "key"); in print_entry_json()
166 jsonw_name(json_wtr, "value"); in print_entry_json()
175 jsonw_name(json_wtr, "formatted"); in print_entry_json()
184 jsonw_name(json_wtr, "key"); in print_entry_json()
187 jsonw_name(json_wtr, "values"); in print_entry_json()
194 jsonw_name(json_wtr, "value"); in print_entry_json()
[all …]
Dnetlink_dumper.h16 jsonw_name(json_wtr, name); \
56 jsonw_name(json_wtr, name); \
Djit_disasm.c61 jsonw_name(json_wtr, "operands"); in fprintf_json()
154 jsonw_name(json_wtr, "pc"); in disasm_print_insn()
176 jsonw_name(json_wtr, "opcodes"); in disasm_print_insn()
Dmain.c87 jsonw_name(json_wtr, "version"); in do_version()
90 jsonw_name(json_wtr, "features"); in do_version()
346 jsonw_name(json_wtr, "command"); in do_batch()
351 jsonw_name(json_wtr, "output"); in do_batch()
Dbtf.c170 jsonw_name(w, "members"); in dump_btf_type()
216 jsonw_name(w, "values"); in dump_btf_type()
266 jsonw_name(w, "params"); in dump_btf_type()
309 jsonw_name(w, "vars"); in dump_btf_type()
350 jsonw_name(json_wtr, "types"); in dump_btf_raw()
777 jsonw_name(json_wtr, "prog_ids"); in show_btf_json()
786 jsonw_name(json_wtr, "map_ids"); in show_btf_json()
Dprog.c144 jsonw_name(json_wtr, "map_ids"); in show_prog_maps()
292 jsonw_name(json_wtr, "metadata"); in show_prog_metadata()
297 jsonw_name(json_wtr, name + BPF_METADATA_PREFIX_LEN); in show_prog_metadata()
361 jsonw_name(json_wtr, "tag"); in print_prog_header_json()
387 jsonw_name(json_wtr, "loaded_at"); in print_prog_json()
415 jsonw_name(json_wtr, "pinned"); in print_prog_json()
722 jsonw_name(json_wtr, "proto"); in prog_dump()
725 jsonw_name(json_wtr, "name"); in prog_dump()
727 jsonw_name(json_wtr, "insns"); in prog_dump()
873 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.c457 jsonw_name(d->jw, btf__name_by_offset(d->btf, m[i].name_off)); in btf_dumper_struct()
484 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_var()
506 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_datasec()
Dpids.c194 jsonw_name(json_writer, "pids"); in emit_obj_refs_json()
Dfeature.c119 jsonw_name(json_wtr, json_title); in print_start_section()
610 jsonw_name(json_wtr, feat_name); in probe_helpers_for_progtype()
Dcommon.c78 jsonw_name(json_wtr, "error"); in p_err()
608 jsonw_name(json_wtr, "dev"); in print_dev_json()
Dcgroup.c271 jsonw_name(json_wtr, "programs"); in do_show_tree_fn()
Dlink.c162 jsonw_name(json_wtr, "pinned"); in show_link_close_json()