Lines Matching refs:eventbuf
77 char eventbuf[128]; in startentry() local
79 snprintf(eventbuf, sizeof(eventbuf), "%s, \"tsc\": \"%jd\"", in startentry()
81 return (string(eventbuf)); in startentry()
87 char eventbuf[256]; in initialize_to_json() local
91 snprintf(eventbuf, sizeof(eventbuf), in initialize_to_json()
97 return string(eventbuf); in initialize_to_json()
103 char eventbuf[256]; in pmcallocate_to_json() local
107 snprintf(eventbuf, sizeof(eventbuf), in pmcallocate_to_json()
112 return string(eventbuf); in pmcallocate_to_json()
118 char eventbuf[2048]; in pmcattach_to_json() local
122 snprintf(eventbuf, sizeof(eventbuf), in pmcattach_to_json()
126 return string(eventbuf); in pmcattach_to_json()
132 char eventbuf[128]; in pmcdetach_to_json() local
136 snprintf(eventbuf, sizeof(eventbuf), in pmcdetach_to_json()
139 return string(eventbuf); in pmcdetach_to_json()
146 char eventbuf[128]; in proccsw_to_json() local
150 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pmcid\": \"0x%08x\", \"pid\": \"%d\" " in proccsw_to_json()
154 return string(eventbuf); in proccsw_to_json()
160 char eventbuf[2048]; in procexec_to_json() local
164 snprintf(eventbuf, sizeof(eventbuf), in procexec_to_json()
169 return string(eventbuf); in procexec_to_json()
175 char eventbuf[128]; in procexit_to_json() local
179 snprintf(eventbuf, sizeof(eventbuf), in procexit_to_json()
184 return string(eventbuf); in procexit_to_json()
190 char eventbuf[128]; in procfork_to_json() local
194 snprintf(eventbuf, sizeof(eventbuf), in procfork_to_json()
197 return string(eventbuf); in procfork_to_json()
203 char eventbuf[128]; in sysexit_to_json() local
207 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\"}\n", in sysexit_to_json()
209 return string(eventbuf); in sysexit_to_json()
215 char eventbuf[128]; in userdata_to_json() local
219 snprintf(eventbuf, sizeof(eventbuf), "%s, \"userdata\": \"0x%08x\"}\n", in userdata_to_json()
221 return string(eventbuf); in userdata_to_json()
227 char eventbuf[2048]; in map_in_to_json() local
231 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\", " in map_in_to_json()
235 return string(eventbuf); in map_in_to_json()
241 char eventbuf[256]; in map_out_to_json() local
245 snprintf(eventbuf, sizeof(eventbuf), "%s, \"pid\": \"%d\", " in map_out_to_json()
250 return string(eventbuf); in map_out_to_json()
256 char eventbuf[1024]; in callchain_to_json() local
262 snprintf(eventbuf, sizeof(eventbuf), in callchain_to_json()
267 result = string(eventbuf); in callchain_to_json()
269 snprintf(eventbuf, sizeof(eventbuf), "\"0x%016jx\", ", (uintmax_t)ev->pl_u.pl_cc.pl_pc[i]); in callchain_to_json()
270 result += string(eventbuf); in callchain_to_json()
272 snprintf(eventbuf, sizeof(eventbuf), "\"0x%016jx\"]}\n", (uintmax_t)ev->pl_u.pl_cc.pl_pc[i]); in callchain_to_json()
273 result += string(eventbuf); in callchain_to_json()
280 char eventbuf[2048]; in pmcallocatedyn_to_json() local
284 snprintf(eventbuf, sizeof(eventbuf), in pmcallocatedyn_to_json()
288 return string(eventbuf); in pmcallocatedyn_to_json()
294 char eventbuf[2048]; in proccreate_to_json() local
298 snprintf(eventbuf, sizeof(eventbuf), in proccreate_to_json()
302 return string(eventbuf); in proccreate_to_json()
308 char eventbuf[2048]; in threadcreate_to_json() local
312 snprintf(eventbuf, sizeof(eventbuf), in threadcreate_to_json()
316 return string(eventbuf); in threadcreate_to_json()
322 char eventbuf[256]; in threadexit_to_json() local
326 snprintf(eventbuf, sizeof(eventbuf), "%s, \"tid\": \"%d\"}\n", in threadexit_to_json()
328 return string(eventbuf); in threadexit_to_json()