From owner-p4-projects@FreeBSD.ORG Mon Apr 24 21:33:14 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 375F916A409; Mon, 24 Apr 2006 21:33:14 +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 E3BD916A403 for ; Mon, 24 Apr 2006 21:33:13 +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 A8A5143D5A for ; Mon, 24 Apr 2006 21:33:11 +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 k3OLXBmO042476 for ; Mon, 24 Apr 2006 21:33:11 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3OLXBSH042470 for perforce@freebsd.org; Mon, 24 Apr 2006 21:33:11 GMT (envelope-from jb@freebsd.org) Date: Mon, 24 Apr 2006 21:33:11 GMT Message-Id: <200604242133.k3OLXBSH042470@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 96016 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 21:33:14 -0000 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 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 */