S h i v wrote:
> 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.

   Yes it does.
   The profile provider's profile-n probe fires every fixed interval
   on every CPU.

> 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]);
>       }

    It collects information on all the cpu's where the threads
    [of process $target] are executing.

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

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

Reply via email to