[dtrace-discuss] Combining Two providers

Chip Bennett cbennett at laurustech.com
Mon Jan 29 14:15:55 PST 2007


Hi Neelam,

Are you asking if you can have one D script that enables lockstat probes 
and vminfo probes at the same time?  Absolutely.  I would think you 
would have one set of probe clauses to trace paging activity and another 
set to trace lock activity.  However, since you'll likely be dealing 
with multiple threads causing enabled probes to fire simultaneously, 
make sure you use thread local variables appropriately.

Chip

Neelam wrote:
> Is it possible to combine more than one provider.
>
> Say I want to trace the page outs while a process is holding adaptive locks. Is it possible to combine the two providers?
>
> Thanks
> Neelam
>  
>  
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
>   



More information about the dtrace-discuss mailing list