Change run-monitor-libnetmon.sh to run netmond, instead of the
application directly. Add a new script, instrument.sh, that runs your app with libnetmon, which will connect to netmond, and thus to the monitor. Change both to allow them to be run from arbitrary directories - you no longer have to cd into the monitor directory to run them.
Showing with 33 additions and 10 deletions