Print this page
4474 DTrace Userland CTF Support
4475 DTrace userland Keyword
4476 DTrace tests should be better citizens
4479 pid provider types
4480 dof emulation missing checks
Reviewed by: Bryan Cantrill <bryan@joyent.com>

@@ -131,10 +131,14 @@
         GElf_Addr dm_data_va;   /* virtual address of data section */
         GElf_Xword dm_data_size; /* size in bytes of data section */
         GElf_Addr dm_bss_va;    /* virtual address of BSS */
         GElf_Xword dm_bss_size; /* size in bytes of BSS */
         dt_idhash_t *dm_extern; /* external symbol definitions */
+        pid_t dm_pid;           /* pid for this module */
+        uint_t dm_nctflibs;     /* number of ctf children libraries */
+        ctf_file_t **dm_libctfp; /* process library ctf pointers */
+        char **dm_libctfn;      /* names of process ctf containers */
 } dt_module_t;
 
 #define DT_DM_LOADED    0x1     /* module symbol and type data is loaded */
 #define DT_DM_KERNEL    0x2     /* module is associated with a kernel object */
 #define DT_DM_PRIMARY   0x4     /* module is a krtld primary kernel object */

@@ -511,11 +515,12 @@
         EDT_BADSETOPT,          /* invalid setopt library action */
         EDT_BADSTACKPC,         /* invalid stack program counter size */
         EDT_BADAGGVAR,          /* invalid aggregation variable identifier */
         EDT_OVERSION,           /* client is requesting deprecated version */
         EDT_ENABLING_ERR,       /* failed to enable probe */
-        EDT_NOPROBES            /* no probes sites for declared provider */
+        EDT_NOPROBES,           /* no probes sites for declared provider */
+        EDT_CANTLOAD            /* failed to load a module */
 };
 
 /*
  * Interfaces for parsing and comparing DTrace attribute tuples, which describe
  * stability and architectural binding information.  The dtrace_attribute_t