diff options
author | Sage Weil <sage@inktank.com> | 2012-08-16 11:05:44 -0700 |
---|---|---|
committer | Sage Weil <sage@inktank.com> | 2012-08-16 11:05:44 -0700 |
commit | 3e50a09d2928f27bad8b6ba8c4ca6a5dd5c7ae48 (patch) | |
tree | 42b9e69ad71946137b86f7f560a0d6b3883ba208 /do_autogen.sh | |
parent | dc76a6cb1defed256ad6fdcb3ee48f003102ddee (diff) | |
download | ceph-3e50a09d2928f27bad8b6ba8c4ca6a5dd5c7ae48.tar.gz |
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 <sage@inktank.com>
Diffstat (limited to 'do_autogen.sh')
-rwxr-xr-x | do_autogen.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/do_autogen.sh b/do_autogen.sh index 9e1b433c2a8..3e3e673883e 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 <path> dump encoded objects to <path> -P profiling build +-p google profiler -O <level> 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;; |