On Mon, Dec 07, 2015 at 07:53:18PM +0100, Michael Petlan wrote:

SNIP

> diff --git a/tools/perf/testsuite/base_buildid/settings.sh 
> b/tools/perf/testsuite/base_buildid/settings.sh
> new file mode 100644
> index 0000000..87052dc
> --- /dev/null
> +++ b/tools/perf/testsuite/base_buildid/settings.sh
> @@ -0,0 +1,23 @@
> +#
> +#    settings.sh of perf buildid test
> +#    Author: Michael Petlan <mpet...@redhat.com>
> +#
> +#    Description:
> +#            FIXME
> +#
> +#
> +
> +export TEST_NAME="perf_buildid-cache"
> +export MY_ARCH=`arch`
> +export MY_HOSTNAME=`hostname`
> +export MY_KERNEL_VERSION=`uname -r`
> +export MY_CPUS_ONLINE=`nproc`
> +export MY_CPUS_AVAILABLE=`cat /proc/cpuinfo | grep processor | wc -l`
> +
> +# FIXME look for the cache dir to /etc/perfconfig
> +export BUILDIDDIR="$HOME/.debug"
> +
> +clear_buildid_cache()
> +{
> +     rm -rf $BUILDIDDIR/*
> +}

I understand it's supposed to run on developers servers,
but cleaning ~/.debug is not a good idea

you could use './perf --buildid-dir DIR' and use
some temporary directory for the buildid cache

thanks,
jirka
--
To unsubscribe from this list: send the line "unsubscribe linux-perf-users" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to