/titanic_50/usr/src/lib/libdtrace/common/ |
H A D | dt_provider.c | 242 dtrace_typeinfo_t dtt; in dt_probe_discover() local 324 adp->dtargd_native, &dtt) != 0) { in dt_probe_discover() 330 dtt.dtt_object = NULL; in dt_probe_discover() 331 dtt.dtt_ctfp = NULL; in dt_probe_discover() 332 dtt.dtt_type = CTF_ERR; in dt_probe_discover() 335 dtt.dtt_ctfp, dtt.dtt_type, in dt_probe_discover() 336 dtt.dtt_flags & DTT_FL_USER ? B_TRUE : B_FALSE); in dt_probe_discover() 339 if (dtt.dtt_type != CTF_ERR && (adp->dtargd_xlate[0] == '\0' || in dt_probe_discover() 344 adp->dtargd_xlate, &dtt) != 0) { in dt_probe_discover() 350 dtt.dtt_object = NULL; in dt_probe_discover() [all …]
|
H A D | dt_decl.c | 530 dtrace_typeinfo_t dtt; in dt_decl_member() local 550 if (dt_decl_type(ddp, &dtt) != 0) in dt_decl_member() 558 if (dtt.dtt_ctfp == DT_DYN_CTFP(yypcb->pcb_hdl) && in dt_decl_member() 559 dtt.dtt_type == DT_DYN_TYPE(yypcb->pcb_hdl)) { in dt_decl_member() 564 base = ctf_type_resolve(dtt.dtt_ctfp, dtt.dtt_type); in dt_decl_member() 565 kind = ctf_type_kind(dtt.dtt_ctfp, base); in dt_decl_member() 566 size = ctf_type_size(dtt.dtt_ctfp, base); in dt_decl_member() 571 "%s\n", dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_decl_member() 604 if (ctf_type_kind(dtt.dtt_ctfp, base) != CTF_K_INTEGER || in dt_decl_member() 605 ctf_type_encoding(dtt.dtt_ctfp, base, &cte) == CTF_ERR || in dt_decl_member() [all …]
|
H A D | dt_parser.c | 1348 dtrace_typeinfo_t dtt; in dt_node_type() local 1360 err = dt_decl_type(ddp, &dtt); in dt_node_type() 1372 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, dtt.dtt_flags); in dt_node_type() 1374 if (dtt.dtt_ctfp == dtp->dt_cdefs->dm_ctfp || in dt_node_type() 1375 dtt.dtt_ctfp == dtp->dt_ddefs->dm_ctfp) in dt_node_type() 1416 dtrace_typeinfo_t dtt; in dt_node_decl() local 1422 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_decl() 1459 if (ctf_type_kind(dtt.dtt_ctfp, dtt.dtt_type) == CTF_K_FUNCTION && in dt_node_decl() 1480 ctf_type_cmp(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl() 1485 dt_type_name(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl() [all …]
|
H A D | dt_ident.c | 177 dtrace_typeinfo_t dtt; in dt_idcook_func() local 227 if (dt_type_lookup(s, &dtt) == -1) { in dt_idcook_func() 237 idp->di_ctfp = dtt.dtt_ctfp; in dt_idcook_func() 238 idp->di_type = dtt.dtt_type; in dt_idcook_func() 292 if (dt_type_lookup(p1, &dtt) == -1) { in dt_idcook_func() 299 dtt.dtt_ctfp, dtt.dtt_type, B_FALSE); in dt_idcook_func() 433 dtrace_typeinfo_t dtt; in dt_idcook_regs() local 455 if (dt_type_lookup("uint64_t", &dtt) == -1) { in dt_idcook_regs() 460 idp->di_ctfp = dtt.dtt_ctfp; in dt_idcook_regs() 461 idp->di_type = dtt.dtt_type; in dt_idcook_regs() [all …]
|
H A D | dt_printf.c | 702 dtrace_typeinfo_t dtt; in dt_pfdict_create() local 716 dtt.dtt_ctfp = NULL; in dt_pfdict_create() 717 dtt.dtt_type = CTF_ERR; in dt_pfdict_create() 725 dtp, DTRACE_OBJ_DDEFS, pfc->pfc_tstr, &dtt) != 0) { in dt_pfdict_create() 730 pfc->pfc_dctfp = dtt.dtt_ctfp; in dt_pfdict_create() 731 pfc->pfc_dtype = dtt.dtt_type; in dt_pfdict_create() 739 dtp, DTRACE_OBJ_CDEFS, pfc->pfc_tstr, &dtt) == 0) { in dt_pfdict_create() 740 pfc->pfc_cctfp = dtt.dtt_ctfp; in dt_pfdict_create() 741 pfc->pfc_ctype = dtt.dtt_type; in dt_pfdict_create() 1025 dtrace_typeinfo_t dtt; in dt_printf_validate() local [all …]
|
H A D | dt_open.c | 834 dtrace_typeinfo_t dtt; in dt_vopen() local 1258 dtp->dt_ints[i].did_name, &dtt) != 0) { in dt_vopen() 1264 dtp->dt_ints[i].did_ctfp = dtt.dtt_ctfp; in dt_vopen() 1265 dtp->dt_ints[i].did_type = dtt.dtt_type; in dt_vopen()
|
H A D | dt_cg.c | 75 dtrace_typeinfo_t dtt; in dt_cg_membinfo() local 78 dt_type_lookup(n, &dtt) == -1 || ( in dt_cg_membinfo() 79 dtt.dtt_ctfp == fp && dtt.dtt_type == type)) in dt_cg_membinfo() 82 fp = dtt.dtt_ctfp; in dt_cg_membinfo() 83 type = ctf_type_resolve(fp, dtt.dtt_type); in dt_cg_membinfo()
|
H A D | dt_cc.c | 2542 dtrace_type_strcompile(dtrace_hdl_t *dtp, const char *s, dtrace_typeinfo_t *dtt) in dtrace_type_strcompile() argument 2545 DTRACE_PROBESPEC_NONE, dtt, 0, 0, NULL, NULL, s); in dtrace_type_strcompile() 2550 dtrace_type_fcompile(dtrace_hdl_t *dtp, FILE *fp, dtrace_typeinfo_t *dtt) in dtrace_type_fcompile() argument 2553 DTRACE_PROBESPEC_NONE, dtt, 0, 0, NULL, fp, NULL); in dtrace_type_fcompile()
|