Lines Matching refs:cpuIptBtsFd
234 if (!arch_perfCreate(run, run->pid, _HF_DYNFILE_BTS_EDGE, &run->linux.cpuIptBtsFd)) { in arch_perfOpen()
240 if (!arch_perfCreate(run, run->pid, _HF_DYNFILE_IPT_BLOCK, &run->linux.cpuIptBtsFd)) { in arch_perfOpen()
253 close(run->linux.cpuIptBtsFd); in arch_perfOpen()
254 run->linux.cpuIptBtsFd = 1; in arch_perfOpen()
282 close(run->linux.cpuIptBtsFd); in arch_perfClose()
283 run->linux.cpuIptBtsFd = -1; in arch_perfClose()
286 close(run->linux.cpuIptBtsFd); in arch_perfClose()
287 run->linux.cpuIptBtsFd = -1; in arch_perfClose()
307 ioctl(run->linux.cpuIptBtsFd, PERF_EVENT_IOC_ENABLE, 0); in arch_perfEnable()
310 ioctl(run->linux.cpuIptBtsFd, PERF_EVENT_IOC_ENABLE, 0); in arch_perfEnable()
357 run->linux.cpuIptBtsFd != -1) { in arch_perfAnalyze()
358 ioctl(run->linux.cpuIptBtsFd, PERF_EVENT_IOC_DISABLE, 0); in arch_perfAnalyze()
361 ioctl(run->linux.cpuIptBtsFd, PERF_EVENT_IOC_RESET, 0); in arch_perfAnalyze()
364 run->linux.cpuIptBtsFd != -1) { in arch_perfAnalyze()
365 ioctl(run->linux.cpuIptBtsFd, PERF_EVENT_IOC_DISABLE, 0); in arch_perfAnalyze()
368 ioctl(run->linux.cpuIptBtsFd, PERF_EVENT_IOC_RESET, 0); in arch_perfAnalyze()