Searched refs:jsonw_uint_field (Results 1 – 11 of 11) sorted by relevance
/Linux-v5.10/tools/bpf/bpftool/ |
D | btf.c | 111 jsonw_uint_field(w, "id", id); in dump_btf_type() 127 jsonw_uint_field(w, "size", t->size); in dump_btf_type() 128 jsonw_uint_field(w, "bits_offset", BTF_INT_OFFSET(v)); in dump_btf_type() 129 jsonw_uint_field(w, "nr_bits", BTF_INT_BITS(v)); in dump_btf_type() 144 jsonw_uint_field(w, "type_id", t->type); in dump_btf_type() 152 jsonw_uint_field(w, "type_id", arr->type); in dump_btf_type() 153 jsonw_uint_field(w, "index_type_id", arr->index_type); in dump_btf_type() 154 jsonw_uint_field(w, "nr_elems", arr->nelems); in dump_btf_type() 168 jsonw_uint_field(w, "size", t->size); in dump_btf_type() 169 jsonw_uint_field(w, "vlen", vlen); in dump_btf_type() [all …]
|
D | link.c | 62 jsonw_uint_field(wtr, "id", info->id); in show_link_header_json() 66 jsonw_uint_field(wtr, "type", info->type); in show_link_header_json() 68 jsonw_uint_field(json_wtr, "prog_id", info->prog_id); in show_link_header_json() 77 jsonw_uint_field(wtr, "attach_type", attach_type); in show_link_attach_type_json() 93 jsonw_uint_field(wtr, "map_id", info->iter.map.map_id); in show_iter_json() 136 jsonw_uint_field(json_wtr, "prog_type", in show_link_close_json() 151 jsonw_uint_field(json_wtr, "netns_ino", in show_link_close_json()
|
D | netlink_dumper.h | 74 jsonw_uint_field(json_wtr, name, val); \
|
D | prog.c | 351 jsonw_uint_field(json_wtr, "id", info->id); in print_prog_header_json() 356 jsonw_uint_field(json_wtr, "type", info->type); in print_prog_header_json() 368 jsonw_uint_field(json_wtr, "run_time_ns", info->run_time_ns); in print_prog_header_json() 369 jsonw_uint_field(json_wtr, "run_cnt", info->run_cnt); in print_prog_header_json() 389 jsonw_uint_field(json_wtr, "uid", info->created_by_uid); in print_prog_json() 392 jsonw_uint_field(json_wtr, "bytes_xlated", info->xlated_prog_len); in print_prog_json() 396 jsonw_uint_field(json_wtr, "bytes_jited", info->jited_prog_len); in print_prog_json() 1319 jsonw_uint_field(json_wtr, "retval", test_attr.retval); in do_run() 1320 jsonw_uint_field(json_wtr, "duration", test_attr.duration); in do_run()
|
D | json_writer.h | 54 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
|
D | json_writer.c | 279 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) in jsonw_uint_field() function 321 jsonw_uint_field(wr, "downloads", 2000000ul); in main()
|
D | cgroup.c | 67 jsonw_uint_field(json_wtr, "id", info.id); in show_bpf_prog() 72 jsonw_uint_field(json_wtr, "attach_type", attach_type); in show_bpf_prog()
|
D | map.c | 470 jsonw_uint_field(wtr, "id", info->id); in show_map_header_json() 474 jsonw_uint_field(wtr, "type", info->type); in show_map_header_json() 497 jsonw_uint_field(json_wtr, "bytes_key", info->key_size); in show_map_close_json() 498 jsonw_uint_field(json_wtr, "bytes_value", info->value_size); in show_map_close_json() 499 jsonw_uint_field(json_wtr, "max_entries", info->max_entries); in show_map_close_json() 516 jsonw_uint_field(json_wtr, "owner_prog_type", in show_map_close_json()
|
D | common.c | 610 jsonw_uint_field(json_wtr, "ifindex", ifindex); in print_dev_json() 611 jsonw_uint_field(json_wtr, "ns_dev", ns_dev); in print_dev_json() 612 jsonw_uint_field(json_wtr, "ns_inode", ns_inode); in print_dev_json()
|
D | perf.c | 69 jsonw_uint_field(json_wtr, "prog_id", prog_id); in print_perf_json()
|
D | struct_ops.c | 320 jsonw_uint_field(wtr, "id", info->id); in __do_show()
|