jemalloc shell wrapper
Antony Dovgal
tony at daylessday.org
Mon Oct 24 03:00:04 PDT 2011
On 10/20/2011 03:00 AM, Jason Evans wrote:
> On Oct 12, 2011, at 10:39 PM, Antony Dovgal wrote:
>> Hello all.
>>
>> I'd like to propose a small patch that adds an autogenerated shell script wrapper for jemalloc.
>> The resulting script is installed into bin/ and uses LD_PRELOAD to load jemalloc lib.
>> See the patch attached.
>
> This seems like a reasonable addition, though it needs to do something different on OS X (DYLD_INSERT_LIBRARIES?).
>If you have the time and hardware to test a solution for OS X as well, that would be much appreciated.
>Otherwise I'll add this to my todo list for the next minor release.
Ok, here is the improved and tested version of the patch.
--
Wbr,
Antony Dovgal
---
http://pinba.org - realtime profiling for PHP
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-add-autogenerated-jemalloc.sh-wrapper-script.patch
Type: text/x-patch
Size: 3538 bytes
Desc: not available
URL: <http://jemalloc.net/mailman/jemalloc-discuss/attachments/20111024/ae289fb9/attachment.bin>
More information about the jemalloc-discuss
mailing list