Searched refs:json_writer (Results 1 – 8 of 8) sorted by relevance
| /tools/bpf/bpftool/ |
| A D | pids.c | 25 void emit_obj_refs_json(struct hashmap *map, __u32 id, json_writer_t *json_writer) {} in emit_obj_refs_json() argument 203 json_writer_t *json_writer) in emit_obj_refs_json() argument 218 jsonw_lluint_field(json_writer, "bpf_cookie", refs->bpf_cookie); in emit_obj_refs_json() 220 jsonw_name(json_writer, "pids"); in emit_obj_refs_json() 221 jsonw_start_array(json_writer); in emit_obj_refs_json() 225 jsonw_start_object(json_writer); in emit_obj_refs_json() 226 jsonw_int_field(json_writer, "pid", ref->pid); in emit_obj_refs_json() 227 jsonw_string_field(json_writer, "comm", ref->comm); in emit_obj_refs_json() 228 jsonw_end_object(json_writer); in emit_obj_refs_json() 230 jsonw_end_array(json_writer); in emit_obj_refs_json()
|
| A D | struct_ops.c | 180 struct json_writer *wtr); 187 struct json_writer *wtr) in do_search() 236 struct json_writer *wtr) in do_one_id() 307 struct json_writer *wtr) in do_work_on_struct_ops() 320 struct json_writer *wtr) in __do_show() 357 struct json_writer *wtr) in __do_dump() 449 struct json_writer *wtr) in __do_unregister()
|
| A D | json_writer.h | 21 typedef struct json_writer json_writer_t;
|
| A D | json_writer.c | 21 struct json_writer { struct
|
| A D | Makefile | 197 BOOTSTRAP_OBJS = $(addprefix $(BOOTSTRAP_OUTPUT),main.o common.o json_writer.o gen.o btf.o)
|
| /tools/testing/selftests/bpf/ |
| A D | json_writer.c | 1 ../../../bpf/bpftool/json_writer.c
|
| A D | json_writer.h | 1 ../../../bpf/bpftool/json_writer.h
|
| A D | Makefile | 326 JSON_WRITER := $(OUTPUT)/json_writer.o 718 json_writer.c \
|
Completed in 12 milliseconds