From owner-p4-projects@FreeBSD.ORG Mon Apr 24 03:57:32 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 A16FA16A407; Mon, 24 Apr 2006 03:57:32 +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 6938F16A412 for ; Mon, 24 Apr 2006 03:57:32 +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 0815343D46 for ; Mon, 24 Apr 2006 03:57:32 +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 k3O3vVm4013932 for ; Mon, 24 Apr 2006 03:57:31 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3O3vVf4013924 for perforce@freebsd.org; Mon, 24 Apr 2006 03:57:31 GMT (envelope-from jb@freebsd.org) Date: Mon, 24 Apr 2006 03:57:31 GMT Message-Id: <200604240357.k3O3vVf4013924@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 95988 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: Mon, 24 Apr 2006 03:57:32 -0000 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;