Implement memory usage analysis

tracetools_launch will also need to be modified to add an LD_PRELOAD SetEnvironmentVariable action to preload liblttng-ust-libc-wrapper.so.

This might be the perfect time to refactor the Trace action to extract the lib-finding logic and create an LD_PRELOAD action that extends SetEnvironmentVariable.

Edited by Christophe Bédard