Date: Mon, 24 Apr 2006 21:33:11 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 96016 for review Message-ID: <200604242133.k3OLXBSH042470@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=96016 Change 96016 by jb@jb_freebsd2 on 2006/04/24 21:33:04 Run spot run returns the cpu number. Correctly define kthread_t. It really is a thread structure. Affected files ... .. //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace.h#7 edit Differences ... ==== //depot/projects/dtrace/src/sys/contrib/opensolaris/uts/common/sys/dtrace.h#7 (text) ==== @@ -61,7 +61,7 @@ #include <sys/ucred.h> typedef struct ucred cred_t; typedef struct proc proc_t; -typedef struct proc kthread_t; +typedef struct thread kthread_t; typedef int model_t; struct modctl { char *mod_filename; @@ -1218,7 +1218,8 @@ #define DTRACEIOC_CONF _IOR('x',10,dtrace_conf_t) /* get config. */ #define DTRACEIOC_STATUS _IO('x',11) /* get status */ -#define DTRACEIOC_GO _IO('x',12) /* start tracing */ +#define DTRACEIOC_GO _IOR('x',12,processorid_t) + /* start tracing */ #define DTRACEIOC_STOP _IO('x',13) /* stop tracing */ #define DTRACEIOC_AGGDESC _IO('x',15) /* get agg. desc. */ #define DTRACEIOC_FORMAT _IO('x',16) /* get format str */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604242133.k3OLXBSH042470>