lkml.org 
[lkml]   [2014]   [Apr]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] tools: Consolidate types.h
On Sun, Apr 13, 2014 at 01:27:43PM +0200, Borislav Petkov wrote:
> And while we're at it, let's do another consolidation:
>
> ---
> From: Borislav Petkov <bp@suse.de>
> Date: Sat, 12 Apr 2014 20:10:49 +0200
> Subject: [PATCH] tools: Consolidate types.h
>
> Combine all definitions into a common tools/include/linux/types.h and
> kill the wild growth elsewhere. While at it, move u64_swap to its only
> user, evsel.h.

please put the 'u64_swap move' into separated patch
plus one nit below

thanks,
jirka

>
> Signed-off-by: Borislav Petkov <bp@suse.de>
> ---
> .../lockdep/uinclude => include}/linux/types.h | 29 +++++++++++++++++-----
> tools/perf/MANIFEST | 1 +

SNIP

> diff --git a/tools/perf/tests/perf-targz-src-pkg b/tools/perf/tests/perf-targz-src-pkg
> index 238aa3927c71..3017d82a700f 100755
> --- a/tools/perf/tests/perf-targz-src-pkg
> +++ b/tools/perf/tests/perf-targz-src-pkg
> @@ -1,4 +1,4 @@
> -#!/bin/sh
> +#!/bin/bash
> # Test one of the main kernel Makefile targets to generate a perf sources tarball
> # suitable for build outside the full kernel sources.
> #
> @@ -7,15 +7,17 @@
> # like when we made some files that were in tools/perf/ available to other tools/
> # codebases by moving it to tools/include/, etc.
>
> +set -x
> +
> 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}
> +# rm -f ${TARBALL}
> cd - > /dev/null
> -make -C $TMP_DEST/perf*/tools/perf > /dev/null 2>&1
> +make -C $TMP_DEST/perf*/tools/perf > w.log 2>&1
> RC=$?
> -rm -rf ${TMP_DEST}
> +# rm -rf ${TMP_DEST}
> exit $RC

leftover from another change ;-)



\
 
 \ /
  Last update: 2014-04-14 13:41    [W:0.058 / U:1.004 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site