Re: [dtrace-discuss] Pfilestat vs. prstat

2008-06-26 Thread Brendan Gregg - Sun Microsystems
G'Day Bob, On Thu, Jun 26, 2008 at 07:40:28AM -0700, Bob Resendes wrote: > [Just starting out with DTrace and was hoping to get some guidance.] > > I have a "benchmark" program that I monitored with both prstat (prstat -mL -P > ) and pfilestat (from the DTrace toolkit). Prstat reports LAT values

Re: [dtrace-discuss] Arg1 doesn't hold return value in pid provider?

2008-06-26 Thread Adam Leventhal
>> Functions that end in a tail-call to another function can report an >> incorrect return value in the arg1 variable. Take a look at the >> disassembly at the location where you're seeing the apparently >> invalid >> return values to confirm that it's a tail-call. > > Aaah, that exactly happene

[dtrace-discuss] please remove my mailid

2008-06-26 Thread madhu mulukutla
___ dtrace-discuss mailing list dtrace-discuss@opensolaris.org

Re: [dtrace-discuss] Mac OS X 10.5 USDT bug

2008-06-26 Thread James McIlree
On Jun 25, 2008, at 12:45 PM, Robert Lor wrote: > James McIlree wrote: >> On Oct 27, 2007, at 9:30 AM, Adam Leventhal wrote: >> >> >>> As has been previously stated, it's pretty great to see the >>> DTrace port to >>> Mac OS X... if for no other reason than it affords me the >>> opportunity

Re: [dtrace-discuss] function names of kerrnel modules not printed

2008-06-26 Thread Joachim Worringen
Michael Schuster wrote: > Joachim Worringen wrote: > >> However, the printout does not show the function names of my module: >> [EMAIL PROTECTED] # ./kmem_alloc_zerolen.d >> dtrace: script './kmem_alloc_zerolen.d' matched 2 probes >> CPU IDFUNCTION:NAME >>1 12069

Re: [dtrace-discuss] function names of kerrnel modules not printed

2008-06-26 Thread Michael Schuster
Joachim Worringen wrote: > However, the printout does not show the function names of my module: > [EMAIL PROTECTED] # ./kmem_alloc_zerolen.d > dtrace: script './kmem_alloc_zerolen.d' matched 2 probes > CPU IDFUNCTION:NAME >1 12069 kmem_alloc:entry >

[dtrace-discuss] function names of kerrnel modules not printed

2008-06-26 Thread Joachim Worringen
Greetings, I tried to catch the place in my kernel module (actually, a socket module) from where kmem_[z]alloc() is called with a zero length parameter. Using the script below, this basically works: #!/usr/sbin/dtrace -s fbt::kmem_alloc:entry /arg0 == 0/ { stack(); } fbt::kmem_zalloc:entr

[dtrace-discuss] Pfilestat vs. prstat

2008-06-26 Thread Bob Resendes
[Just starting out with DTrace and was hoping to get some guidance.] I have a "benchmark" program that I monitored with both prstat (prstat -mL -P ) and pfilestat (from the DTrace toolkit). Prstat reports LAT values in the 0.1-0.2% range, but pfilestat reports "waitcpu" values in the 6-10%. Sinc