Re: [PATCH 1/2] perf intel-pt: Improve build messages for files that differ from the kernel

From: Arnaldo Carvalho de Melo
Date: Tue Nov 21 2017 - 08:30:39 EST


Em Tue, Nov 21, 2017 at 09:41:11AM +0100, Ingo Molnar escreveu:
> Also, I'd suggest removing this from check-headers.sh:
>
> opts="--ignore-blank-lines --ignore-space-change"
>
> as the easiest policy is to just follow the upstream UAPI header version 100%.
> Pure space-only changes are comparatively rare.

> Signed-off-by: Ingo Molnar <mingo@xxxxxxxxxx>

Thanks, applied.

- Arnaldo

>
> tools/perf/check-headers.sh | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh
> index 77406d25e521..e66a8a7bcced 100755
> --- a/tools/perf/check-headers.sh
> +++ b/tools/perf/check-headers.sh
> @@ -45,7 +45,6 @@ include/uapi/asm-generic/mman-common.h
>
> check () {
> file=$1
> - opts="--ignore-blank-lines --ignore-space-change"
>
> shift
> while [ -n "$*" ]; do