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
>> 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 mailing list
dtrace-discuss@opensolaris.org
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
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
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
>
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
[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