Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1896606pxu; Fri, 18 Dec 2020 00:04:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJyBY7s1IA3eLYVOqggqqNse0S3iYryaVCtxrDX+J8Ho02E2idQT+L6oel/Ig/f3c/2XtJC8 X-Received: by 2002:a17:906:b74b:: with SMTP id fx11mr2881717ejb.410.1608278653547; Fri, 18 Dec 2020 00:04:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608278653; cv=none; d=google.com; s=arc-20160816; b=Jmh4KAt7RPk0p2XQv7msW9+3JW3PhPZaiyaqYG74FrA4FlaVyiZhdG/FrItGLAYWtJ yM+BgrmoH3143h5pxJLPW7tp1cDMpVwqsIZELgm7gfZbvc0c5g5ZYl5q0cLDmYeI0MIJ D+Yvk+N8CSFCMUDX0nS/Ts0z2JBFe64E/6oMU/ehnaRN0z3YQ+gPg0hnIN0epUjbLlf5 OX3kp1/4YyMkj/no3VNd2s8lrjIly4nPY3dwSTWU/a73GTPY31YxIuoxC3e6OdKXVn89 AkiyrXnsRD0RlJqCzcDd/SeF6/FBdTHSds5KsUCdMNFDnWqivs8NvlZunq2Jjv/Uh6il 95fA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:references:in-reply-to:message-id:date:subject :cc:to:from; bh=qgdX0WBEaTk+g16n4ZRtQoWzifoRp1k0QJUmr6pha1E=; b=iwIOvmuAQ0PPqdEPtX/CJnqqNz0FgLHfQmfXEwWAxdUXCn3HrIBg761KpBxFujk6xl plO0r6P/wOIJoHlTVtRK3vmcWhBXEa0GKPeEJSnITVquYDLhEGsfRMCX2Ooc6zEgOS/l JoW6IOZgpBM5s+etODiJ8bHC9QR6alTKSSZsVorOphIkU2JnU+jHTPbRjFC1Wv1h76hL moEYKnCkXEHeFwjHGFHRENbzEo1N9r0Xl+/eaKOKNUYdIGqqaTG9tU75cB2ErTNZ8t5w U/BmzgwM+y9xqcPU8ciGnShFQVEPPmOWKcmI84SKI0w2vH362Ktt7JSXSf49g8/FTude 7qxg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id me16si4041608ejb.257.2020.12.18.00.03.50; Fri, 18 Dec 2020 00:04:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732930AbgLRIA2 (ORCPT + 99 others); Fri, 18 Dec 2020 03:00:28 -0500 Received: from mail.loongson.cn ([114.242.206.163]:54372 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725908AbgLRIA1 (ORCPT ); Fri, 18 Dec 2020 03:00:27 -0500 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxX8teYdxf_t8BAA--.5208S4; Fri, 18 Dec 2020 15:59:29 +0800 (CST) From: Tiezhu Yang To: Peter Zijlstra , Ingo Molnar , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim Cc: linux-kernel@vger.kernel.org, Xuefeng Li Subject: [PATCH 2/4] perf tools: Move syscall.tbl check into check-headers.sh for s390 Date: Fri, 18 Dec 2020 15:59:22 +0800 Message-Id: <1608278364-6733-3-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1608278364-6733-1-git-send-email-yangtiezhu@loongson.cn> References: <1608278364-6733-1-git-send-email-y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8E87Iv67AKxVWUJVW8JwCI42IY6I8E87 Iv6xkF7I0E14v26r4j6r4UJbIYCTnIWIevJa73UjIFyTuYvjfUUksqDUUUU X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org It is better to check syscall.tbl for s390 in check-headers.sh, it is similar with commit c9b51a017065 ("perf tools: Move syscall_64.tbl check into check-headers.sh"). Signed-off-by: Tiezhu Yang --- tools/perf/arch/s390/Makefile | 4 ---- tools/perf/check-headers.sh | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/tools/perf/arch/s390/Makefile b/tools/perf/arch/s390/Makefile index 6ac8887..74bffbe 100644 --- a/tools/perf/arch/s390/Makefile +++ b/tools/perf/arch/s390/Makefile @@ -12,7 +12,6 @@ PERF_HAVE_JITDUMP := 1 out := $(OUTPUT)arch/s390/include/generated/asm header := $(out)/syscalls_64.c -syskrn := $(srctree)/arch/s390/kernel/syscalls/syscall.tbl sysprf := $(srctree)/tools/perf/arch/s390/entry/syscalls sysdef := $(sysprf)/syscall.tbl systbl := $(sysprf)/mksyscalltbl @@ -21,9 +20,6 @@ systbl := $(sysprf)/mksyscalltbl _dummy := $(shell [ -d '$(out)' ] || mkdir -p '$(out)') $(header): $(sysdef) $(systbl) - @(test -d ../../kernel -a -d ../../tools -a -d ../perf && ( \ - (diff -B $(sysdef) $(syskrn) >/dev/null) \ - || echo "Warning: Kernel ABI header at '$(sysdef)' differs from latest version at '$(syskrn)'" >&2 )) || true $(Q)$(SHELL) '$(systbl)' $(sysdef) > $@ clean:: diff --git a/tools/perf/check-headers.sh b/tools/perf/check-headers.sh index 3c96fd3..dded93a 100755 --- a/tools/perf/check-headers.sh +++ b/tools/perf/check-headers.sh @@ -145,6 +145,7 @@ check arch/x86/lib/insn.c '-I "^#include [\"<]\(../include/\)*asm/in # diff non-symmetric files check_2 tools/perf/arch/x86/entry/syscalls/syscall_64.tbl arch/x86/entry/syscalls/syscall_64.tbl check_2 tools/perf/arch/powerpc/entry/syscalls/syscall.tbl arch/powerpc/kernel/syscalls/syscall.tbl +check_2 tools/perf/arch/s390/entry/syscalls/syscall.tbl arch/s390/kernel/syscalls/syscall.tbl for i in $BEAUTY_FILES; do beauty_check $i -B -- 2.1.0