Re: [dtrace-discuss] How to use DTrace to check/monitor the actual memory bus speed in Sun svr?

2009-09-18 Thread Michael Ernest
I would first try prtconf -v to see if the bus speed is listed as a property of the bus' driver. -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] dtrace predicat

2009-09-18 Thread Michael Ernest
Thanks for spelling that out what you were working with. As a matter of style, splitting the test logic across probe declarations sure would be easier to read (and reread). All that opt_* test logic in one predicate requires the maintainer to understand the preamble. For example, when is OPT_c

Re: [dtrace-discuss] "this" variables being overridden?

2009-09-18 Thread Chip Bennett
> Oh, I see, Thanks. Can I then copy all the data that I need from the > copied structure into "this" variables in the clause where copyin is > called, and then use the values in subsequent clauses (that correspond > to the same probe)? e.g.: > Yes. Chip

Re: [dtrace-discuss] "this" variables being overridden?

2009-09-18 Thread Chris Gerhard
you can do pid$target::foo:entry / (this->dataP = (ProfData*)copyin(arg2, sizeof(ProfData))->execTime > 100/ { @longTx[arg0] = count(); } --chris -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.or

Re: [dtrace-discuss] "this" variables being overridden?

2009-09-18 Thread Yossi Lev (Sun Labs)
Oh, I see, Thanks. Can I then copy all the data that I need from the copied structure into "this" variables in the clause where copyin is called, and then use the values in subsequent clauses (that correspond to the same probe)? e.g.: pid$target::foo:entry { this->dataP = (ProfData*)copyin(ar

Re: [dtrace-discuss] "this" variables being overridden?

2009-09-18 Thread Chris Gerhard
The extra copyin is required as copyin returns scratch memory and scratch memory so is only valid in that clause. --chris -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Why is plockstat provider only present for 1 process

2009-09-18 Thread Sloot, Hans-Peter
Thanks a lot! Another mistery solved. -Original Message- From: jonathan.has...@sun.com [mailto:jonathan.has...@sun.com] Sent: Friday, September 18, 2009 12:21 To: Sloot, Hans-Peter Cc: dtrace-discuss@opensolaris.org Subject: Re: [dtrace-discuss] Why is plockstat provider only present fo

Re: [dtrace-discuss] Why is plockstat provider only present for 1 process

2009-09-18 Thread Jon Haslam
Does the same apply for the pid provider? I have seen pid providers with dtrace -l. At the moment the command does not list any pid providers. Yes, pid provider probes won't appear in the ouput of `dtrace -l` until they have been explicitly created (by enabling them): # dtrace -l -P pid* I

Re: [dtrace-discuss] Why is plockstat provider only present for 1 process

2009-09-18 Thread Sloot, Hans-Peter
Hi Jon, Does the same apply for the pid provider? I have seen pid providers with dtrace -l. At the moment the command does not list any pid providers. Regards Hans -Original Message- From: jonathan.has...@sun.com [mailto:jonathan.has...@sun.com] Sent: Friday, September 18, 2009 11:30

Re: [dtrace-discuss] Why is plockstat provider only present for 1 process

2009-09-18 Thread Sloot, Hans-Peter
Ok thanks. It works! -Original Message- From: jonathan.has...@sun.com [mailto:jonathan.has...@sun.com] Sent: Friday, September 18, 2009 11:30 To: Sloot, Hans-Peter Cc: dtrace-discuss@opensolaris.org Subject: Re: [dtrace-discuss] Why is plockstat provider only present for 1 process Hi

Re: [dtrace-discuss] Why is plockstat provider only present for 1 process

2009-09-18 Thread Jon Haslam
Hi Hans, I would like to know why dtrace -l |grep plockstat show plockstat28099 lines. Process with pid 28099 is a java process. Why can I not examine other processes with the plockstat provider? Is it a java startup option? No. The probes that plockstat uses only become visible when you ac

Re: [dtrace-discuss] Difference between plockstat and lockstat provider

2009-09-18 Thread Dan Mick
Sloot, Hans-Peter wrote: Hi, Can someone explain the difference between the lockstat and plockstat provider? lockstat is for the kernel. plockstat is for user 'p'rocesses. ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

[dtrace-discuss] Difference between plockstat and lockstat provider

2009-09-18 Thread Sloot, Hans-Peter
Hi, Can someone explain the difference between the lockstat and plockstat provider? Regards Hans ÿþDit bericht is vertrouwelijk en kan geheime informatie bevatten enkel bestemd voor de geadresseerd

[dtrace-discuss] Why is plockstat provider only present for 1 process

2009-09-18 Thread Sloot, Hans-Peter
Hi, I would like to know why dtrace -l |grep plockstat show plockstat28099 lines. Process with pid 28099 is a java process. Why can I not examine other processes with the plockstat provider? Is it a java startup option? Regards Hans ÿþDit bericht is vertrouwelijk en