H A D | data-convert-json.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 #include "data-convert.h" 31 #include <event-parse.h> 36 FILE *out; member 41 // Outputs a JSON-encoded string surrounded by quotes with characters escaped. 42 static void output_json_string(FILE *out, const char *s) in output_json_string() argument 44 fputc('"', out); in output_json_string() 73 output_json_delimiters(FILE * out,bool comma,int depth) output_json_delimiters() argument 86 output_json_format(FILE * out,bool comma,int depth,const char * format,...) output_json_format() argument 97 output_json_key_string(FILE * out,bool comma,int depth,const char * key,const char * value) output_json_key_string() argument 108 output_json_key_format(FILE * out,bool comma,int depth,const char * key,const char * format,...) output_json_key_format() argument 125 FILE *out = c->out; output_sample_callchain_entry() local 156 FILE *out = c->out; process_sample_event() local 264 FILE *out = c->out; output_headers() local [all...] |