[dtrace-discuss] Iterating over all LWPs

Roman Shaposhnik rvs at sun.com
Mon Mar 24 10:35:43 PDT 2008


Hi!

Here's the problem I'm facing: I need to sample a particular
attribute of all the LWPs in a given process. Now, sampling
itself is no problem -- I can use profile/tick provider and
all is good. The problem is: I can't seem to think of a 
DTrace-friendly way to iterate over all the LWPs and report
the value of the attribute I'm interested in. 

Any suggestions?

Thanks,
Roman.



More information about the dtrace-discuss mailing list