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()
291 jsonw_bool_field(json_wtr, "retprobe", in show_kprobe_multi_json()
293 jsonw_uint_field(json_wtr, "func_cnt", info->kprobe_multi.count); in show_kprobe_multi_json()
294 jsonw_uint_field(json_wtr, "missed", info->kprobe_multi.missed); in show_kprobe_multi_json()
295 jsonw_name(json_wtr, "funcs"); in show_kprobe_multi_json()
296 jsonw_start_array(json_wtr); in show_kprobe_multi_json()
312 jsonw_start_object(json_wtr); in show_kprobe_multi_json()
313 jsonw_uint_field(json_wtr, "addr", dd.sym_mapping[i].address); in show_kprobe_multi_json()
314 jsonw_string_field(json_wtr, "func", dd.sym_mapping[i].name); in show_kprobe_multi_json()
317 jsonw_name(json_wtr, "module"); in show_kprobe_multi_json()
318 jsonw_null(json_wtr); in show_kprobe_multi_json()
320 jsonw_string_field(json_wtr, "module", dd.sym_mapping[i].module); in show_kprobe_multi_json()
322 jsonw_uint_field(json_wtr, "cookie", data[j].cookie); in show_kprobe_multi_json()
323 jsonw_end_object(json_wtr); in show_kprobe_multi_json()
327 jsonw_end_array(json_wtr); in show_kprobe_multi_json()
342 jsonw_bool_field(json_wtr, "retprobe", in show_uprobe_multi_json()
344 jsonw_string_field(json_wtr, "path", (char *) u64_to_ptr(info->uprobe_multi.path)); in show_uprobe_multi_json()
345 jsonw_uint_field(json_wtr, "func_cnt", info->uprobe_multi.count); in show_uprobe_multi_json()
346 jsonw_int_field(json_wtr, "pid", (int) info->uprobe_multi.pid); in show_uprobe_multi_json()
347 jsonw_name(json_wtr, "funcs"); in show_uprobe_multi_json()
348 jsonw_start_array(json_wtr); in show_uprobe_multi_json()
351 jsonw_start_object(json_wtr); in show_uprobe_multi_json()
352 jsonw_uint_field(json_wtr, "offset", in show_uprobe_multi_json()
354 jsonw_uint_field(json_wtr, "ref_ctr_offset", in show_uprobe_multi_json()
356 jsonw_uint_field(json_wtr, "cookie", in show_uprobe_multi_json()
358 jsonw_end_object(json_wtr); in show_uprobe_multi_json()
360 jsonw_end_array(json_wtr); in show_uprobe_multi_json()
479 jsonw_start_object(json_wtr); in show_link_close_json()
481 show_link_header_json(info, json_wtr); in show_link_close_json()
485 jsonw_string_field(json_wtr, "tp_name", in show_link_close_json()
496 jsonw_string_field(json_wtr, "prog_type", prog_type_str); in show_link_close_json()
498 jsonw_uint_field(json_wtr, "prog_type", prog_info.type); in show_link_close_json()
501 json_wtr); in show_link_close_json()
502 jsonw_uint_field(json_wtr, "target_obj_id", info->tracing.target_obj_id); in show_link_close_json()
503 jsonw_uint_field(json_wtr, "target_btf_id", info->tracing.target_btf_id); in show_link_close_json()
506 jsonw_lluint_field(json_wtr, "cgroup_id", in show_link_close_json()
508 show_link_attach_type_json(info->cgroup.attach_type, json_wtr); in show_link_close_json()
511 show_iter_json(info, json_wtr); in show_link_close_json()
514 jsonw_uint_field(json_wtr, "netns_ino", in show_link_close_json()
516 show_link_attach_type_json(info->netns.attach_type, json_wtr); in show_link_close_json()
519 netfilter_dump_json(info, json_wtr); in show_link_close_json()
522 show_link_ifindex_json(info->tcx.ifindex, json_wtr); in show_link_close_json()
523 show_link_attach_type_json(info->tcx.attach_type, json_wtr); in show_link_close_json()
526 show_link_ifindex_json(info->netkit.ifindex, json_wtr); in show_link_close_json()
527 show_link_attach_type_json(info->netkit.attach_type, json_wtr); in show_link_close_json()
530 jsonw_uint_field(json_wtr, "map_id", info->sockmap.map_id); in show_link_close_json()
531 show_link_attach_type_json(info->sockmap.attach_type, json_wtr); in show_link_close_json()
534 show_link_ifindex_json(info->xdp.ifindex, json_wtr); in show_link_close_json()
537 jsonw_uint_field(json_wtr, "map_id", in show_link_close_json()
541 show_kprobe_multi_json(info, json_wtr); in show_link_close_json()
544 show_uprobe_multi_json(info, json_wtr); in show_link_close_json()
549 show_perf_event_event_json(info, json_wtr); in show_link_close_json()
552 show_perf_event_tracepoint_json(info, json_wtr); in show_link_close_json()
556 show_perf_event_kprobe_json(info, json_wtr); in show_link_close_json()
560 show_perf_event_uprobe_json(info, json_wtr); in show_link_close_json()
573 jsonw_name(json_wtr, "pinned"); in show_link_close_json()
574 jsonw_start_array(json_wtr); in show_link_close_json()
576 jsonw_string(json_wtr, entry->pvalue); in show_link_close_json()
577 jsonw_end_array(json_wtr); in show_link_close_json()
580 emit_obj_refs_json(refs_table, info->id, json_wtr); in show_link_close_json()
582 jsonw_end_object(json_wtr); in show_link_close_json()
1133 jsonw_start_array(json_wtr); in do_show()
1158 jsonw_end_array(json_wtr); in do_show()
1177 jsonw_null(json_wtr); in do_pin()
1204 jsonw_null(json_wtr); in do_detach()
1212 jsonw_null(json_wtr); in do_help()