Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Jun 2006 05:59:55 GMT
From:      John Birrell <jb@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 100029 for review
Message-ID:  <200606260559.k5Q5xtgt021189@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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));



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606260559.k5Q5xtgt021189>