Home
last modified time | relevance | path

Searched refs:probebuf (Results 1 – 2 of 2) sorted by relevance

/titanic_41/usr/src/lib/libtnfctl/
H A Dkernel_int.c351 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()
[all …]
/titanic_41/usr/src/uts/common/tnf/
H A Dtnf.c468 tnf_probevals_t probebuf; in tnf_getprobevals() local
472 if (ddi_copyin(arg, (caddr_t)&probebuf, sizeof (probebuf), mode)) in tnf_getprobevals()
477 p != NULL && i != probebuf.probenum; in tnf_getprobevals()
483 probebuf.enabled = (p->test_func != NULL); in tnf_getprobevals()
484 probebuf.traced = (p->probe_func == tnf_trace_commit); in tnf_getprobevals()
486 probebuf.attrsize = strlen(p->attrs) + 1; in tnf_getprobevals()
487 if (ddi_copyout((caddr_t)&probebuf, in tnf_getprobevals()
488 arg, sizeof (probebuf), mode)) in tnf_getprobevals()
498 tnf_probevals_t probebuf; in tnf_getprobestring() local
502 if (ddi_copyin(arg, (caddr_t)&probebuf, sizeof (probebuf), mode)) in tnf_getprobestring()
[all …]