[dtrace-discuss] Memory leak scripts
Fletcher Cocquyt
fcocquyt at stanford.edu
Tue Jul 1 23:58:37 PDT 2008
Can you please provide a reference for disassembling malloc on Solaris 10?
I am also pursuing the previous suggestion of a Python provider - this one
seems to be against Python 2.5:
http://blogs.sun.com/binujp/resource/pydtrace/diffs
Thanks,
Fletcher
On 7/1/08 9:48 PM, "Sanjeev Bagewadi" <Sanjeev.Bagewadi at Sun.COM> wrote:
> Hello Fletcher,
>
> From the error looks like dtrace is not able recognize it as probe.
> DTrace needs a signature for the function to be detected as probe.
> Probably this is missing in case of malloc.
>
> Just to double check this you could disassemble malloc and check if we
> have a "push' instruction at the beginning.
>
> Thanks and regards,
> Sanjeev.
>
> Fletcher Cocquyt wrote:
>> Hola, I am trying to isolate the memory leak I suspect in a mailman
>> installation I found:
>> http://blogs.sun.com/sanjeevb/date/200506
>>
>> It gives an error:
>>
>> god at irt-smtp-02:~ 9:21am 65 # ./memleak.d 10312
>> dtrace: failed to compile script ./memleak.d: line 3: probe
>> description pid10312:libc.so.1:malloc:entry does not match any probes
>>
>> I am on SunOS 5.10 Generic_127112-07 i86pc i386 i86pc
>>
>> Are there some better scripts for isolating memory leaks?
>>
>> thanks
>> Fletch.
>> ------------------------------------------------------------------------
>>
>> _______________________________________________
>> dtrace-discuss mailing list
>> dtrace-discuss at opensolaris.org
>>
>
More information about the dtrace-discuss
mailing list