oprofile_start.sh was lifted from VMRegress which while maintained is no
longer released. When moving to libhugetlbfs, a reference to VMRegress
was improperly left behind. This patch removes it.

Signed-off-by: Mel Gorman <[email protected]>
--- 
 oprofile_start.sh |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/oprofile_start.sh b/oprofile_start.sh
index b8067bd..9c2d95d 100755
--- a/oprofile_start.sh
+++ b/oprofile_start.sh
@@ -11,7 +11,6 @@ usage() {
        echo "    --sample-cycle-factor Factor which to slow down CPU cycle 
sampling by"
        echo "    --sample-event-factor Factor which to slow down event 
sampling by"
        echo "    --systemmap           Guess"
-       echo "    -v, --vmr             VMRegress install directory (default: 
$VMREGRESS_DIR)"
        echo "    -h, --help            Print this help message"
        echo
        exit
@@ -24,13 +23,12 @@ VMLINUX=/boot/vmlinux-`uname -r`
 SYSTEMMAP=/boot/System.map-`uname -r`
 FACTOR=
 export PATH=$SCRIPTROOT:$PATH
-ARGS=`getopt -o hv: --long 
help,vmr:,event:,vmlinux:,systemmap:,sample-event-factor:,sample-cycle-factor: 
-n oprofile_start.sh -- "$@"`
+ARGS=`getopt -o h --long 
help,event:,vmlinux:,systemmap:,sample-event-factor:,sample-cycle-factor: -n 
oprofile_start.sh -- "$@"`
 
 # Cycle through arguements
 eval set -- "$ARGS"
 while true ; do
   case "$1" in
-       -v|--vmr)              VMREGRESS_DIR="$2"; shift 2;;
        --event)               EVENTS="$EVENTS $2"; shift 2;;
        --vmlinux)             VMLINUX=$2; shift 2;;
        --sample-cycle-factor) CYCLE_FACTOR="--sample-cycle-factor $2"; shift 
2;;

------------------------------------------------------------------------------
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to