3 ms·
LD_PRELOAD is the normal way to add instrumentation on ELF HPC; it's more-or-less assumed by the MPI profiling facility. I'm surprised that LD_PRELOAD should b
by gnufx 6y ago
LD_PRELOAD is the normal way to add instrumentation on ELF HPC; it's more-or-less assumed by the MPI profiling facility. I'm surprised that LD_PRELOAD should be news to anyone at this stage, though. For instance, glibc has hooks for interposing that way, like a different malloc. It's definitely not general, specifically not for static binaries (Cray?). Dyninst is the usual alternative.