From a10e8b3da39346dfb156ee6e85f3d9da2e1d9494 Mon Sep 17 00:00:00 2001
From: Robert Ricci <ricci@cs.utah.edu>
Date: Fri, 5 Jan 2007 23:53:45 +0000
Subject: [PATCH] Simple script to save me some typing while debugging

---
 pelab/libnetmon/instrument-simple.sh | 10 ++++++++++
 1 file changed, 10 insertions(+)
 create mode 100755 pelab/libnetmon/instrument-simple.sh

diff --git a/pelab/libnetmon/instrument-simple.sh b/pelab/libnetmon/instrument-simple.sh
new file mode 100755
index 0000000000..0a14822f58
--- /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
+
+$*
-- 
GitLab