/kernel/linux/linux-5.10/tools/bpf/bpftool/ |
H A 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( in dump_btf_type() [all...] |
H A 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()
|
H A D | netlink_dumper.h | 74 jsonw_uint_field(json_wtr, name, val); \
|
H A D | json_writer.h | 54 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
|
H A D | cgroup.c | 68 jsonw_uint_field(json_wtr, "id", info.id); in show_bpf_prog() 73 jsonw_uint_field(json_wtr, "attach_type", attach_type); in show_bpf_prog()
|
H A D | json_writer.c | 276 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) in jsonw_uint_field() function 318 jsonw_uint_field(wr, "downloads", 2000000ul); in main()
|
H A 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()
|
H A D | prog.c | 353 jsonw_uint_field(json_wtr, "id", info->id); in print_prog_header_json() 358 jsonw_uint_field(json_wtr, "type", info->type); in print_prog_header_json() 370 jsonw_uint_field(json_wtr, "run_time_ns", info->run_time_ns); in print_prog_header_json() 371 jsonw_uint_field(json_wtr, "run_cnt", info->run_cnt); in print_prog_header_json() 391 jsonw_uint_field(json_wtr, "uid", info->created_by_uid); in print_prog_json() 394 jsonw_uint_field(json_wtr, "bytes_xlated", info->xlated_prog_len); in print_prog_json() 398 jsonw_uint_field(json_wtr, "bytes_jited", info->jited_prog_len); in print_prog_json() 1321 jsonw_uint_field(json_wtr, "retval", test_attr.retval); in do_run() 1322 jsonw_uint_field(json_wtr, "duration", test_attr.duration); in do_run()
|
H A D | common.c | 618 jsonw_uint_field(json_wtr, "ifindex", ifindex); in print_dev_json() 619 jsonw_uint_field(json_wtr, "ns_dev", ns_dev); in print_dev_json() 620 jsonw_uint_field(json_wtr, "ns_inode", ns_inode); in print_dev_json()
|
H A D | perf.c | 69 jsonw_uint_field(json_wtr, "prog_id", prog_id); in print_perf_json()
|
H A D | struct_ops.c | 320 jsonw_uint_field(wtr, "id", info->id); in __do_show()
|
/kernel/linux/linux-6.6/tools/bpf/bpftool/ |
H A D | btf.c | 110 jsonw_uint_field(w, "id", id); in dump_btf_type() 126 jsonw_uint_field(w, "size", t->size); in dump_btf_type() 127 jsonw_uint_field(w, "bits_offset", BTF_INT_OFFSET(v)); in dump_btf_type() 128 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( in dump_btf_type() [all...] |
H A D | link.c | 132 jsonw_uint_field(wtr, "id", info->id); in show_link_header_json() 137 jsonw_uint_field(wtr, "type", info->type); in show_link_header_json() 139 jsonw_uint_field(json_wtr, "prog_id", info->prog_id); in show_link_header_json() 150 jsonw_uint_field(wtr, "attach_type", attach_type); in show_link_attach_type_json() 162 jsonw_uint_field(wtr, "ifindex", ifindex); in show_link_ifindex_json() 208 jsonw_uint_field(wtr, "map_id", info->iter.map.map_id); in show_iter_json() 211 jsonw_uint_field(wtr, "tid", info->iter.task.tid); in show_iter_json() 213 jsonw_uint_field(wtr, "pid", info->iter.task.pid); in show_iter_json() 225 jsonw_uint_field(json_wtr, "pf", in netfilter_dump_json() 227 jsonw_uint_field(json_wt in netfilter_dump_json() [all...] |
H A D | cgroup.c | 134 jsonw_uint_field(json_wtr, "id", info.id); in show_bpf_prog() 138 jsonw_uint_field(json_wtr, "attach_type", attach_type); in show_bpf_prog() 144 jsonw_uint_field(json_wtr, "attach_btf_obj_id", info.attach_btf_obj_id); in show_bpf_prog() 145 jsonw_uint_field(json_wtr, "attach_btf_id", info.attach_btf_id); in show_bpf_prog()
|
H A D | netlink_dumper.h | 74 jsonw_uint_field(json_wtr, name, val); \
|
H A D | map.c | 143 jsonw_uint_field(json_wtr, "inner_map_id", in print_entry_json() 454 jsonw_uint_field(wtr, "id", info->id); in show_map_header_json() 459 jsonw_uint_field(wtr, "type", info->type); in show_map_header_json() 482 jsonw_uint_field(json_wtr, "bytes_key", info->key_size); in show_map_close_json() 483 jsonw_uint_field(json_wtr, "bytes_value", info->value_size); in show_map_close_json() 484 jsonw_uint_field(json_wtr, "max_entries", info->max_entries); in show_map_close_json() 503 jsonw_uint_field(json_wtr, "owner_prog_type", in show_map_close_json()
|
H A D | json_writer.h | 55 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
|
H A D | prog.c | 418 jsonw_uint_field(json_wtr, "id", info->id); in print_prog_header_json() 424 jsonw_uint_field(json_wtr, "type", info->type); in print_prog_header_json() 438 jsonw_uint_field(json_wtr, "run_time_ns", info->run_time_ns); in print_prog_header_json() 439 jsonw_uint_field(json_wtr, "run_cnt", info->run_cnt); in print_prog_header_json() 442 jsonw_uint_field(json_wtr, "recursion_misses", info->recursion_misses); in print_prog_header_json() 461 jsonw_uint_field(json_wtr, "uid", info->created_by_uid); in print_prog_json() 464 jsonw_uint_field(json_wtr, "bytes_xlated", info->xlated_prog_len); in print_prog_json() 468 jsonw_uint_field(json_wtr, "bytes_jited", info->jited_prog_len); in print_prog_json() 1421 jsonw_uint_field(json_wtr, "retval", test_attr.retval); in do_run() 1422 jsonw_uint_field(json_wt in do_run() [all...] |
H A D | json_writer.c | 276 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) in jsonw_uint_field() function 318 jsonw_uint_field(wr, "downloads", 2000000ul); in main()
|
H A D | perf.c | 71 jsonw_uint_field(json_wtr, "prog_id", prog_id); in print_perf_json()
|
H A D | common.c | 698 jsonw_uint_field(json_wtr, "ifindex", ifindex); in print_dev_json() 699 jsonw_uint_field(json_wtr, "ns_dev", ns_dev); in print_dev_json() 700 jsonw_uint_field(json_wtr, "ns_inode", ns_inode); in print_dev_json()
|
H A D | struct_ops.c | 318 jsonw_uint_field(wtr, "id", info->id); in __do_show()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | json_writer.h | 55 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
|
H A D | json_writer.c | 276 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num) in jsonw_uint_field() function 318 jsonw_uint_field(wr, "downloads", 2000000ul); in main()
|
H A D | test_progs.c | 315 jsonw_uint_field(w, "number", test->test_num); in dump_test_log() 344 jsonw_uint_field(w, "number", i+1); in dump_test_log() 1312 jsonw_uint_field(w, "success", succ_cnt); in calculate_summary_and_print_errors() 1313 jsonw_uint_field(w, "success_subtest", sub_succ_cnt); in calculate_summary_and_print_errors() 1314 jsonw_uint_field(w, "skipped", skip_cnt); in calculate_summary_and_print_errors() 1315 jsonw_uint_field(w, "failed", fail_cnt); in calculate_summary_and_print_errors()
|