Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp1895678pxu; Fri, 18 Dec 2020 00:02:54 -0800 (PST) X-Google-Smtp-Source: ABdhPJyGyi/YOQN4//a8fYL/U4kt0o+Zg4hp6prlOyopNbE1bxg4I8JWxlIg+87PEcIcJoOyG9l6 X-Received: by 2002:a17:907:3f0d:: with SMTP id hq13mr1029845ejc.142.1608278573845; Fri, 18 Dec 2020 00:02:53 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1608278573; cv=none; d=google.com; s=arc-20160816; b=jueLQ15a6OckARQHCGSBNk8wzxya0gR+JgQtrm77StM+MQFjfn+cw9OVywopwrv/0W 278D/FGv799j9C66E4ePmHWNGiL8qys7uW7zD0+45Qt5JSls+28QgNfQ4ZvH9/tUECkA aAaU2lZYm6Ahx0pUzWcRZnK+hA8xOZNqAavuD/iQbx4Y7SCb3ODVrhTkJNM8z8z9L6Z8 x9gSsaSUBVYiPtirgVuC8jKLeDvGe/ZVzA2NuPyJ+RH7g0w8xMULTO7MZnUBf8Vx7laV vyPqWa7KQpIoQszbeEz/OOgZZYel/J/Y5LrAi8drBqYvPdEHu+emriNFA0JmGmznozUD rHQA== 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=y/LeobTvgocE5UYPfcub/kgj/hfCRp4T++02WeBfqOQ=; b=VhToMEwSIHg3+r5KekyVEaNKpsGGmO7AgmLD7+TtK4OVQoQ4W/pnzlRIKNgU0b6ppU mC/q8BNatb4qXAsQfCpR39I+suzZPDaB6LzFA0ooUhdQX8HluescBCv91OqPzEwSeHLT ksvcN6n5x24juEQux5HV9JIlUWNQawMs+XtFKy5u/9wozCECEvNTmru7IK7s9VuRRHlF dL/Es6/vN39RbieTn8GTUHo+AXd0c3YvFyrK/QCQ+q/NOqyNGeMdy/SuTMpUulSIwKMp NVW8oyaOb8q9hb/VXqozurhFF2Q7Fnp3x8l2MqZVgxsnUObTKbmQo9i0oAQO2bCWuh4a NetA== 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 38si5891128edr.163.2020.12.18.00.02.31; Fri, 18 Dec 2020 00:02:53 -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 S1732875AbgLRIAY (ORCPT + 99 others); Fri, 18 Dec 2020 03:00:24 -0500 Received: from mail.loongson.cn ([114.242.206.163]:54378 "EHLO loongson.cn" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725897AbgLRIAY (ORCPT ); Fri, 18 Dec 2020 03:00:24 -0500 Received: from linux.localdomain (unknown [113.200.148.30]) by mail.loongson.cn (Coremail) with SMTP id AQAAf9DxX8teYdxf_t8BAA--.5208S5; Fri, 18 Dec 2020 15:59:30 +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 3/4] perf tools: Update powerpc's syscall.tbl Date: Fri, 18 Dec 2020 15:59:23 +0800 Message-Id: <1608278364-6733-4-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-yangtiezhu@loongson.cn> X-CM-TRANSID: AQ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lIxAIcVC2z2 80aVCY1x0267AKxVW8JVW8JrUvcSsGvfC2KfnxnUUI43ZEXa7VUjpVbDUUUUU== X-CM-SenderInfo: p1dqw3xlh2x3gn0dqz5rrqw2lrqou0/ Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This silences the following tools/perf/ build warning: Warning: Kernel ABI header at 'tools/perf/arch/powerpc/entry/syscalls/syscall.tbl' differs from latest version at 'arch/powerpc/kernel/syscalls/syscall.tbl' Just make them same: cp arch/powerpc/kernel/syscalls/syscall.tbl tools/perf/arch/powerpc/entry/syscalls/syscall.tbl Signed-off-by: Tiezhu Yang --- tools/perf/arch/powerpc/entry/syscalls/syscall.tbl | 25 ++++++++++++++++------ 1 file changed, 18 insertions(+), 7 deletions(-) diff --git a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl b/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl index b168364..1275dae 100644 --- a/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl +++ b/tools/perf/arch/powerpc/entry/syscalls/syscall.tbl @@ -9,7 +9,9 @@ # 0 nospu restart_syscall sys_restart_syscall 1 nospu exit sys_exit -2 nospu fork ppc_fork +2 32 fork ppc_fork sys_fork +2 64 fork sys_fork +2 spu fork sys_ni_syscall 3 common read sys_read 4 common write sys_write 5 common open sys_open compat_sys_open @@ -158,7 +160,9 @@ 119 32 sigreturn sys_sigreturn compat_sys_sigreturn 119 64 sigreturn sys_ni_syscall 119 spu sigreturn sys_ni_syscall -120 nospu clone ppc_clone +120 32 clone ppc_clone sys_clone +120 64 clone sys_clone +120 spu clone sys_ni_syscall 121 common setdomainname sys_setdomainname 122 common uname sys_newuname 123 common modify_ldt sys_ni_syscall @@ -240,7 +244,9 @@ 186 spu sendfile sys_sendfile64 187 common getpmsg sys_ni_syscall 188 common putpmsg sys_ni_syscall -189 nospu vfork ppc_vfork +189 32 vfork ppc_vfork sys_vfork +189 64 vfork sys_vfork +189 spu vfork sys_ni_syscall 190 common ugetrlimit sys_getrlimit compat_sys_getrlimit 191 common readahead sys_readahead compat_sys_readahead 192 32 mmap2 sys_mmap2 compat_sys_mmap2 @@ -316,8 +322,8 @@ 248 32 clock_nanosleep sys_clock_nanosleep_time32 248 64 clock_nanosleep sys_clock_nanosleep 248 spu clock_nanosleep sys_clock_nanosleep -249 32 swapcontext ppc_swapcontext ppc32_swapcontext -249 64 swapcontext ppc64_swapcontext +249 32 swapcontext ppc_swapcontext compat_sys_swapcontext +249 64 swapcontext sys_swapcontext 249 spu swapcontext sys_ni_syscall 250 common tgkill sys_tgkill 251 32 utimes sys_utimes_time32 @@ -456,7 +462,7 @@ 361 common bpf sys_bpf 362 nospu execveat sys_execveat compat_sys_execveat 363 32 switch_endian sys_ni_syscall -363 64 switch_endian ppc_switch_endian +363 64 switch_endian sys_switch_endian 363 spu switch_endian sys_ni_syscall 364 common userfaultfd sys_userfaultfd 365 common membarrier sys_membarrier @@ -516,6 +522,11 @@ 432 common fsmount sys_fsmount 433 common fspick sys_fspick 434 common pidfd_open sys_pidfd_open -435 nospu clone3 ppc_clone3 +435 32 clone3 ppc_clone3 sys_clone3 +435 64 clone3 sys_clone3 +435 spu clone3 sys_ni_syscall +436 common close_range sys_close_range 437 common openat2 sys_openat2 438 common pidfd_getfd sys_pidfd_getfd +439 common faccessat2 sys_faccessat2 +440 common process_madvise sys_process_madvise -- 2.1.0