The resulting `lttng-ust-mpi.so` can be used to instrument OpenMPI or CrayMPI
with LTTng. See the `check` script for usage example.
+# Usage
+
+For programs that have a direct dependency on `libmpi.so` (e.g. they are listed
+as NEEDED in the dynamic section of an ELF binary), the following can be used
+to activate tracing:
+
+```
+LD_PRELOAD=liblttng-ust-mpi.so ./program
+```
+
+However, if the the program in question loads `libmpi.so` dynamically during
+execution a work around is required to ensure the library is already. The
+following command can be used as a work-around until a more robust solution
+is put in place:
+
+```
+LD_PRELOAD=liblttng-ust-mpi.so:libmpi.so ./program
+```
+
# Set of ignored functions
The only function ignored is `MPI_Pcontrol`. One can extend the `forbiden_list`