From owner-p4-projects@FreeBSD.ORG Tue Apr 25 20:32:06 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 D7BC216A4AB; Tue, 25 Apr 2006 20:32:05 +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 9E7B216A42C for ; Tue, 25 Apr 2006 20:32:05 +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 C06B943D70 for ; Tue, 25 Apr 2006 20:32:02 +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 k3PKW2Gt051216 for ; Tue, 25 Apr 2006 20:32:02 GMT (envelope-from jb@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.13.1/8.13.1/Submit) id k3PKW2UZ051208 for perforce@freebsd.org; Tue, 25 Apr 2006 20:32:02 GMT (envelope-from jb@freebsd.org) Date: Tue, 25 Apr 2006 20:32:02 GMT Message-Id: <200604252032.k3PKW2UZ051208@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 96102 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: Tue, 25 Apr 2006 20:32:06 -0000 http://perforce.freebsd.org/chv.cgi?CH=96102 Change 96102 by jb@jb_freebsd2 on 2006/04/25 20:31:19 Remove debug stuff I never intended to submit. Oops. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_load.c#10 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_load.c#10 (text+ko) ==== @@ -161,18 +161,15 @@ dtrace_probeid_error = dtrace_probe_create((dtrace_provider_id_t) dtrace_provider, NULL, NULL, "ERROR", 1, NULL); -printf("%s(%d): call dtrace_anon_property\n",__FUNCTION__,__LINE++); dtrace_anon_property(); mutex_exit(&cpu_lock); -printf("%s(%d):\n",__FUNCTION__,__LINE++); /* * If DTrace helper tracing is enabled, we need to allocate the * trace buffer and initialize the values. */ if (dtrace_helptrace_enabled) { ASSERT(dtrace_helptrace_buffer == NULL); -printf("%s(%d):\n",__FUNCTION__,__LINE++); dtrace_helptrace_buffer = malloc(dtrace_helptrace_bufsize, M_DTRACE, M_NOWAIT | M_ZERO); dtrace_helptrace_next = 0; @@ -185,13 +182,10 @@ * the only retained enablings at this time should be the anonymous * enabling. */ -printf("%s(%d):\n",__FUNCTION__,__LINE++); if (dtrace_anon.dta_enabling != NULL) { ASSERT(dtrace_retained == dtrace_anon.dta_enabling); -printf("%s(%d): there are already providers\n",__FUNCTION__,__LINE++); dtrace_enabling_provide(NULL); -printf("%s(%d):\n",__FUNCTION__,__LINE++); state = dtrace_anon.dta_state; /* @@ -204,19 +198,15 @@ mutex_exit(&dtrace_lock); mutex_exit(&dtrace_provider_lock); -printf("%s(%d):\n",__FUNCTION__,__LINE++); mutex_enter(&cpu_lock); mutex_enter(&dtrace_provider_lock); mutex_enter(&dtrace_lock); -printf("%s(%d):\n",__FUNCTION__,__LINE++); if ((enab = dtrace_anon.dta_enabling) != NULL) (void) dtrace_enabling_match(enab, NULL); -printf("%s(%d):\n",__FUNCTION__,__LINE++); mutex_exit(&cpu_lock); } -printf("%s(%d):\n",__FUNCTION__,__LINE++); mutex_exit(&dtrace_lock); mutex_exit(&dtrace_provider_lock);