Date: Fri, 2 Jun 2006 06:36:58 GMT From: John Birrell <jb@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 98312 for review Message-ID: <200606020636.k526aw00044805@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=98312 Change 98312 by jb@jb_freebsd2 on 2006/06/02 06:36:22 Initialise and destroy the debug mutex. Affected files ... .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_load.c#12 edit .. //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_unload.c#11 edit Differences ... ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_load.c#12 (text+ko) ==== @@ -56,6 +56,7 @@ dtrace_mutex_init(&dtrace_lock,"dtrace probe state"); dtrace_mutex_init(&dtrace_provider_lock,"dtrace provider state"); dtrace_mutex_init(&dtrace_meta_lock,"dtrace meta-provider state"); + dtrace_mutex_init(&dtrace_errlock,"dtrace error lock"); mutex_enter(&cpu_lock); mutex_enter(&dtrace_provider_lock); @@ -137,12 +138,10 @@ dtrace_retain_max = 1; } -#ifdef DOODAD /* * Now discover our toxic ranges. */ dtrace_toxic_ranges(dtrace_toxrange_add); -#endif /* * Before we register ourselves as a provider to our own framework, ==== //depot/projects/dtrace/src/sys/cddl/dev/dtrace/dtrace_unload.c#11 (text+ko) ==== @@ -148,6 +148,7 @@ dtrace_mutex_destroy(&dtrace_meta_lock); dtrace_mutex_destroy(&dtrace_provider_lock); dtrace_mutex_destroy(&dtrace_lock); + dtrace_mutex_destroy(&dtrace_errlock); /* XXX Hack */ dtrace_mutex_destroy(&cpu_lock);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606020636.k526aw00044805>