On Wed, Nov 12, 2008 at 08:26:52AM +0530, 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.
> 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]);
>       }

The profile:::profile-* probes all fire on *all* CPUs, so yes.

Cheers,
- jonathan

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

Reply via email to