| /src/external/cddl/osnet/dist/lib/libdtrace/common/ |
| drti.c | 64 static int gen; /* DOF helper generation */ 65 extern dof_hdr_t __SUNW_dof; /* DOF defined in the .SUNW_dof section */ 79 (void) fprintf(stderr, "dtrace DOF: "); 81 (void) fprintf(stderr, "dtrace DOF %s: ", modname); 100 dof_hdr_t *dof = &__SUNW_dof; local 139 if (dof->dofh_ident[DOF_ID_MAG0] != DOF_MAG_MAG0 || 140 dof->dofh_ident[DOF_ID_MAG1] != DOF_MAG_MAG1 || 141 dof->dofh_ident[DOF_ID_MAG2] != DOF_MAG_MAG2 || 142 dof->dofh_ident[DOF_ID_MAG3] != DOF_MAG_MAG3) { 149 dh.dofhp_dof = (uintptr_t)dof; [all...] |
| dt_work.c | 186 void *dof; local 204 if ((dof = dtrace_getopt_dof(dtp)) == NULL) 207 args.dof = dof; 211 dtrace_dof_destroy(dtp, dof);
|
| dt_program.c | 55 * By default, programs start with DOF version 1 so that output files 56 * containing DOF are backward compatible. If a program requires new 57 * DOF features, the version is increased as needed. 157 void *dof; local 162 if ((dof = dtrace_dof_create(dtp, pgp, DTRACE_D_STRIP)) == NULL) 165 args.dof = dof; 168 dtrace_dof_destroy(dtp, dof);
|
| dt_dof.c | 138 * Add a loadable DOF section to the file using the specified data buffer and 139 * the specified DOF section attributes. DOF_SECF_LOAD must be set in flags. 165 * Add an unloadable DOF section to the file using the specified data buffer 166 * and DOF section attributes. DOF_SECF_LOAD must *not* be set in flags. 192 * Add a string to the global string table associated with the DOF. The offset 449 * kernel will reject DOF which has a probe with no offsets. 589 * DOF header since the values won't fit. This can only happen if the 642 dt_buf_t dof; local 704 * Now iterate through the statement list, creating the DOF section 820 * If any providers are user-defined, output DOF sections correspondin 917 dof_hdr_t *dof; local [all...] |
| dt_options.c | 354 else if (strcasecmp(arg, "dof") == 0) 884 dof_hdr_t hdr, *dof; local 891 * DOF, which we'll sift through to look for OPTDESC sections. 899 dof = &hdr; 900 if (dt_ioctl(dtp, DTRACEIOC_DOFGET, &dof) == -1) 907 dof = calloc(hdr.dofh_loadsz, 1); 908 if (dof == NULL) 910 dof->dofh_loadsz = hdr.dofh_loadsz; 916 if (dt_ioctl(dtp, DTRACEIOC_DOFGET, dof) == -1) 918 if (dt_ioctl(dtp, DTRACEIOC_DOFGET, &dof) == -1 [all...] |
| dt_link.c | 133 prepare_elf32(dtrace_hdl_t *dtp, const dof_hdr_t *dof, dof_elf32_t *dep) 151 dofs = (dof_sec_t *)((char *)dof + dof->dofh_secoff); 155 * relocations present in the DOF. 157 for (i = 0; i < dof->dofh_secnum; i++) { 162 dofrh = (dof_relohdr_t *)((char *)dof + dofs[i].dofs_offset); 165 strtab = (char *)dof + s->dofs_offset; 171 dofr = (dof_relodesc_t *)((char *)dof + s->dofs_offset); 217 * Take a second pass through the DOF sections filling in the 220 for (i = 0; i < dof->dofh_secnum; i++) 1716 dof_hdr_t *dof; local [all...] |
| /src/external/cddl/osnet/dev/dtrace/ |
| dtrace_ioctl.c | 47 dof_hdr_t *dof; local 51 dof = NULL; 59 dof = dtrace_dof_copyin((uintptr_t)addr, &rval); 73 dof = dtrace_dof_copyin_proc(p, (uintptr_t)addr, &rval); 76 dof = dtrace_dof_copyin_pid(dhp->dofhp_pid, addr, &rval); 80 if (dof == NULL) { 89 if ((rval = dtrace_helper_slurp(dof, dhp, p)) != -1) { 401 dof_hdr_t hdr, *dof = *pdof; local 407 if (copyin((void *)dof, &hdr, sizeof (hdr)) != 0) 411 dof = dtrace_dof_create(state) 421 dof_hdr_t *dof = NULL; local [all...] |
| /src/external/gpl3/gdb.old/dist/gdb/ |
| dtrace-probe.c | 37 /* The type of the ELF sections where we will find the DOF programs 175 /* DOF programs can contain an arbitrary number of sections of 26 204 DOF entities. Again, we only cover the subset of DOF used to 207 See linux/dtrace/dof.h header for a complete list of data 230 /* The DOF program is little-endian. */ 232 /* The DOF program is big-endian. */ 236 /* A DOF header, which describes the contents of a DOF program: number 255 /* File size of entire DOF file. * 846 bfd_byte *dof; variable 858 xfree (dof); variable [all...] |
| /src/external/gpl3/gdb/dist/gdb/ |
| dtrace-probe.c | 37 /* The type of the ELF sections where we will find the DOF programs 175 /* DOF programs can contain an arbitrary number of sections of 26 204 DOF entities. Again, we only cover the subset of DOF used to 207 See linux/dtrace/dof.h header for a complete list of data 230 /* The DOF program is little-endian. */ 232 /* The DOF program is big-endian. */ 236 /* A DOF header, which describes the contents of a DOF program: number 255 /* File size of entire DOF file. * 846 bfd_byte *dof; variable 858 xfree (dof); variable [all...] |
| /src/external/cddl/osnet/dist/uts/common/sys/ |
| dtrace.h | 576 * DTrace Object Format (DOF) 578 * DTrace programs can be persistently encoded in the DOF format so that they 580 * dtrace driver configuration file for use in anonymous tracing. The DOF 582 * internal data structures can be modified or extended compatibly. All DOF 610 * The DOF data itself can contain many snippets of DIF (i.e. >1 DIFOs), which 611 * are represented themselves as a collection of related DOF sections. This 614 * When a DOF section wants to refer to a DIFO, it stores the dof_secidx_t of a 625 * DOF are always arbitrary-length and not bound to the current implementation. 638 uint64_t dofh_filesz; /* file size of entire DOF file */ 646 #define DOF_ID_MODEL 4 /* DOF data model (see below) * 1311 void *dof; \/* DOF userland address written to driver. *\/ member in struct:__anon9077 [all...] |