From 3e50a09d2928f27bad8b6ba8c4ca6a5dd5c7ae48 Mon Sep 17 00:00:00 2001 From: Sage Weil Date: Thu, 16 Aug 2012 11:05:44 -0700 Subject: [PATCH] do_autogen.sh: -p to pass --with-profiler to configure (google cpu profiler) The -P profiling stuff seems somewhat nonsensical.. that should be cleaned up too. Signed-off-by: Sage Weil --- do_autogen.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/do_autogen.sh b/do_autogen.sh index 9e1b433c2a8fd..3e3e673883e84 100755 --- a/do_autogen.sh +++ b/do_autogen.sh @@ -14,6 +14,7 @@ do_autogen.sh: make a ceph build by running autogen, etc. -T --without-tcmalloc -e dump encoded objects to -P profiling build +-p google profiler -O optimize EOF @@ -28,7 +29,7 @@ debug_level=0 verbose=0 profile=0 CONFIGURE_FLAGS="" -while getopts "d:e:hHTPvO:" flag +while getopts "d:e:hHTPpvO:" flag do case $flag in d) debug_level=$OPTARG;; @@ -36,6 +37,7 @@ do O) CFLAGS="${CFLAGS} -O$OPTARG";; P) profile=1;; + p) with_profiler="--with-profiler" ;; h) usage exit 0;; -- 2.39.5