Home
last modified time | relevance | path

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

/linux-6.1.9/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.c71 jsonw_name(json_wtr, "type"); in print_bpf_output()
73 jsonw_name(json_wtr, "cpu"); in print_bpf_output()
75 jsonw_name(json_wtr, "index"); in print_bpf_output()
78 jsonw_name(json_wtr, "timestamp"); in print_bpf_output()
80 jsonw_name(json_wtr, "data"); in print_bpf_output()
83 jsonw_name(json_wtr, "lost"); in print_bpf_output()
85 jsonw_name(json_wtr, "id"); in print_bpf_output()
87 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.c83 jsonw_name(d->jw, "key"); in do_dump_btf()
94 jsonw_name(d->jw, "value"); in do_dump_btf()
99 jsonw_name(d->jw, "values"); in do_dump_btf()
106 jsonw_name(d->jw, "value"); in do_dump_btf()
139 jsonw_name(json_wtr, "key"); in print_entry_json()
141 jsonw_name(json_wtr, "value"); in print_entry_json()
150 jsonw_name(json_wtr, "formatted"); in print_entry_json()
159 jsonw_name(json_wtr, "key"); in print_entry_json()
162 jsonw_name(json_wtr, "values"); in print_entry_json()
169 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.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()
Dbtf.c170 jsonw_name(w, "members"); in dump_btf_type()
219 jsonw_name(w, "values"); in dump_btf_type()
257 jsonw_name(w, "values"); in dump_btf_type()
316 jsonw_name(w, "params"); in dump_btf_type()
360 jsonw_name(w, "vars"); in dump_btf_type()
426 jsonw_name(json_wtr, "types"); in dump_btf_raw()
908 jsonw_name(json_wtr, "prog_ids"); in show_btf_json()
916 jsonw_name(json_wtr, "map_ids"); in show_btf_json()
Dprog.c204 jsonw_name(json_wtr, "map_ids"); in show_prog_maps()
352 jsonw_name(json_wtr, "metadata"); in show_prog_metadata()
357 jsonw_name(json_wtr, name + BPF_METADATA_PREFIX_LEN); in show_prog_metadata()
429 jsonw_name(json_wtr, "tag"); in print_prog_header_json()
457 jsonw_name(json_wtr, "loaded_at"); in print_prog_json()
485 jsonw_name(json_wtr, "pinned"); in print_prog_json()
811 jsonw_name(json_wtr, "proto"); in prog_dump()
814 jsonw_name(json_wtr, "name"); in prog_dump()
816 jsonw_name(json_wtr, "insns"); in prog_dump()
972 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.c493 jsonw_name(d->jw, btf__name_by_offset(d->btf, m[i].name_off)); in btf_dumper_struct()
520 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_var()
542 jsonw_name(d->jw, btf__name_by_offset(d->btf, t->name_off)); in btf_dumper_datasec()
Dpids.c213 jsonw_name(json_writer, "pids"); in emit_obj_refs_json()
Dfeature.c125 jsonw_name(json_wtr, json_title); in print_start_section()
743 jsonw_name(json_wtr, feat_name); in probe_helpers_for_progtype()
Dcommon.c45 jsonw_name(json_wtr, "error"); in p_err()
689 jsonw_name(json_wtr, "dev"); in print_dev_json()
Dlink.c205 jsonw_name(json_wtr, "pinned"); in show_link_close_json()
Dcgroup.c396 jsonw_name(json_wtr, "programs"); in do_show_tree_fn()