Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Apr 2006 03:57:31 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 95988 for review
Message-ID:  <200604240357.k3O3vVf4013924@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=95988

Change 95988 by jb@jb_freebsd2 on 2006/04/24 03:57:14

	Run Spot, run!
	
	This gets us up to the point where we are in the 'epicenter of
	DTrace'. Or so the dtrace_probe() code says.
	
	I think this means that something great is going to happen. Either
	that or we'll panic. Not like that'll be the first time and 
	probably not the last. Chuckle.

Affected files ...

.. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_ioctl.c#5 edit

Differences ...

==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_ioctl.c#5 (text+ko) ====

@@ -132,10 +132,14 @@
 printf("DTRACEIOC_FORMAT:\n");
 error = EINVAL;
 		break;
-	case DTRACEIOC_GO:
-printf("DTRACEIOC_GO:\n");
-error = EINVAL;
-		break;
+	case DTRACEIOC_GO: {
+		int rval;
+		processorid_t *cpuid = (processorid_t *) addr;
+
+		rval = dtrace_state_go(state, cpuid);
+
+		return (rval);
+	}
 	case DTRACEIOC_PROBEARG: {
 		dtrace_argdesc_t *desc = (dtrace_argdesc_t *) addr;
 		dtrace_probe_t *probe;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200604240357.k3O3vVf4013924>