Lines Matching refs:json_wtr
167 jsonw_start_object(json_wtr); in show_bpf_prog()
168 jsonw_uint_field(json_wtr, "id", info.id); in show_bpf_prog()
170 jsonw_string_field(json_wtr, "attach_type", attach_type_str); in show_bpf_prog()
172 jsonw_uint_field(json_wtr, "attach_type", attach_type); in show_bpf_prog()
174 jsonw_string_field(json_wtr, "attach_flags", attach_flags_str); in show_bpf_prog()
175 jsonw_string_field(json_wtr, "name", prog_name); in show_bpf_prog()
177 jsonw_string_field(json_wtr, "attach_btf_name", attach_btf_name); in show_bpf_prog()
178 jsonw_uint_field(json_wtr, "attach_btf_obj_id", info.attach_btf_obj_id); in show_bpf_prog()
179 jsonw_uint_field(json_wtr, "attach_btf_id", info.attach_btf_id); in show_bpf_prog()
180 jsonw_end_object(json_wtr); in show_bpf_prog()
365 jsonw_start_array(json_wtr); in do_show()
385 jsonw_end_array(json_wtr); in do_show()
428 jsonw_start_object(json_wtr); in do_show_tree_fn()
429 jsonw_string_field(json_wtr, "cgroup", fpath); in do_show_tree_fn()
430 jsonw_name(json_wtr, "programs"); in do_show_tree_fn()
431 jsonw_start_array(json_wtr); in do_show_tree_fn()
448 jsonw_end_array(json_wtr); in do_show_tree_fn()
449 jsonw_end_object(json_wtr); in do_show_tree_fn()
511 jsonw_start_array(json_wtr); in do_show_tree()
537 jsonw_end_array(json_wtr); in do_show_tree()
592 jsonw_null(json_wtr); in do_attach()
639 jsonw_null(json_wtr); in do_detach()
654 jsonw_null(json_wtr); in do_help()