Home
last modified time | relevance | path

Searched refs:json_writer (Results 1 – 8 of 8) sorted by relevance

/tools/bpf/bpftool/
A Dpids.c25 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 Dstruct_ops.c180 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 Djson_writer.h21 typedef struct json_writer json_writer_t;
A Djson_writer.c21 struct json_writer { struct
A DMakefile197 BOOTSTRAP_OBJS = $(addprefix $(BOOTSTRAP_OUTPUT),main.o common.o json_writer.o gen.o btf.o)
/tools/testing/selftests/bpf/
A Djson_writer.c1 ../../../bpf/bpftool/json_writer.c
A Djson_writer.h1 ../../../bpf/bpftool/json_writer.h
A DMakefile326 JSON_WRITER := $(OUTPUT)/json_writer.o
718 json_writer.c \

Completed in 12 milliseconds