Lines Matching refs:json_wtr

105 	json_writer_t *w = json_wtr;  in dump_btf_type()
411 jsonw_end_object(json_wtr); in dump_btf_type()
425 jsonw_start_object(json_wtr); in dump_btf_raw()
426 jsonw_name(json_wtr, "types"); in dump_btf_raw()
427 jsonw_start_array(json_wtr); in dump_btf_raw()
451 jsonw_end_array(json_wtr); in dump_btf_raw()
452 jsonw_end_object(json_wtr); in dump_btf_raw()
899 jsonw_start_object(json_wtr); /* btf object */ in show_btf_json()
900 jsonw_uint_field(json_wtr, "id", info->id); in show_btf_json()
901 jsonw_uint_field(json_wtr, "size", info->btf_size); in show_btf_json()
903 jsonw_name(json_wtr, "prog_ids"); in show_btf_json()
904 jsonw_start_array(json_wtr); /* prog_ids */ in show_btf_json()
906 jsonw_uint(json_wtr, entry->value); in show_btf_json()
908 jsonw_end_array(json_wtr); /* prog_ids */ in show_btf_json()
910 jsonw_name(json_wtr, "map_ids"); in show_btf_json()
911 jsonw_start_array(json_wtr); /* map_ids */ in show_btf_json()
913 jsonw_uint(json_wtr, entry->value); in show_btf_json()
915 jsonw_end_array(json_wtr); /* map_ids */ in show_btf_json()
917 emit_obj_refs_json(refs_table, info->id, json_wtr); /* pids */ in show_btf_json()
919 jsonw_bool_field(json_wtr, "kernel", info->kernel_btf); in show_btf_json()
922 jsonw_string_field(json_wtr, "name", name); in show_btf_json()
924 jsonw_end_object(json_wtr); /* btf object */ in show_btf_json()
1010 jsonw_start_array(json_wtr); /* root array */ in do_show()
1043 jsonw_end_array(json_wtr); /* root array */ in do_show()
1056 jsonw_null(json_wtr); in do_help()