From owner-p4-projects@FreeBSD.ORG Mon Jun 26 06:29:42 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 6AB8716A55D; Mon, 26 Jun 2006 06:29:41 +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 0FDF616A52B for ; Mon, 26 Jun 2006 06:29:41 +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 5B59844404 for ; Mon, 26 Jun 2006 05:59:55 +0000 (GMT) (envelope-from jb@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5Q5xtXp021192 for ; Mon, 26 Jun 2006 05:59:55 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5Q5xtgt021189 for perforce@freebsd.org; Mon, 26 Jun 2006 05:59:55 GMT (envelope-from jb@freebsd.org) Date: Mon, 26 Jun 2006 05:59:55 GMT Message-Id: <200606260559.k5Q5xtgt021189@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 100029 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, 26 Jun 2006 06:29:43 -0000 http://perforce.freebsd.org/chv.cgi?CH=100029 Change 100029 by jb@jb_freebsd2 on 2006/06/26 05:59:49 Display the registered provider name. When the DTrace modules are loaded via the boot loader, this output shows up in the boot messages to make it obvious at what point DTrace can do it's magic. If there are anonymous enablings, those probes will appear after the provider registration messages. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_register.c#6 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_register.c#6 (text+ko) ==== @@ -98,6 +98,10 @@ provider->dtpv_arg = arg; *idp = (dtrace_provider_id_t)provider; +#if !defined(sun) + printf("DTrace registered provider '%s'\n", name); +#endif + if (pops == &dtrace_provider_ops) { ASSERT(MUTEX_HELD(&dtrace_provider_lock)); ASSERT(MUTEX_HELD(&dtrace_lock));