From owner-p4-projects@FreeBSD.ORG Wed Apr 26 04:22:54 2006 Return-Path: X-Original-To: p4-projects@freebsd.org Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 9478D16A402; Wed, 26 Apr 2006 04:22:54 +0000 (UTC) X-Original-To: perforce@freebsd.org Delivered-To: perforce@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6C88516A400 for ; Wed, 26 Apr 2006 04:22:54 +0000 (UTC) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2049043D45 for ; Wed, 26 Apr 2006 04:22:54 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.1/8.13.1) with ESMTP id k3Q4MsWK029061 for ; Wed, 26 Apr 2006 04:22:54 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3Q4Mrxm029055 for perforce@freebsd.org; Wed, 26 Apr 2006 04:22:53 GMT (envelope-from jb@freebsd.org) Date: Wed, 26 Apr 2006 04:22:53 GMT Message-Id: <200604260422.k3Q4Mrxm029055@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to jb@freebsd.org using -f From: John Birrell To: Perforce Change Reviews Cc: Subject: PERFORCE change 96126 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Apr 2006 04:22:54 -0000 http://perforce.freebsd.org/chv.cgi?CH=96126 Change 96126 by jb@jb_freebsd2 on 2006/04/26 04:22:04 SysV -> BSD ioctls for BUFSNAP, AGGSNAP, EPROBE, STOP, AND REPLICATE. That just leaves two more ioctls to be converted. They are used for more complicated 'D' programs than 'BEGIN'. 8-) Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace.h#11 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace.h#11 (text) ==== @@ -1200,7 +1200,8 @@ /* provider query */ #define DTRACEIOC_PROBES _IOWR('x',2,dtrace_probedesc_t) /* probe query */ -#define DTRACEIOC_BUFSNAP _IO('x',4) /* snapshot buffer */ +#define DTRACEIOC_BUFSNAP _IOW('x',4,dtrace_bufdesc_t *) + /* snapshot buffer */ #define DTRACEIOC_PROBEMATCH _IOWR('x',5,dtrace_probedesc_t) /* match probes */ typedef struct { @@ -1209,8 +1210,10 @@ } dtrace_enable_io_t; #define DTRACEIOC_ENABLE _IOWR('x',6,dtrace_enable_io_t) /* enable probes */ -#define DTRACEIOC_AGGSNAP _IO('x',7) /* snapshot agg. */ -#define DTRACEIOC_EPROBE _IO('x',8) /* get eprobe desc. */ +#define DTRACEIOC_AGGSNAP _IOW('x',7,dtrace_bufdesc_t *) + /* snapshot agg. */ +#define DTRACEIOC_EPROBE _IOW('x',8,dtrace_eprobedesc_t) + /* get eprobe desc. */ #define DTRACEIOC_PROBEARG _IOWR('x',9,dtrace_argdesc_t) /* get probe arg */ #define DTRACEIOC_CONF _IOR('x',10,dtrace_conf_t) @@ -1219,12 +1222,14 @@ /* get status */ #define DTRACEIOC_GO _IOR('x',12,processorid_t) /* start tracing */ -#define DTRACEIOC_STOP _IO('x',13) /* stop tracing */ +#define DTRACEIOC_STOP _IOWR('x',13,processorid_t) + /* stop tracing */ #define DTRACEIOC_AGGDESC _IO('x',15) /* get agg. desc. */ #define DTRACEIOC_FORMAT _IO('x',16) /* get format str */ #define DTRACEIOC_DOFGET _IOW('x',17,dof_hdr_t *) /* get DOF */ -#define DTRACEIOC_REPLICATE _IO('x',18) /* replicate enab */ +#define DTRACEIOC_REPLICATE _IOW('x',18,dtrace_repldesc_t) + /* replicate enab */ #endif /*