Home
last modified time | relevance | path

Searched refs:jsonw_uint_field (Results 1 - 25 of 25) sorted by relevance

/kernel/linux/linux-5.10/tools/bpf/bpftool/
H A Dbtf.c111 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 Dlink.c62 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 Dnetlink_dumper.h74 jsonw_uint_field(json_wtr, name, val); \
H A Djson_writer.h54 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
H A Dcgroup.c68 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 Djson_writer.c276 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 Dmap.c470 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 Dprog.c353 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 Dcommon.c618 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 Dperf.c69 jsonw_uint_field(json_wtr, "prog_id", prog_id); in print_perf_json()
H A Dstruct_ops.c320 jsonw_uint_field(wtr, "id", info->id); in __do_show()
/kernel/linux/linux-6.6/tools/bpf/bpftool/
H A Dbtf.c110 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 Dlink.c132 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 Dcgroup.c134 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 Dnetlink_dumper.h74 jsonw_uint_field(json_wtr, name, val); \
H A Dmap.c143 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 Djson_writer.h55 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
H A Dprog.c418 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 Djson_writer.c276 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 Dperf.c71 jsonw_uint_field(json_wtr, "prog_id", prog_id); in print_perf_json()
H A Dcommon.c698 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 Dstruct_ops.c318 jsonw_uint_field(wtr, "id", info->id); in __do_show()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Djson_writer.h55 void jsonw_uint_field(json_writer_t *self, const char *prop, uint64_t num);
H A Djson_writer.c276 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 Dtest_progs.c315 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()

Completed in 21 milliseconds