/illumos-gate/usr/src/lib/libtnfprobe/ |
H A D | debug_funcs.c | 65 tnf_probe_control_t *probe_p; local 74 probe_p = set_p->probe_p; 78 attr_start = tnf_probe_get_value(probe_p, "name", &attr_len); 85 attr_start = tnf_probe_get_value(probe_p, "sunw%debug", &attr_len); 95 num_args = tnf_probe_get_num_args(probe_p); 103 name_start = tnf_probe_get_value(probe_p, "slots", &attr_len); 106 num_args = tnf_probe_get_num_args(probe_p); 121 arg_position = tnf_probe_get_arg_indexed(probe_p, i, buffer); 122 arg_type = tnf_probe_get_type_indexed(probe_p, [all...] |
H A D | tnf_args.c | 40 * probe_p. This includes the first 2 args (tag and time delta) in the return 44 tnf_probe_get_num_args(tnf_probe_control_t *probe_p) argument 49 tag_p = probe_p->slot_types; 67 tnf_probe_get_arg_indexed(tnf_probe_control_t *probe_p, int index, void *buffer) argument 76 tag_ppp = probe_p->slot_types; 108 tnf_probe_get_type_indexed(tnf_probe_control_t *probe_p, int index) argument 113 tag_ppp = probe_p->slot_types + index; 134 tnf_probe_get_value(tnf_probe_control_t *probe_p, char *attribute, argument 145 attr_start = probe_p->attrs;
|
H A D | trace_funcs.c | 99 tnf_trace_alloc(tnf_ops_t *ops, tnf_probe_control_t *probe_p, argument 140 probe_index = probe_p->index; 146 if ((probe_index = tnf_probe_tag(ops, probe_p)) == 0) { 168 size = probe_p->tnf_event_size; 282 set_p->probe_p = probe_p; 343 (set_p->probe_p->commit_func)(set_p);
|
H A D | probe_cntl.c | 96 tnf_probe_control_t *probe_p, 99 tnf_probe_control_t *probe_p, 756 tnf_threaded_test(void *dummy, tnf_probe_control_t *probe_p, argument 763 return (probe_p->alloc_func(tpd_p, probe_p, set_p)); 774 tnf_non_threaded_test(void *dummy, tnf_probe_control_t *probe_p, argument 781 return (probe_p->alloc_func(tpd_p, probe_p, set_p));
|
/illumos-gate/usr/src/uts/common/tnf/ |
H A D | tnf_probe.c | 74 tnf_probe_tag(tnf_ops_t *ops, tnf_probe_control_t *probe_p) argument 95 probe_p->index = (uintptr_t)buffer; 103 probe_p->index = (char *)fwp - tnf_buf; 105 probe_p->index = (char *)fwp - _tnfw_b_control->tnf_buffer; 107 probe_p->index |= TNF_TAG16_T_ABS; 108 probe_p->index = probe_p->index << PROBE_INDEX_SHIFT; 109 probe_p->index |= PROBE_INDEX_FILE_PTR; 118 nm_start = &(probe_p->attrs[NAME_START]); 120 nm_end = strchr(probe_p [all...] |
H A D | trace_funcs.c | 94 tnf_trace_alloc(tnf_ops_t *ops, tnf_probe_control_t *probe_p, argument 123 probe_index = probe_p->index; 125 if ((probe_index = tnf_probe_tag(ops, probe_p)) == 0) 132 size = probe_p->tnf_event_size; 230 set_p->probe_p = probe_p;
|
H A D | tnf.c | 931 tnf_test_1(void *tpdp, tnf_probe_control_t *probe_p, tnf_probe_setup_t *sp) argument 935 return (tnf_trace_alloc((tnf_ops_t *)tpdp, probe_p, sp)); 941 tnf_test_2(void *tpdp, tnf_probe_control_t *probe_p, tnf_probe_setup_t *sp) argument 945 return (tnf_trace_alloc((tnf_ops_t *)tpdp, probe_p, sp));
|
/illumos-gate/usr/src/lib/libtnfctl/ |
H A D | kernel_int.c | 474 prbctlref_t *probe_p; local 512 probe_p = &(nobj_p->probes[0]); 515 probe_p->obj = nobj_p; 517 probe_p->probe_id = i; 518 probe_p->probe_handle = calloc(1, sizeof (tnfctl_probe_t)); 519 if (probe_p->probe_handle == NULL) { 525 probe_p->probe_handle->valid = B_FALSE; 526 probe_p->probe_handle->probe_p = probe_p; [all...] |
H A D | probes.c | 293 prbctlref_t *probe_p; local 296 probe_p = &(obj->probes[i]); 297 if (probe_p->attr_string) 298 free(probe_p->attr_string); 299 if (probe_p->probe_handle) 300 probe_p->probe_handle->valid = B_FALSE; 564 prbctl_p->probe_handle->probe_p = prbctl_p; 609 prbctlref_t *probe_p; local 635 probe_p = &(cur->probes[i]); 637 probe_p 686 prbctlref_t *probe_p; local [all...] |
H A D | tnfctl_int.h | 117 prbctlref_t *probe_p; member in struct:tnfctl_probe_handle
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | tnf_probe.h | 93 tnf_probe_control_t *probe_p; member in struct:tnf_probe_setup
|
/illumos-gate/usr/src/cmd/tnf/prex/ |
H A D | list.c | 223 list_getattrs(tnfctl_probe_t *probe_p) argument 234 err = tnfctl_probe_state_get(g_hndl, probe_p, &p_state);
|
H A D | main.c | 122 static void * perprobe(tnfctl_handle_t *hndl, tnfctl_probe_t *probe_p); 124 tnfctl_probe_t *probe_p, void *ignored); 385 tnfctl_probe_t *probe_p; member in struct:__anon1887 395 tnfctl_probe_t *probe_p = args_p->probe_p; local 399 attrs = list_getattrs(probe_p); 417 err = tnfctl_probe_enable(hndl, probe_p, NULL); 420 err = tnfctl_probe_disable(hndl, probe_p, NULL); 423 err = tnfctl_probe_trace(hndl, probe_p, NULL); 426 err = tnfctl_probe_untrace(hndl, probe_p, NUL 452 perprobe(tnfctl_handle_t *hndl, tnfctl_probe_t *probe_p) argument 481 perprobe2(tnfctl_handle_t *hndl, tnfctl_probe_t *probe_p, void *cd) argument [all...] |