Lines Matching refs:probebuf
351 tnf_probevals_t probebuf; in _tnfctl_prbk_flush() local
353 probebuf.probenum = p->probe_id; in _tnfctl_prbk_flush()
354 probebuf.enabled = (p->wrkprbctl.test_func != NULL); in _tnfctl_prbk_flush()
355 probebuf.traced = (p->wrkprbctl.commit_func == PRBK_DUMMY_COMMIT); in _tnfctl_prbk_flush()
356 if (ioctl(hndl->kfd, TIFIOCSPROBEVALS, &probebuf) < 0) in _tnfctl_prbk_flush()
370 tnf_probevals_t probebuf; in _tnfctl_refresh_kernel() local
414 probebuf.probenum = i; in _tnfctl_refresh_kernel()
415 if (ioctl(hndl->kfd, TIFIOCGPROBEVALS, &probebuf) < 0) { in _tnfctl_refresh_kernel()
433 p->wrkprbctl.test_func = (probebuf.enabled) ? in _tnfctl_refresh_kernel()
435 p->wrkprbctl.commit_func = (probebuf.traced) ? in _tnfctl_refresh_kernel()
438 if (probebuf.attrsize < sizeof (probebuf)) in _tnfctl_refresh_kernel()
439 probebuf.attrsize = sizeof (probebuf); in _tnfctl_refresh_kernel()
440 p->attr_string = malloc(probebuf.attrsize); in _tnfctl_refresh_kernel()
448 *(tnf_probevals_t *) p->attr_string = probebuf; in _tnfctl_refresh_kernel()