Lines Matching refs:eventbuf
75 char eventbuf[128]; in startentry() local
77 snprintf(eventbuf, sizeof(eventbuf), "%s, \"tsc\": \"%jd\"", in startentry()
79 return (string(eventbuf)); in startentry()
85 char eventbuf[256]; in initialize_to_json() local
89 snprintf(eventbuf, sizeof(eventbuf), in initialize_to_json()
95 return string(eventbuf); in initialize_to_json()
101 char eventbuf[256]; in pmcallocate_to_json() local
105 snprintf(eventbuf, sizeof(eventbuf), in pmcallocate_to_json()
110 return string(eventbuf); in pmcallocate_to_json()
116 char eventbuf[2048]; in pmcattach_to_json() local
120 snprintf(eventbuf, sizeof(eventbuf), in pmcattach_to_json()
124 return string(eventbuf); in pmcattach_to_json()
130 char eventbuf[128]; in pmcdetach_to_json() local
134 snprintf(eventbuf, sizeof(eventbuf), in pmcdetach_to_json()
137 return string(eventbuf); in pmcdetach_to_json()
144 char eventbuf[128]; in proccsw_to_json() local
148 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pmcid\": \"0x%08x\", \"pid\": \"%d\" " in proccsw_to_json()
152 return string(eventbuf); in proccsw_to_json()
158 char eventbuf[2048]; in procexec_to_json() local
162 snprintf(eventbuf, sizeof(eventbuf), in procexec_to_json()
167 return string(eventbuf); in procexec_to_json()
173 char eventbuf[128]; in procexit_to_json() local
177 snprintf(eventbuf, sizeof(eventbuf), in procexit_to_json()
182 return string(eventbuf); in procexit_to_json()
188 char eventbuf[128]; in procfork_to_json() local
192 snprintf(eventbuf, sizeof(eventbuf), in procfork_to_json()
195 return string(eventbuf); in procfork_to_json()
201 char eventbuf[128]; in sysexit_to_json() local
205 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\"}\n", in sysexit_to_json()
207 return string(eventbuf); in sysexit_to_json()
213 char eventbuf[128]; in userdata_to_json() local
217 snprintf(eventbuf, sizeof(eventbuf), "%s, \"userdata\": \"0x%08x\"}\n", in userdata_to_json()
219 return string(eventbuf); in userdata_to_json()
225 char eventbuf[2048]; in map_in_to_json() local
229 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\", " in map_in_to_json()
233 return string(eventbuf); in map_in_to_json()
239 char eventbuf[256]; in map_out_to_json() local
243 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\", " in map_out_to_json()
248 return string(eventbuf); in map_out_to_json()
254 char eventbuf[1024]; in callchain_to_json() local
260 snprintf(eventbuf, sizeof(eventbuf), in callchain_to_json()
265 result = string(eventbuf); in callchain_to_json()
267 snprintf(eventbuf, sizeof(eventbuf), "\"0x%016jx\", ", (uintmax_t)ev->pl_u.pl_cc.pl_pc[i]); in callchain_to_json()
268 result += string(eventbuf); in callchain_to_json()
270 snprintf(eventbuf, sizeof(eventbuf), "\"0x%016jx\"]}\n", (uintmax_t)ev->pl_u.pl_cc.pl_pc[i]); in callchain_to_json()
271 result += string(eventbuf); in callchain_to_json()
278 char eventbuf[2048]; in pmcallocatedyn_to_json() local
282 snprintf(eventbuf, sizeof(eventbuf), in pmcallocatedyn_to_json()
286 return string(eventbuf); in pmcallocatedyn_to_json()
292 char eventbuf[2048]; in proccreate_to_json() local
296 snprintf(eventbuf, sizeof(eventbuf), in proccreate_to_json()
300 return string(eventbuf); in proccreate_to_json()
306 char eventbuf[2048]; in threadcreate_to_json() local
310 snprintf(eventbuf, sizeof(eventbuf), in threadcreate_to_json()
314 return string(eventbuf); in threadcreate_to_json()
320 char eventbuf[256]; in threadexit_to_json() local
324 snprintf(eventbuf, sizeof(eventbuf), "%s, \"tid\": \"%d\"}\n", in threadexit_to_json()
326 return string(eventbuf); in threadexit_to_json()