Dear all:

I've read most of the key code about dtrace, including dtrace(cmd),
libdtrace, and dtrace(kernel module, and fbt, profile, etc).
Since there're a lot of codes...I still feel puzzle about the module loading
process.

When do dtrace modules loaded?
After solaris started, checking through modinfo command, there're no dtrace
modules in loaded module list. (no result report by "modinfo | grep
Tracing")
And then I try to use dtrace command to tracing something. After this, all
the modules exist in module list now.
I know dtrace module is loaded because dtrace cmd need to open dtrace module
through the libdtrace.
But when are the other modules (profile, systrace, fbt, etc) loaded? Who are
the activator to load them? (I mean which function in
uts/common/dtrace/dtrace.c will active these modules?)

TIA

Kind Regards,
TJ
_______________________________________________
dtrace-discuss mailing list
[email protected]

Reply via email to