[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <69a098d8-ff54-4746-96d5-5ce5eb2a8a83@linaro.org>
Date: Wed, 24 Dec 2025 13:51:33 +0000
From: James Clark <james.clark@...aro.org>
To: Leo Yan <leo.yan@....com>, Arnd Bergmann <arnd@...db.de>
Cc: linux-kernel@...r.kernel.org, linux-perf-users@...r.kernel.org,
Arnaldo Carvalho de Melo <acme@...nel.org>,
Namhyung Kim <namhyung@...nel.org>, Jiri Olsa <jolsa@...nel.org>,
Ian Rogers <irogers@...gle.com>, Adrian Hunter <adrian.hunter@...el.com>
Subject: Re: [PATCH v3 3/3] tools headers: Don't check arm64's unistd.h
On 22/12/2025 6:06 pm, Leo Yan wrote:
> The arm64 unistd.h in tools now diverges from the kernel header.
> Comparing the two headers is pointless, remove the check.
>
> Signed-off-by: Leo Yan <leo.yan@....com>
> ---
> 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 e0537f275da2f79ea9e05b91300aa1e2f996e9f1..da3aca87457fdc56c96d4184f2dee88dab026d98 100755
> --- a/tools/perf/check-headers.sh
> +++ b/tools/perf/check-headers.sh
> @@ -54,7 +54,6 @@ declare -a FILES=(
> "arch/s390/include/uapi/asm/kvm.h"
> "arch/s390/include/uapi/asm/sie.h"
> "arch/arm64/include/uapi/asm/kvm.h"
> - "arch/arm64/include/uapi/asm/unistd.h"
Isn't this _more_ of a special case for arm64 than continuing to do the
consistency check like in v2? It seems like the desire for consistency
isn't taking the whole tools/ picture into account and we end up adding
more inconsistencies than just the regular static copy + diff check that
we have for all the other headers.
> "arch/alpha/include/uapi/asm/errno.h"
> "arch/mips/include/asm/errno.h"
> "arch/mips/include/uapi/asm/errno.h"
>
Powered by blists - more mailing lists