Lines Matching refs:json_wtr
133 jsonw_start_object(json_wtr); in show_bpf_prog()
134 jsonw_uint_field(json_wtr, "id", info.id); in show_bpf_prog()
136 jsonw_string_field(json_wtr, "attach_type", attach_type_str); in show_bpf_prog()
138 jsonw_uint_field(json_wtr, "attach_type", attach_type); in show_bpf_prog()
140 jsonw_string_field(json_wtr, "attach_flags", attach_flags_str); in show_bpf_prog()
141 jsonw_string_field(json_wtr, "name", prog_name); in show_bpf_prog()
143 jsonw_string_field(json_wtr, "attach_btf_name", attach_btf_name); 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()
146 jsonw_end_object(json_wtr); in show_bpf_prog()
331 jsonw_start_array(json_wtr); in do_show()
351 jsonw_end_array(json_wtr); in do_show()
394 jsonw_start_object(json_wtr); in do_show_tree_fn()
395 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn()
396 jsonw_name(json_wtr, "programs"); in do_show_tree_fn()
397 jsonw_start_array(json_wtr); in do_show_tree_fn()
414 jsonw_end_array(json_wtr); in do_show_tree_fn()
415 jsonw_end_object(json_wtr); in do_show_tree_fn()
477 jsonw_start_array(json_wtr); in do_show_tree()
503 jsonw_end_array(json_wtr); in do_show_tree()
558 jsonw_null(json_wtr); in do_attach()
605 jsonw_null(json_wtr); in do_detach()
620 jsonw_null(json_wtr); in do_help()