Searched refs:json_writer_t (Results 1 – 11 of 11) sorted by relevance
| /linux/tools/bpf/bpftool/ |
| A D | json_writer.h | 20 typedef struct json_writer json_writer_t; typedef 23 json_writer_t *jsonw_new(FILE *f); 25 void jsonw_destroy(json_writer_t **self_p); 28 void jsonw_pretty(json_writer_t *self, bool on); 31 void jsonw_reset(json_writer_t *self); 41 void jsonw_bool(json_writer_t *self, bool value); 47 void jsonw_null(json_writer_t *self); 64 void jsonw_start_object(json_writer_t *self); 65 void jsonw_end_object(json_writer_t *self); 67 void jsonw_start_array(json_writer_t *self); [all …]
|
| A D | json_writer.c | 29 static void jsonw_indent(json_writer_t *self) in jsonw_indent() 37 static void jsonw_eol(json_writer_t *self) in jsonw_eol() 47 static void jsonw_eor(json_writer_t *self) in jsonw_eor() 93 json_writer_t *jsonw_new(FILE *f) in jsonw_new() 106 void jsonw_destroy(json_writer_t **self_p) in jsonw_destroy() 108 json_writer_t *self = *self_p; in jsonw_destroy() 122 void jsonw_reset(json_writer_t *self) in jsonw_reset() 185 void jsonw_end_object(json_writer_t *self) in jsonw_end_object() 195 void jsonw_end_array(json_writer_t *self) in jsonw_end_array() 212 void jsonw_null(json_writer_t *self) in jsonw_null() [all …]
|
| A D | main.h | 85 extern json_writer_t *json_wtr; 128 json_writer_t *json_wtr); 211 json_writer_t *jw;
|
| A D | link.c | 63 show_link_header_json(struct bpf_link_info *info, json_writer_t *wtr) in show_link_header_json() 74 static void show_link_attach_type_json(__u32 attach_type, json_writer_t *wtr) in show_link_attach_type_json() 89 static void show_iter_json(struct bpf_link_info *info, json_writer_t *wtr) in show_iter_json()
|
| A D | pids.c | 24 void emit_obj_refs_json(struct hashmap *map, __u32 id, json_writer_t *json_writer) {} in emit_obj_refs_json() 193 json_writer_t *json_writer) in emit_obj_refs_json()
|
| A D | map.c | 151 static json_writer_t *get_btf_writer(void) in get_btf_writer() 153 json_writer_t *jw = jsonw_new(stdout); in get_btf_writer() 472 static void show_map_header_json(struct bpf_map_info *info, json_writer_t *wtr) in show_map_header_json() 761 json_writer_t *btf_wtr) in dump_map_elem() 845 map_dump(int fd, struct bpf_map_info *info, json_writer_t *wtr, in map_dump() 916 json_writer_t *wtr = NULL, *btf_wtr = NULL; in do_dump() 1053 json_writer_t *btf_wtr; in print_key_value()
|
| A D | btf_dumper.c | 243 static void btf_int128_print(json_writer_t *jw, const void *data, in btf_int128_print() 318 const void *data, json_writer_t *jw, in btf_dumper_bitfield() 345 const void *data, json_writer_t *jw, in btf_dumper_int_bits() 362 const void *data, json_writer_t *jw, in btf_dumper_int()
|
| A D | main.c | 26 json_writer_t *json_wtr;
|
| A D | struct_ops.c | 404 json_writer_t *wtr = json_wtr; in do_dump()
|
| A D | btf.c | 108 json_writer_t *w = json_wtr; in dump_btf_type()
|
| A D | prog.c | 313 json_writer_t *btf_wtr; in show_prog_metadata()
|
Completed in 21 milliseconds