Home
last modified time | relevance | path

Searched refs:dtt (Results 1 – 8 of 8) sorted by relevance

/illumos-gate/usr/src/lib/libdtrace/common/
H A Ddt_provider.c242 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 Ddt_decl.c530 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()
627 if (ctf_type_kind(dtt.dtt_ctfp, base) != CTF_K_INTEGER || in dt_decl_member()
628 ctf_type_encoding(dtt.dtt_ctfp, base, &cte) == CTF_ERR || in dt_decl_member()
[all …]
H A Ddt_parser.c1358 dtrace_typeinfo_t dtt; in dt_node_type() local
1370 err = dt_decl_type(ddp, &dtt); in dt_node_type()
1382 dt_node_type_assign(dnp, dtt.dtt_ctfp, dtt.dtt_type, in dt_node_type()
1383 (dtt.dtt_flags & DTT_FL_USER) != 0); in dt_node_type()
1385 if (dtt.dtt_ctfp == dtp->dt_cdefs->dm_ctfp || in dt_node_type()
1386 dtt.dtt_ctfp == dtp->dt_ddefs->dm_ctfp) in dt_node_type()
1428 dtrace_typeinfo_t dtt; in dt_node_decl() local
1434 if (dt_decl_type(ddp, &dtt) != 0) in dt_node_decl()
1471 if (ctf_type_kind(dtt.dtt_ctfp, dtt.dtt_type) == CTF_K_FUNCTION && in dt_node_decl()
1492 ctf_type_cmp(dtt.dtt_ctfp, dtt.dtt_type, in dt_node_decl()
[all …]
H A Ddt_ident.c178 dtrace_typeinfo_t dtt; in dt_idcook_func() local
228 if (dt_type_lookup(s, &dtt) == -1) { in dt_idcook_func()
238 idp->di_ctfp = dtt.dtt_ctfp; in dt_idcook_func()
239 idp->di_type = dtt.dtt_type; in dt_idcook_func()
294 if (dt_type_lookup(p1, &dtt) == -1) { in dt_idcook_func()
301 dtt.dtt_ctfp, dtt.dtt_type, B_FALSE); in dt_idcook_func()
435 dtrace_typeinfo_t dtt; in dt_idcook_regs() local
457 if (dt_type_lookup("uint64_t", &dtt) == -1) { in dt_idcook_regs()
462 idp->di_ctfp = dtt.dtt_ctfp; in dt_idcook_regs()
463 idp->di_type = dtt.dtt_type; in dt_idcook_regs()
[all …]
H A Ddt_printf.c702 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 Ddt_open.c838 dtrace_typeinfo_t dtt; in dt_vopen() local
1262 dtp->dt_ints[i].did_name, &dtt) != 0) { in dt_vopen()
1268 dtp->dt_ints[i].did_ctfp = dtt.dtt_ctfp; in dt_vopen()
1269 dtp->dt_ints[i].did_type = dtt.dtt_type; in dt_vopen()
H A Ddt_cg.c78 dtrace_typeinfo_t dtt; in dt_cg_membinfo() local
81 dt_type_lookup(n, &dtt) == -1 || ( in dt_cg_membinfo()
82 dtt.dtt_ctfp == fp && dtt.dtt_type == type)) in dt_cg_membinfo()
85 fp = dtt.dtt_ctfp; in dt_cg_membinfo()
86 type = ctf_type_resolve(fp, dtt.dtt_type); in dt_cg_membinfo()
H A Ddt_cc.c2542 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()