From owner-p4-projects@FreeBSD.ORG Fri Apr 21 07:09: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 B527E16A46A; Fri, 21 Apr 2006 07:09: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 7B7C116A467 for ; Fri, 21 Apr 2006 07:09: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 462CF43D49 for ; Fri, 21 Apr 2006 07:09: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 k3L79WlE043480 for ; Fri, 21 Apr 2006 07:09:32 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3L79V8K043477 for perforce@freebsd.org; Fri, 21 Apr 2006 07:09:31 GMT (envelope-from jb@freebsd.org) Date: Fri, 21 Apr 2006 07:09:31 GMT Message-Id: <200604210709.k3L79V8K043477@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 95767 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: Fri, 21 Apr 2006 07:09:32 -0000 http://perforce.freebsd.org/chv.cgi?CH=95767 Change 95767 by jb@jb_freebsd2 on 2006/04/21 07:09:28 Add (some? of) the extra variables that DTrace needs in struct proc. It likes to get up close and personal with it's buddies. Adding fields like this raises the issue of how Sun's CDDL applies in this case. Should I expect to get permission to do this and retain the BSD license. Without that permission, I can't see how doing this is legal. And looking at the OpenSolaris distribution and seeing AT&T copyright references, I can't help but wonder what a certain company in the US south would think about this. Perhaps I should just hope they go belly up first. 8-) Affected files ... .. //depot/projects/dtrace/src/sys/sys/proc.h#2 edit Differences ... ==== //depot/projects/dtrace/src/sys/sys/proc.h#2 (text+ko) ==== @@ -620,6 +620,9 @@ STAILQ_HEAD(, ktr_request) p_ktr; /* (o) KTR event queue. */ LIST_HEAD(, mqueue_notifier) p_mqnotifier; /* (c) mqueue notifiers.*/ struct auditinfo *p_au; /* (c) Process audit properties. */ + int p_dtrace_probes; /* (c) Are there probes for this proc? */ + u_int64_t p_dtrace_count; /* (c) Number of DTrace tracepoints */ + void *p_dtrace_helpers; /* (c) DTrace helpers, if any */ }; #define p_session p_pgrp->pg_session