Home
last modified time | relevance | path

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

/tools/bpf/bpftool/
Djson_writer.c147 void jsonw_name(json_writer_t *self, const char *name) in jsonw_name() function
249 jsonw_name(self, prop); in jsonw_string_field()
255 jsonw_name(self, prop); in jsonw_bool_field()
262 jsonw_name(self, prop); in jsonw_float_field()
272 jsonw_name(self, prop); in jsonw_float_field_fmt()
278 jsonw_name(self, prop); in jsonw_uint_field()
284 jsonw_name(self, prop); in jsonw_hu_field()
292 jsonw_name(self, prop); in jsonw_lluint_field()
298 jsonw_name(self, prop); in jsonw_int_field()
304 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.c246 jsonw_name(json_wtr, "proto"); in dump_xlated_json()
263 jsonw_name(json_wtr, "disasm"); in dump_xlated_json()
267 jsonw_name(json_wtr, "opcodes"); in dump_xlated_json()
270 jsonw_name(json_wtr, "code"); in dump_xlated_json()
273 jsonw_name(json_wtr, "src_reg"); in dump_xlated_json()
276 jsonw_name(json_wtr, "dst_reg"); in dump_xlated_json()
279 jsonw_name(json_wtr, "off"); in dump_xlated_json()
282 jsonw_name(json_wtr, "imm"); in dump_xlated_json()
Dnetlink_dumper.h16 jsonw_name(json_wtr, name); \
56 jsonw_name(json_wtr, name); \
Dmap.c109 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()
132 jsonw_name(d->jw, "value"); in do_dump_btf()
165 jsonw_name(json_wtr, "key"); in print_entry_json()
167 jsonw_name(json_wtr, "value"); in print_entry_json()
176 jsonw_name(json_wtr, "formatted"); in print_entry_json()
185 jsonw_name(json_wtr, "key"); in print_entry_json()
188 jsonw_name(json_wtr, "values"); in print_entry_json()
195 jsonw_name(json_wtr, "value"); in print_entry_json()
[all …]
Djit_disasm.c61 jsonw_name(json_wtr, "operands"); in printf_json()
182 jsonw_name(json_wtr, "pc"); in disasm_print_insn()
204 jsonw_name(json_wtr, "opcodes"); in disasm_print_insn()
Dmain.c91 jsonw_name(json_wtr, "version"); in do_version()
94 jsonw_name(json_wtr, "features"); in do_version()
352 jsonw_name(json_wtr, "command"); in do_batch()
357 jsonw_name(json_wtr, "output"); in do_batch()
Dbtf.c175 jsonw_name(w, "members"); in dump_btf_type()
221 jsonw_name(w, "values"); in dump_btf_type()
271 jsonw_name(w, "params"); in dump_btf_type()
315 jsonw_name(w, "vars"); in dump_btf_type()
370 jsonw_name(json_wtr, "types"); in dump_btf_raw()
824 jsonw_name(json_wtr, "prog_ids"); in show_btf_json()
833 jsonw_name(json_wtr, "map_ids"); in show_btf_json()
Djson_writer.h34 void jsonw_name(json_writer_t *self, const char *name);
Dprog.c148 jsonw_name(json_wtr, "map_ids"); in show_prog_maps()
296 jsonw_name(json_wtr, "metadata"); in show_prog_metadata()
301 jsonw_name(json_wtr, name + BPF_METADATA_PREFIX_LEN); in show_prog_metadata()
367 jsonw_name(json_wtr, "tag"); in print_prog_header_json()
395 jsonw_name(json_wtr, "loaded_at"); in print_prog_json()
423 jsonw_name(json_wtr, "pinned"); in print_prog_json()
735 jsonw_name(json_wtr, "proto"); in prog_dump()
738 jsonw_name(json_wtr, "name"); in prog_dump()
740 jsonw_name(json_wtr, "insns"); in prog_dump()
891 jsonw_name(json_wtr, "insns"); in do_dump()
[all …]
Dnetlink_dumper.c52 jsonw_name(json_wtr, "multi_attachments"); in do_xdp_dump_one()
Dstruct_ops.c387 jsonw_name(wtr, "bpf_map_info"); in __do_dump()
392 jsonw_name(wtr, struct_ops_name); in __do_dump()
Dbtf_dumper.c459 jsonw_name(d->jw, btf__name_by_offset(d->btf, m[i].name_off)); in btf_dumper_struct()
486 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_var()
508 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()
614 jsonw_name(json_wtr, feat_name); in probe_helpers_for_progtype()
Dcommon.c85 jsonw_name(json_wtr, "error"); in p_err()
623 jsonw_name(json_wtr, "dev"); in print_dev_json()
Dcgroup.c272 jsonw_name(json_wtr, "programs"); in do_show_tree_fn()
Dlink.c162 jsonw_name(json_wtr, "pinned"); in show_link_close_json()