Skip to content

Commit

Permalink
do_autogen.sh: -p to pass --with-profiler to configure (google cpu pr…
Browse files Browse the repository at this point in the history
…ofiler)

The -P profiling stuff seems somewhat nonsensical.. that should be cleaned
up too.

Signed-off-by: Sage Weil <[email protected]>
  • Loading branch information
Sage Weil committed Aug 16, 2012
1 parent dc76a6c commit 3e50a09
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion do_autogen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -28,14 +29,15 @@ 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;;

O) CFLAGS="${CFLAGS} -O$OPTARG";;

P) profile=1;;
p) with_profiler="--with-profiler" ;;

h) usage
exit 0;;
Expand Down

0 comments on commit 3e50a09

Please sign in to comment.