diff --git a/pelab/libnetmon/instrument-simple.sh b/pelab/libnetmon/instrument-simple.sh new file mode 100755 index 0000000000000000000000000000000000000000..0a14822f58018badce0cb0d1228ea498391e4653 --- /dev/null +++ b/pelab/libnetmon/instrument-simple.sh @@ -0,0 +1,10 @@ +#!/bin/sh +export LD_LIBRARY_PATH=.:$LD_LIBRARY_PATH +export LD_PRELOAD=libnetmon.so +if [ "x$LIBNETMON_OUTPUTVERSION" = "x" ]; then + export LIBNETMON_OUTPUTVERSION=3 +else + export LIBNETMON_OUTPUTVERSION +fi + +$*