> I remember read some discussion about LD_PRELOAD being bad for
> optimization > long time ago (by Ulrich Drepper?). Has the
> situation changed since then. Or is there a > replacement for
> LD_PRELOAD? That is providing a hook function and then > we can
> replace some system or library functions at the run time.
Why should there be a replacement? LD_PRELOAD still works if used
correctly but it is (and in future be even more) true that LD_PRELOAD
will hurt performance. It is *not* a general utility, it is only a
last resort and helper for very special situations. It should never
be generally used.
-- ---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA Cygnus Solutions `--' drepper at cygnus.com `------------------------- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/