From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8AEDDEB64DC for ; Tue, 11 Jul 2023 10:22:28 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230318AbjGKKW1 (ORCPT ); Tue, 11 Jul 2023 06:22:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53206 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230325AbjGKKWX (ORCPT ); Tue, 11 Jul 2023 06:22:23 -0400 Received: from mailbox.box.xen0n.name (mail.xen0n.name [115.28.160.31]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AEA1F1A3 for ; Tue, 11 Jul 2023 03:22:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xen0n.name; s=mail; t=1689070936; bh=NmkIsSCGaSmG93pUP0j3sw7fLc5IONMtW4jX2nFbWrM=; h=From:To:Cc:Subject:Date:From; b=MMrFG/hTmh8HQEcyWCsO/pD0oJw1pKMSaG1DK1apHGPzxCYtdnNcIVlqhSivEyHND Se4bRexAdsaK8803cYzivVQC6Z72pzMaoAASpxPQ8X42RviAG36aP0BAaGGfNJ80XM GHMcc1qEqZX2QIx8mb3g4ax/JfY/zHtvXX2+iWA4= Received: from ld50.lan (unknown [101.88.28.229]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mailbox.box.xen0n.name (Postfix) with ESMTPSA id 7AD826011B; Tue, 11 Jul 2023 18:22:13 +0800 (CST) From: WANG Xuerui To: linux-perf-users@vger.kernel.org, loongarch@lists.linux.dev Cc: WANG Xuerui , Arnaldo Carvalho de Melo , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Ian Rogers , Adrian Hunter , Huacai Chen , Tiezhu Yang Subject: [PATCH] perf symbols: Add __arch_cpu_idle to the list of idle symbols Date: Tue, 11 Jul 2023 18:22:02 +0800 Message-Id: <20230711102202.1206488-1-kernel@xen0n.name> X-Mailer: git-send-email 2.40.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-perf-users@vger.kernel.org From: WANG Xuerui The LoongArch port's idle symbol is named __arch_cpu_idle, which is different from everyone else, so let's mark it as such. Signed-off-by: WANG Xuerui Cc: Arnaldo Carvalho de Melo Cc: Mark Rutland Cc: Alexander Shishkin Cc: Jiri Olsa Cc: Namhyung Kim Cc: Ian Rogers Cc: Adrian Hunter Cc: Huacai Chen Cc: Tiezhu Yang --- This is probably v6.5 material? I'd prefer getting this merged via the perf tree rather than loongarch, because it's arguably not related to normal functionality (only noisier perf outputs). tools/perf/util/symbol.c | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index f849f9ef68e6..94847f794843 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -712,6 +712,7 @@ int modules__parse(const char *filename, void *arg, static bool symbol__is_idle(const char *name) { const char * const idle_symbols[] = { + "__arch_cpu_idle", "acpi_idle_do_entry", "acpi_processor_ffh_cstate_enter", "arch_cpu_idle", -- 2.40.0