Received: by 2002:a05:7412:40d:b0:e2:908c:2ebd with SMTP id 13csp722099rdf; Tue, 21 Nov 2023 14:59:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IEZuJflhlznVbMeSIldLD5DHKTx0rliZ5sRC7lYKG5+EkStP85gDEw8RSBbyJeurxbIm53p X-Received: by 2002:a9d:638a:0:b0:6b9:b1b0:fcd1 with SMTP id w10-20020a9d638a000000b006b9b1b0fcd1mr861021otk.31.1700607563015; Tue, 21 Nov 2023 14:59:23 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700607562; cv=none; d=google.com; s=arc-20160816; b=Ig75OBbzDrGbX0BoFusaBtewr0OSPS2Qf0O/Iy6M9kZqgCQtdbGwlvyubyEkUF7D9j ivNRwsaHRaHuwl3CSqUERBT3ZE8z+VUr6MkvKRVWeMocFQtpJksO6NaSnsst0Py6zc4U Y1hpzK+8Y2nP1TOMkL6AHJ9/s+0k8QQWdKHVR3AQlBRWYaCAdb4nbaG2DNDG7bPsSvaI sHqQLjUbzqsRlofz8zZpyzKos+2mWYN0c5873qJeTc0dD1aWj0pLApI/3791KZxPPFxT aj8Hd/Yv+NVtD5bYwIwfTxsy6aljh7/1u1nsH7P+HZDaxhpdG8CPPgjx+zd3PiC/xXTW iWNQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from:sender :dkim-signature; bh=b+EFg98kTfCiA5bJ0hLVEAxGuf511Fc6FKmEpnkyoH0=; fh=WYGch7tQPpos4RdjpRDtgMme+YkmTdvJ+UzardgrhIs=; b=L/w40nGiw/GV03etKgsYxjjm+e1gA8n7lEAt9CVpwc5e4yckElcm1WLqSEasdDKc2+ vfV7YEOH0KRfBN51uynEBAM8Ant3qdqDDa92puzm4UYYpAHmLNQN1nVzo+lVvpbgjVFL 5LxGAIJPmuyIDr2YCc6ZtXTgv9aSehUxHgktTQwnnuItftJ7+hxfNJOOPCMoqc3eDlrh zOzA0sIYFXiKpMHMScTXV8MI4jxUhxiMMJr7Yq+voA2PLLrFkzTQg7oGHg70lkwkbMG2 UumlpEOQA6+yiU/5aoNm3Xl6IziRzUG4XiQqzyd47MF/RcIwRwHr4e3R/4G9krQdcNrx xZzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="L2/RI8eu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id a20-20020a634d14000000b005be1ee5ef0dsi11560947pgb.15.2023.11.21.14.59.16 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 14:59:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b="L2/RI8eu"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 62D26816691F; Tue, 21 Nov 2023 14:58:05 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235001AbjKUW5y (ORCPT + 99 others); Tue, 21 Nov 2023 17:57:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55570 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234936AbjKUW5e (ORCPT ); Tue, 21 Nov 2023 17:57:34 -0500 Received: from mail-pj1-x1030.google.com (mail-pj1-x1030.google.com [IPv6:2607:f8b0:4864:20::1030]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4F37F10EB; Tue, 21 Nov 2023 14:57:10 -0800 (PST) Received: by mail-pj1-x1030.google.com with SMTP id 98e67ed59e1d1-28014fed9efso4839522a91.0; Tue, 21 Nov 2023 14:57:10 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1700607429; x=1701212229; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to; bh=b+EFg98kTfCiA5bJ0hLVEAxGuf511Fc6FKmEpnkyoH0=; b=L2/RI8eud8oCzmcYHwdKZeb84WHnS+jTdlkfVv5EWu5iKAGwJpn5u62uuLjiZUSlTx EUU8yhwGcIVN4jsds3uo40iADvgcw1RndSu6dtBByu58jmW9S+U0XGvuhNcioycV+kxm V7Y349RWPC62d8wl/et5tFdUfucRx5O+OlYjdqnlOeo0zFK6g04klTYRKyW+r7tJJhnI mN21S8s2bKCr6z/KAQ3I4LcdVIDpsF/0DciH+EkaqQ6zrX3K93f5zof41x1UynDzC6xu ND4rJNTjs8TpqmppcrFqxsJ5qEn7g6NJrqkN5svizWW/uxvQGx9sAZ9VVA5JNvbB+A93 pflg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1700607429; x=1701212229; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=b+EFg98kTfCiA5bJ0hLVEAxGuf511Fc6FKmEpnkyoH0=; b=eOYs5kUbOmro6+9aJ3p3pwSthlHBWBfMnSZjJ68vdXwMz/I+bA0qjO5+mTpYY+H2re r6M5bzy9sw6i6iWRNp+8zeFuU+h9UB0lCEJwHwQLcQ4GcuANQvDO08afyzWwp8WlmHxR 9bXArAAZIBobsoKiJVVukzpjc7ZiWYAfZgro3iKCiEzvyqg7ehUE7kT7zllu1/mm+djG p7/U5JD+CmmETvHO9xfZK6riVvU7wSfolAaqzGR4ktZLRnMUEHUIR3nAASdB+vlfpRqT N3NiTbK3yrovEZyAIC+v8bXY1syz44SDqbGNctT4usYXS7XlSSW1n7OcyNhhxs6JiHpC kP/Q== X-Gm-Message-State: AOJu0Yzct+6vi7xRJTdZV9BpDxLfBCj+4evK8gmFJydTG3brtngH4cQn j/n4AfCgQTHhKISYpzEbb20= X-Received: by 2002:a17:90b:4ace:b0:27f:f260:ceaf with SMTP id mh14-20020a17090b4ace00b0027ff260ceafmr679899pjb.10.1700607429547; Tue, 21 Nov 2023 14:57:09 -0800 (PST) Received: from bangji.hsd1.ca.comcast.net ([2601:647:6780:42e0:7377:923f:1ff3:266d]) by smtp.gmail.com with ESMTPSA id m12-20020a1709026bcc00b001cc47c1c29csm8413189plt.84.2023.11.21.14.57.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Nov 2023 14:57:09 -0800 (PST) Sender: Namhyung Kim From: Namhyung Kim To: Arnaldo Carvalho de Melo , Jiri Olsa Cc: Ian Rogers , Adrian Hunter , Peter Zijlstra , Ingo Molnar , LKML , linux-perf-users@vger.kernel.org, Thomas Bogendoerfer , linux-mips@vger.kernel.org Subject: [PATCH 14/14] tools/perf: Update tools's copy of mips syscall table Date: Tue, 21 Nov 2023 14:56:49 -0800 Message-ID: <20231121225650.390246-14-namhyung@kernel.org> X-Mailer: git-send-email 2.43.0.rc1.413.gea7ed67945-goog In-Reply-To: <20231121225650.390246-1-namhyung@kernel.org> References: <20231121225650.390246-1-namhyung@kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_EF,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Tue, 21 Nov 2023 14:58:05 -0800 (PST) tldr; Just FYI, I'm carrying this on the perf tools tree. Full explanation: There used to be no copies, with tools/ code using kernel headers directly. From time to time tools/perf/ broke due to legitimate kernel hacking. At some point Linus complained about such direct usage. Then we adopted the current model. The way these headers are used in perf are not restricted to just including them to compile something. There are sometimes used in scripts that convert defines into string tables, etc, so some change may break one of these scripts, or new MSRs may use some different #define pattern, etc. E.g.: $ ls -1 tools/perf/trace/beauty/*.sh | head -5 tools/perf/trace/beauty/arch_errno_names.sh tools/perf/trace/beauty/drm_ioctl.sh tools/perf/trace/beauty/fadvise.sh tools/perf/trace/beauty/fsconfig.sh tools/perf/trace/beauty/fsmount.sh $ $ tools/perf/trace/beauty/fadvise.sh static const char *fadvise_advices[] = { [0] = "NORMAL", [1] = "RANDOM", [2] = "SEQUENTIAL", [3] = "WILLNEED", [4] = "DONTNEED", [5] = "NOREUSE", }; $ The tools/perf/check-headers.sh script, part of the tools/ build process, points out changes in the original files. So its important not to touch the copies in tools/ when doing changes in the original kernel headers, that will be done later, when check-headers.sh inform about the change to the perf tools hackers. Cc: Thomas Bogendoerfer Cc: linux-mips@vger.kernel.org Signed-off-by: Namhyung Kim --- tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl b/tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl index 80be0e98ea0c..116ff501bf92 100644 --- a/tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl +++ b/tools/perf/arch/mips/entry/syscalls/syscall_n64.tbl @@ -367,3 +367,7 @@ 450 common set_mempolicy_home_node sys_set_mempolicy_home_node 451 n64 cachestat sys_cachestat 452 n64 fchmodat2 sys_fchmodat2 +453 n64 map_shadow_stack sys_map_shadow_stack +454 n64 futex_wake sys_futex_wake +455 n64 futex_wait sys_futex_wait +456 n64 futex_requeue sys_futex_requeue -- 2.43.0.rc1.413.gea7ed67945-goog