Re: [dtrace-discuss] Does DTrace have "-xmangled" to support C++? Apple has done that

2008-12-08 Thread James McIlree
On Dec 8, 2008, at 12:40 AM, Alex Peng wrote: > Hi, > > To use DTrace on some C++ code, I found that Apple's implementation > had another option "-xmangled". > > Its usage could be found here: > http://blog.mozilla.com/dmandelin/2008/02/14/dtrace-c-mysteries- > solved/ > > And it could be foun

Re: [dtrace-discuss] Is the nfs dtrace script right (from nfsv3 provider wiki)?

2008-12-08 Thread Jim Mauro
Nasty, nasty outlier. You have a very nasty outlier in the quantized write latency data; 34359738368 | 0 68719476736 | 1 137438953472 | 0 See that sucker with th

Re: [dtrace-discuss] lint and statically defined tracing for user applications

2008-12-08 Thread David Bustos
Quoth Adam Leventhal on Fri, Dec 05, 2008 at 05:32:12PM -0800: > Nice trick. Sounds like a good RFE for dtrace -G would be to generate some > lint-friendly output. I filed 6782307 lint complains about user SDT probes I came up with a better workaround, though: I added #ifdef lin

Re: [dtrace-discuss] Is there a way to clear Dtrace arrays?

2008-12-08 Thread Henk Vandenbergh
Ignore my request. Even if there was a way to clear an array, there is no function that allows me to print out that array. Only an aggregation does that. -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensola

Re: [dtrace-discuss] Is there a way to clear Dtrace arrays?

2008-12-08 Thread Henk Vandenbergh
I am gathering numerous file-level statistics that I want to report (printf) every 'n' seconds, and then start all over again with a new set of statistics. I currently accumulate each 'field' in several aggregations, one aggregation per field. Every n seconds I dump out the aggregations and then

Re: [dtrace-discuss] Is there a way to clear Dtrace arrays?

2008-12-08 Thread Adam Leventhal
On Dec 8, 2008, at 8:43 AM, Henk Vandenbergh wrote: > I am using trunc(@agg,0) to clear an aggregation every 'n' seconds. > Is there a similar function to clear an associative array? I know I > can deallocate memory for an individual element by setting is to > zero, but I am looking for a wa

Re: [dtrace-discuss] Is the nfs dtrace script right (from nfsv3 provider wiki)?

2008-12-08 Thread Marcelo Leal
36 hours... ;-)) Leal. -- This message posted from opensolaris.org ___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Is the nfs dtrace script right (from nfsv3 provider wiki)?

2008-12-08 Thread Marcelo Leal
Hello Jim, - cut here --- Qui Dez 4 19:08:39 BRST 2008 Qui Dez 4 19:18:02 BRST 2008 - cut here --- NFSv3 read/write distributions (us): read value - Distribution - count 2 |

[dtrace-discuss] Is there a way to clear Dtrace arrays?

2008-12-08 Thread Henk Vandenbergh
I am using trunc(@agg,0) to clear an aggregation every 'n' seconds. Is there a similar function to clear an associative array? I know I can deallocate memory for an individual element by setting is to zero, but I am looking for a way to clear ALL elements in an array. -- This message posted fr

Re: [dtrace-discuss] Is the nfs dtrace script right (from nfsv3 provider wiki)?

2008-12-08 Thread Jim Mauro
Got it. OK, so you traced for 10 minutes, and dtrace reported a total value of 131175486635, which we'll round up to 132 billion microseconds, or (if I'm doing the math right), 132,000 seconds or 2200 minutes. That certainly seems to be an extraordinarily large value for 10 minutes of data collect

Re: [dtrace-discuss] Is the nfs dtrace script right (from nfsv3 provider wiki)?

2008-12-08 Thread Marcelo Leal
Hello, > Are you referring to nfsv3rwsnoop.d? > > The TIME(us) value from that script is not a latency > measurement, > it's just a time stamp. > > If you're referring to a different script, let us > know specifically > which script. Sorry, when i did write "latency", i did assume that you wil

Re: [dtrace-discuss] How to dig deeper

2008-12-08 Thread Hans-Peter
The buffer cache was already huge. So I decided not to increase it. There is a KEEP pool of 5G which is hardly used. If needed I will sacrifice this cache and add it to the DEFAULT cache. Until now it looks promising. The average log file sync wait time has dropped from about 70ms to 7ms. But we w

[dtrace-discuss] Does DTrace have "-xmangled" to support C++? Apple has done that

2008-12-08 Thread Alex Peng
Hi, To use DTrace on some C++ code, I found that Apple's implementation had another option "-xmangled". Its usage could be found here: http://blog.mozilla.com/dmandelin/2008/02/14/dtrace-c-mysteries-solved/ And it could be found in Apple's man page: http://developer.apple.com/documentation/Darw