PERFORCE change 96016 for review

John Birrell jb at FreeBSD.org
Mon Apr 24 21:33:14 UTC 2006


http://perforce.freebsd.org/chv.cgi?CH=96016

Change 96016 by jb at 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 */


More information about the p4-projects mailing list