Lines Matching refs:json_wtr
139 jsonw_uint_field(json_wtr, "prog_id", info->prog_id); in show_link_header_json()
225 jsonw_uint_field(json_wtr, "pf", in netfilter_dump_json()
227 jsonw_uint_field(json_wtr, "hook", in netfilter_dump_json()
229 jsonw_int_field(json_wtr, "prio", in netfilter_dump_json()
231 jsonw_uint_field(json_wtr, "flags", in netfilter_dump_json()
265 jsonw_bool_field(json_wtr, "retprobe", in show_kprobe_multi_json()
267 jsonw_uint_field(json_wtr, "func_cnt", info->kprobe_multi.count); in show_kprobe_multi_json()
268 jsonw_name(json_wtr, "funcs"); in show_kprobe_multi_json()
269 jsonw_start_array(json_wtr); in show_kprobe_multi_json()
279 jsonw_start_object(json_wtr); in show_kprobe_multi_json()
280 jsonw_uint_field(json_wtr, "addr", dd.sym_mapping[i].address); in show_kprobe_multi_json()
281 jsonw_string_field(json_wtr, "func", dd.sym_mapping[i].name); in show_kprobe_multi_json()
284 jsonw_name(json_wtr, "module"); in show_kprobe_multi_json()
285 jsonw_null(json_wtr); in show_kprobe_multi_json()
287 jsonw_string_field(json_wtr, "module", dd.sym_mapping[i].module); in show_kprobe_multi_json()
289 jsonw_end_object(json_wtr); in show_kprobe_multi_json()
293 jsonw_end_array(json_wtr); in show_kprobe_multi_json()
406 jsonw_start_object(json_wtr); in show_link_close_json()
408 show_link_header_json(info, json_wtr); in show_link_close_json()
412 jsonw_string_field(json_wtr, "tp_name", in show_link_close_json()
423 jsonw_string_field(json_wtr, "prog_type", prog_type_str); in show_link_close_json()
425 jsonw_uint_field(json_wtr, "prog_type", prog_info.type); in show_link_close_json()
428 json_wtr); in show_link_close_json()
429 jsonw_uint_field(json_wtr, "target_obj_id", info->tracing.target_obj_id); in show_link_close_json()
430 jsonw_uint_field(json_wtr, "target_btf_id", info->tracing.target_btf_id); in show_link_close_json()
433 jsonw_lluint_field(json_wtr, "cgroup_id", in show_link_close_json()
435 show_link_attach_type_json(info->cgroup.attach_type, json_wtr); in show_link_close_json()
438 show_iter_json(info, json_wtr); in show_link_close_json()
441 jsonw_uint_field(json_wtr, "netns_ino", in show_link_close_json()
443 show_link_attach_type_json(info->netns.attach_type, json_wtr); in show_link_close_json()
446 netfilter_dump_json(info, json_wtr); in show_link_close_json()
449 show_link_ifindex_json(info->tcx.ifindex, json_wtr); in show_link_close_json()
450 show_link_attach_type_json(info->tcx.attach_type, json_wtr); in show_link_close_json()
453 show_link_ifindex_json(info->xdp.ifindex, json_wtr); in show_link_close_json()
456 jsonw_uint_field(json_wtr, "map_id", in show_link_close_json()
460 show_kprobe_multi_json(info, json_wtr); in show_link_close_json()
465 show_perf_event_event_json(info, json_wtr); in show_link_close_json()
468 show_perf_event_tracepoint_json(info, json_wtr); in show_link_close_json()
472 show_perf_event_kprobe_json(info, json_wtr); in show_link_close_json()
476 show_perf_event_uprobe_json(info, json_wtr); in show_link_close_json()
489 jsonw_name(json_wtr, "pinned"); in show_link_close_json()
490 jsonw_start_array(json_wtr); in show_link_close_json()
492 jsonw_string(json_wtr, entry->pvalue); in show_link_close_json()
493 jsonw_end_array(json_wtr); in show_link_close_json()
496 emit_obj_refs_json(refs_table, info->id, json_wtr); in show_link_close_json()
498 jsonw_end_object(json_wtr); in show_link_close_json()
946 jsonw_start_array(json_wtr); in do_show()
971 jsonw_end_array(json_wtr); in do_show()
990 jsonw_null(json_wtr); in do_pin()
1017 jsonw_null(json_wtr); in do_detach()
1025 jsonw_null(json_wtr); in do_help()