PERFORCE change 95988 for review

John Birrell jb at FreeBSD.org
Mon Apr 24 03:57:32 UTC 2006


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

Change 95988 by jb at 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;


More information about the p4-projects mailing list