17.01.2015 Views

debugging

debugging

debugging

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Linux Library Loading<br />

• LD_PRELOAD – specify shared objects to load first, can<br />

override symbols<br />

$ LD_PRELOAD="/usr/lib/libtcmalloc.so“ ls<br />

• LD_DEBUG – debug process loading. Example:<br />

$ LD_DEBUG=all ls 2>out.txt

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!