lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Mon, 18 May 2015 21:29:03 +0200
From:	Jiri Olsa <jolsa@...hat.com>
To:	Namhyung Kim <namhyung@...nel.org>
Cc:	Arnaldo Carvalho de Melo <acme@...nel.org>,
	Ingo Molnar <mingo@...nel.org>,
	Peter Zijlstra <a.p.zijlstra@...llo.nl>,
	LKML <linux-kernel@...r.kernel.org>,
	David Ahern <dsahern@...il.com>,
	Adrian Hunter <adrian.hunter@...el.com>,
	Andi Kleen <andi@...stfloor.org>,
	Frederic Weisbecker <fweisbec@...il.com>,
	Stephane Eranian <eranian@...gle.com>
Subject: Re: [PATCH 11/40] perf tools: Add a test case for thread comm
 handling

On Mon, May 18, 2015 at 09:30:26AM +0900, Namhyung Kim wrote:

SNIP

> diff --git a/tools/perf/tests/builtin-test.c b/tools/perf/tests/builtin-test.c
> index f42af98a5c16..372b6395a448 100644
> --- a/tools/perf/tests/builtin-test.c
> +++ b/tools/perf/tests/builtin-test.c
> @@ -171,6 +171,10 @@ static struct test {
>  		.func = test__kmod_path__parse,
>  	},
>  	{
> +		.desc = "Test thread comm handling",
> +		.func = test__thread_comm,
> +	},
> +	{
>  		.func = NULL,
>  	},
>  };
> diff --git a/tools/perf/tests/perf-targz-src-pkg b/tools/perf/tests/perf-targz-src-pkg
> deleted file mode 100755
> index 238aa3927c71..000000000000
> --- a/tools/perf/tests/perf-targz-src-pkg
> +++ /dev/null

you dont like this one? ;-)

jirka

> @@ -1,21 +0,0 @@
> -#!/bin/sh
> -# Test one of the main kernel Makefile targets to generate a perf sources tarball
> -# suitable for build outside the full kernel sources.
> -#
> -# This is to test that the tools/perf/MANIFEST file lists all the files needed to
> -# be in such tarball, which sometimes gets broken when we move files around,
> -# like when we made some files that were in tools/perf/ available to other tools/
> -# codebases by moving it to tools/include/, etc.
> -
> -PERF=$1
> -cd ${PERF}/../..
> -make perf-targz-src-pkg > /dev/null
> -TARBALL=$(ls -rt perf-*.tar.gz)
> -TMP_DEST=$(mktemp -d)
> -tar xf ${TARBALL} -C $TMP_DEST
> -rm -f ${TARBALL}
> -cd - > /dev/null
> -make -C $TMP_DEST/perf*/tools/perf > /dev/null 2>&1
> -RC=$?
> -rm -rf ${TMP_DEST}
> -exit $RC

SNIP
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ