PERFORCE change 100029 for review
John Birrell
jb at FreeBSD.org
Mon Jun 26 06:29:43 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=100029
Change 100029 by jb at 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));
More information about the p4-projects
mailing list