osprofiler/devstack/plugin.sh
Ilya Shakhat ce64d7d9ba Cleanup code of DevStack plugin
Change-Id: I798e56d5779705ce0a5ec7889af688fac8016d5e
2017-06-08 16:55:19 +02:00

16 lines
316 B
Bash

# DevStack extras script to install osprofiler
# Save trace setting
XTRACE=$(set +o | grep xtrace)
set -o xtrace
source $DEST/osprofiler/devstack/lib/osprofiler
if [[ "$1" == "stack" && "$2" == "post-config" ]]; then
echo_summary "Configuring OSprofiler"
configure_osprofiler
fi
# Restore xtrace
$XTRACE