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()
170 return string(eventbuf); in procexec_to_json()
176 char eventbuf[128]; in procexit_to_json() local
180 snprintf(eventbuf, sizeof(eventbuf), in procexit_to_json()
185 return string(eventbuf); in procexit_to_json()
191 char eventbuf[128]; in procfork_to_json() local
195 snprintf(eventbuf, sizeof(eventbuf), in procfork_to_json()
198 return string(eventbuf); in procfork_to_json()
204 char eventbuf[128]; in sysexit_to_json() local
208 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\"}\n", in sysexit_to_json()
210 return string(eventbuf); in sysexit_to_json()
216 char eventbuf[128]; in userdata_to_json() local
220 snprintf(eventbuf, sizeof(eventbuf), "%s, \"userdata\": \"0x%08x\"}\n", in userdata_to_json()
222 return string(eventbuf); in userdata_to_json()
228 char eventbuf[2048]; in map_in_to_json() local
232 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\", " in map_in_to_json()
236 return string(eventbuf); in map_in_to_json()
242 char eventbuf[256]; in map_out_to_json() local
246 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\", " in map_out_to_json()
251 return string(eventbuf); in map_out_to_json()
257 char eventbuf[1024]; in callchain_to_json() local
263 snprintf(eventbuf, sizeof(eventbuf), in callchain_to_json()
268 result = string(eventbuf); in callchain_to_json()
270 snprintf(eventbuf, sizeof(eventbuf), "\"0x%016jx\", ", (uintmax_t)ev->pl_u.pl_cc.pl_pc[i]); in callchain_to_json()
271 result += string(eventbuf); in callchain_to_json()
273 snprintf(eventbuf, sizeof(eventbuf), "\"0x%016jx\"]}\n", (uintmax_t)ev->pl_u.pl_cc.pl_pc[i]); in callchain_to_json()
274 result += string(eventbuf); in callchain_to_json()
281 char eventbuf[2048]; in pmcallocatedyn_to_json() local
285 snprintf(eventbuf, sizeof(eventbuf), in pmcallocatedyn_to_json()
289 return string(eventbuf); in pmcallocatedyn_to_json()
295 char eventbuf[2048]; in proccreate_to_json() local
299 snprintf(eventbuf, sizeof(eventbuf), in proccreate_to_json()
303 return string(eventbuf); in proccreate_to_json()
309 char eventbuf[2048]; in threadcreate_to_json() local
313 snprintf(eventbuf, sizeof(eventbuf), in threadcreate_to_json()
317 return string(eventbuf); in threadcreate_to_json()
323 char eventbuf[256]; in threadexit_to_json() local
327 snprintf(eventbuf, sizeof(eventbuf), "%s, \"tid\": \"%d\"}\n", in threadexit_to_json()
329 return string(eventbuf); in threadexit_to_json()