Home
last modified time | relevance | path

Searched refs:wtr (Results 1 – 3 of 3) sorted by relevance

/linux-6.3-rc2/tools/bpf/bpftool/
A Dstruct_ops.c200 if (wtr) in do_search()
209 if (wtr) in do_search()
210 jsonw_end_array(wtr); in do_search()
316 if (wtr) { in __do_show()
322 jsonw_end_object(wtr); in __do_show()
387 jsonw_end_object(wtr); in __do_dump()
392 jsonw_end_object(wtr); in __do_dump()
421 if (!wtr) { in do_dump()
429 d.jw = wtr; in do_dump()
434 wtr); in do_dump()
[all …]
A Dlink.c55 show_link_header_json(struct bpf_link_info *info, json_writer_t *wtr) in show_link_header_json() argument
59 jsonw_uint_field(wtr, "id", info->id); in show_link_header_json()
62 jsonw_string_field(wtr, "type", link_type_str); in show_link_header_json()
64 jsonw_uint_field(wtr, "type", info->type); in show_link_header_json()
75 jsonw_string_field(wtr, "attach_type", attach_type_str); in show_link_attach_type_json()
77 jsonw_uint_field(wtr, "attach_type", attach_type); in show_link_attach_type_json()
120 jsonw_string_field(wtr, "target_name", target_name); in show_iter_json()
123 jsonw_uint_field(wtr, "map_id", info->iter.map.map_id); in show_iter_json()
126 jsonw_uint_field(wtr, "tid", info->iter.task.tid); in show_iter_json()
128 jsonw_uint_field(wtr, "pid", info->iter.task.pid); in show_iter_json()
[all …]
A Dmap.c446 jsonw_uint_field(wtr, "id", info->id); in show_map_header_json()
456 jsonw_name(wtr, "flags"); in show_map_header_json()
833 if (wtr) { in map_dump()
841 show_map_header_json(info, wtr); in map_dump()
842 jsonw_name(wtr, "elements"); in map_dump()
869 if (wtr) { in map_dump()
909 wtr = json_wtr; in do_dump()
919 wtr = btf_wtr; in do_dump()
925 if (wtr && nb_fds > 1) in do_dump()
933 if (!wtr && i != nb_fds - 1) in do_dump()
[all …]

Completed in 8 milliseconds