Incase of multi-core systems where multiple threads maybe scheduled
for execution, does the below dscript (from hotuser in DTraceToolkit)
collect  information for multiple libraries/functions that would be
getting executed at a given point of time. I have been able to test it
to check if it does or doesn't. I assume it does.
This was a query I have about profiling in general.

        #pragma D option quiet
        profile:::profile-1001hz
        /pid == \$target/
        {
                [EMAIL PROTECTED] = count();
        }
        dtrace:::END
        {
                printa("OUT: %A [EMAIL PROTECTED]", [EMAIL PROTECTED]);
        }

-Shiv
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to