[dtrace-discuss] Anonymous dtrace

Fintan Ryan
Tue, 19 Jul 2005 16:01:23 -0000

Hi,

Appending the following to /etc/system should do the trick

forceload: drv/dtrace
forceload: drv/fbt
forceload: drv/profile
forceload: drv/fasttrap
forceload: drv/sdt
forceload: drv/systrace

- Fintan

On Tue, Jul 19, 2005 at 07:29:50PM +0530, Manoj Joseph wrote:
< Hi,
<
< We need to dtrace a boot module. We tried anonymous dtrace.
< But we find that dtrace probes are getting enabled after the event that
< we want dtraced.
<
< Is there a way of forcing dtrace to load earlier??
< Does anyone know of a way out?
<
< This is on an AMD/snv_16 machine.
<
< This is the console log.
< -------
< SunOS Release 5.11 Version snv_16 64-bit
< Copyright 1983-2005 Sun Microsystems, Inc.  All rights reserved.
< Use is subject to license terms.
< NOTICE: Can''t open /etc/cluster/nodeid    <---- We want to
dtrace this
<
< NOTICE: BOOTING IN NON CLUSTER MODE
<
< NOTICE: enabling probe 0 (fbt:cl_bootstrap:clconf_init:entry)
< NOTICE: enabling probe 1 (fbt:::)
< NOTICE: enabling probe 2 (fbt:cl_bootstrap:clconf_init:return)
< NOTICE: enabling probe 3 (dtrace:::ERROR)
< -------
<
< Cheers
< Manoj
<
< --
< Manoj Paul Joseph
< GDD, Sun Cluster Engineering
< _______________________________________________
< dtrace-discuss mailing list
< dtrace-discuss at opensolaris.org

--
fintanr at sun.com   http://blogs.sun.com/fintanr
@dub03 http://wwws.sun.com/software/solaris/10