can LD_PRELOAD trick considered as a type of instrumentation?

169 views Asked by At

If you set LD_PRELOAD to the path of a shared object, that file will be loaded before any other library (including the C runtime, libc.so). This trick is used by a number of profilers, especially MPI profilers. My question is, can this pre-loading be considered as a type of instrumentation? If yes, will it be source level instrumentation or static binary instrumentation?

0

There are 0 answers