/titanic_50/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) in tnf_probe_tag() argument 95 probe_p->index = (uintptr_t)buffer; in tnf_probe_tag() 103 probe_p->index = (char *)fwp - tnf_buf; in tnf_probe_tag() 105 probe_p->index = (char *)fwp - _tnfw_b_control->tnf_buffer; in tnf_probe_tag() 107 probe_p->index |= TNF_TAG16_T_ABS; in tnf_probe_tag() 108 probe_p->index = probe_p->index << PROBE_INDEX_SHIFT; in tnf_probe_tag() 109 probe_p->index |= PROBE_INDEX_FILE_PTR; in tnf_probe_tag() 118 nm_start = &(probe_p->attrs[NAME_START]); in tnf_probe_tag() 120 nm_end = strchr(probe_p->attrs, separator); in tnf_probe_tag() 170 ASSIGN(buffer, slot_types, probe_p->slot_types); in tnf_probe_tag() [all …]
|
H A D | trace_funcs.c | 94 tnf_trace_alloc(tnf_ops_t *ops, tnf_probe_control_t *probe_p, in tnf_trace_alloc() argument 123 probe_index = probe_p->index; in tnf_trace_alloc() 125 if ((probe_index = tnf_probe_tag(ops, probe_p)) == 0) in tnf_trace_alloc() 132 size = probe_p->tnf_event_size; in tnf_trace_alloc() 230 set_p->probe_p = probe_p; in tnf_trace_alloc()
|
H A D | tnf.c | 931 tnf_test_1(void *tpdp, tnf_probe_control_t *probe_p, tnf_probe_setup_t *sp) in tnf_test_1() argument 935 return (tnf_trace_alloc((tnf_ops_t *)tpdp, probe_p, sp)); in tnf_test_1() 941 tnf_test_2(void *tpdp, tnf_probe_control_t *probe_p, tnf_probe_setup_t *sp) in tnf_test_2() argument 945 return (tnf_trace_alloc((tnf_ops_t *)tpdp, probe_p, sp)); in tnf_test_2()
|
H A D | mkprobehdr.sh | 101 tnf_probe_control_t *probe_p;
|
/titanic_50/usr/src/lib/libtnfprobe/ |
H A D | debug_funcs.c | 65 tnf_probe_control_t *probe_p; in tnf_probe_debug() local 74 probe_p = set_p->probe_p; in tnf_probe_debug() 78 attr_start = tnf_probe_get_value(probe_p, "name", &attr_len); in tnf_probe_debug() 85 attr_start = tnf_probe_get_value(probe_p, "sunw%debug", &attr_len); in tnf_probe_debug() 95 num_args = tnf_probe_get_num_args(probe_p); in tnf_probe_debug() 103 name_start = tnf_probe_get_value(probe_p, "slots", &attr_len); in tnf_probe_debug() 106 num_args = tnf_probe_get_num_args(probe_p); in tnf_probe_debug() 121 arg_position = tnf_probe_get_arg_indexed(probe_p, i, buffer); in tnf_probe_debug() 122 arg_type = tnf_probe_get_type_indexed(probe_p, i); in tnf_probe_debug()
|
H A D | tnf_args.c | 44 tnf_probe_get_num_args(tnf_probe_control_t *probe_p) in tnf_probe_get_num_args() argument 49 tag_p = probe_p->slot_types; in tnf_probe_get_num_args() 67 tnf_probe_get_arg_indexed(tnf_probe_control_t *probe_p, int index, void *buffer) in tnf_probe_get_arg_indexed() argument 76 tag_ppp = probe_p->slot_types; in tnf_probe_get_arg_indexed() 108 tnf_probe_get_type_indexed(tnf_probe_control_t *probe_p, int index) in tnf_probe_get_type_indexed() argument 113 tag_ppp = probe_p->slot_types + index; in tnf_probe_get_type_indexed() 134 tnf_probe_get_value(tnf_probe_control_t *probe_p, char *attribute, in tnf_probe_get_value() argument 145 attr_start = probe_p->attrs; in tnf_probe_get_value()
|
H A D | trace_funcs.c | 99 tnf_trace_alloc(tnf_ops_t *ops, tnf_probe_control_t *probe_p, in tnf_trace_alloc() argument 140 probe_index = probe_p->index; in tnf_trace_alloc() 146 if ((probe_index = tnf_probe_tag(ops, probe_p)) == 0) { in tnf_trace_alloc() 168 size = probe_p->tnf_event_size; in tnf_trace_alloc() 282 set_p->probe_p = probe_p; in tnf_trace_alloc() 343 (set_p->probe_p->commit_func)(set_p); in tnf_trace_end()
|
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, in tnf_threaded_test() argument 763 return (probe_p->alloc_func(tpd_p, probe_p, set_p)); in tnf_threaded_test() 774 tnf_non_threaded_test(void *dummy, tnf_probe_control_t *probe_p, in tnf_non_threaded_test() argument 781 return (probe_p->alloc_func(tpd_p, probe_p, set_p)); in tnf_non_threaded_test()
|
/titanic_50/usr/src/lib/libtnfctl/ |
H A D | probes_ext.c | 195 state_p->id = probe_hndl->probe_p->probe_id; in tnfctl_probe_state_get() 196 state_p->attr_string = probe_hndl->probe_p->attr_string; in tnfctl_probe_state_get() 198 prbctl_p = &probe_hndl->probe_p->wrkprbctl; in tnfctl_probe_state_get() 202 state_p->new_probe = probe_hndl->probe_p->obj->new_probe; in tnfctl_probe_state_get() 203 state_p->obj_name = probe_hndl->probe_p->obj->objname; in tnfctl_probe_state_get() 272 prbctl_p = &probe_hndl->probe_p->wrkprbctl; in tnfctl_probe_enable() 274 prexstat = _tnfctl_flush_a_probe(hndl, probe_hndl->probe_p, in tnfctl_probe_enable() 298 prbctl_p = &probe_hndl->probe_p->wrkprbctl; in tnfctl_probe_disable() 300 prexstat = _tnfctl_flush_a_probe(hndl, probe_hndl->probe_p, in tnfctl_probe_disable() 323 prbctl_p = &probe_hndl->probe_p->wrkprbctl; in tnfctl_probe_trace() [all …]
|
H A D | probes.c | 293 prbctlref_t *probe_p; in free_obj_fields() local 296 probe_p = &(obj->probes[i]); in free_obj_fields() 297 if (probe_p->attr_string) in free_obj_fields() 298 free(probe_p->attr_string); in free_obj_fields() 299 if (probe_p->probe_handle) in free_obj_fields() 300 probe_p->probe_handle->valid = B_FALSE; in free_obj_fields() 564 prbctl_p->probe_handle->probe_p = prbctl_p; in read_a_probe() 609 prbctlref_t *probe_p; in link_targ_obj_probes() local 635 probe_p = &(cur->probes[i]); in link_targ_obj_probes() 637 probe_p->wrkprbctl.next = next_probe; in link_targ_obj_probes() [all …]
|
H A D | kernel_int.c | 474 prbctlref_t *probe_p; in alloc_probe_space() local 512 probe_p = &(nobj_p->probes[0]); in alloc_probe_space() 515 probe_p->obj = nobj_p; in alloc_probe_space() 517 probe_p->probe_id = i; in alloc_probe_space() 518 probe_p->probe_handle = calloc(1, sizeof (tnfctl_probe_t)); in alloc_probe_space() 519 if (probe_p->probe_handle == NULL) { in alloc_probe_space() 525 probe_p->probe_handle->valid = B_FALSE; in alloc_probe_space() 526 probe_p->probe_handle->probe_p = probe_p; in alloc_probe_space() 528 probe_p->probe_handle->next = hndl->probe_handle_list_head; in alloc_probe_space() 529 hndl->probe_handle_list_head = probe_p->probe_handle; in alloc_probe_space() [all …]
|
H A D | tnfctl_int.h | 117 prbctlref_t *probe_p; member
|
/titanic_50/usr/src/cmd/tnf/prex/ |
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 395 tnfctl_probe_t *probe_p = args_p->probe_p; in percmd() local 399 attrs = list_getattrs(probe_p); in percmd() 417 err = tnfctl_probe_enable(hndl, probe_p, NULL); in percmd() 420 err = tnfctl_probe_disable(hndl, probe_p, NULL); in percmd() 423 err = tnfctl_probe_trace(hndl, probe_p, NULL); in percmd() 426 err = tnfctl_probe_untrace(hndl, probe_p, NULL); in percmd() 429 err = tnfctl_probe_connect(hndl, probe_p, NULL, in percmd() [all …]
|
H A D | list.c | 223 list_getattrs(tnfctl_probe_t *probe_p) in list_getattrs() argument 234 err = tnfctl_probe_state_get(g_hndl, probe_p, &p_state); in list_getattrs()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | tnf_probe.h | 93 tnf_probe_control_t *probe_p; member
|