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>

*** 21,32 **** */ /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! ! #pragma ident "%Z%%M% %I% %E% SMI" #include <sys/types.h> #include <strings.h> #include <stdlib.h> #include <assert.h> --- 21,34 ---- */ /* * Copyright 2005 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ ! /* ! * Copyright (c) 2013 by Delphix. All rights reserved. ! * Copyright (c) 2013 Joyent, Inc. All rights reserved. ! */ #include <sys/types.h> #include <strings.h> #include <stdlib.h> #include <assert.h>
*** 123,133 **** dvp->dtdv_flags |= DIFV_F_REF; if (idp->di_flags & DT_IDFLG_DIFW) dvp->dtdv_flags |= DIFV_F_MOD; bzero(&dn, sizeof (dn)); ! dt_node_type_assign(&dn, idp->di_ctfp, idp->di_type); dt_node_diftype(pcb->pcb_hdl, &dn, &dvp->dtdv_type); idp->di_flags &= ~(DT_IDFLG_DIFR | DT_IDFLG_DIFW); return (0); } --- 125,135 ---- dvp->dtdv_flags |= DIFV_F_REF; if (idp->di_flags & DT_IDFLG_DIFW) dvp->dtdv_flags |= DIFV_F_MOD; bzero(&dn, sizeof (dn)); ! dt_node_type_assign(&dn, idp->di_ctfp, idp->di_type, B_FALSE); dt_node_diftype(pcb->pcb_hdl, &dn, &dvp->dtdv_type); idp->di_flags &= ~(DT_IDFLG_DIFR | DT_IDFLG_DIFW); return (0); }