Received: by 2002:a05:7412:518d:b0:e2:908c:2ebd with SMTP id fn13csp403726rdb; Thu, 5 Oct 2023 09:07:45 -0700 (PDT) X-Google-Smtp-Source: AGHT+IH6v2biMM292f7Wl8sz0Ycv5j7XRIXRKyXPFBZ54ebfMCA/5ACDKdxD862NWjzrUiRrmQOK X-Received: by 2002:a05:6a00:1788:b0:68b:e6e0:5047 with SMTP id s8-20020a056a00178800b0068be6e05047mr6798471pfg.14.1696522064952; Thu, 05 Oct 2023 09:07:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696522064; cv=none; d=google.com; s=arc-20160816; b=lMfxrON6gbt2Bw4HXXLgqDzJgcrsvuL4S7g+yK13kexaiuQdd03yTV6Cv+MPDgpTD5 +BiFIGKLPy+xBKRFdIbjIbyQWLnwpYx5ai/TaN05xnGuClhecGcvpK7sOd+nxSnvT/wt sliD0hBdIu5fYPDBVG6cOpPIrTFT708EYB+5dEfqSDmBGnRMtaiAcsmWlj7NDidpO4rc 6f/P6yETPlyedRqV2GqREHu9VMqwixV4hVGb9uBHeArnp32A5ItNIx4Jsqh7ZpzIZ2m5 ZYzvhQshoD/MuB3kugR3t3S3R8AdlS0EQSQbbB9SLCm9jMNu2i56ub5R+8cS1PdC5/H0 mFLw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:content-disposition :mime-version:message-id:subject:cc:to:from:date:dkim-signature; bh=WZK2Vl1/5fBoHa+vQeuLl08wWC9Nwbob9GwkBLmnFY0=; fh=vHYCIl8Q9TGnTbBj3QWQ0OPj0wJ/A4I5tshGawDkzEU=; b=kEBhJEIdN/UtVRjNuOavtc/kcuUJrd73O+XIri7Jgr871ZUYixjPICCD7bB8KC4P4R xDSUvNocEuSwMa4iR4XooUJ9zmNDZX1ATeMPaPHNatx45P9f5wub5rpjgIytL57StNcY ba4ngdZzjcQFu7nwmd/PBH6I3Z320UNwCo1XnZljBx+8UoXxyiotgQUsCQC8FKYo9WKh G5EH+h5ABn30rHde+9UptHJ/lY8Pk+ZpY/zCWQJYs/hq18U+Zs6AqNd4a62qMdE/nvwW OFzDPjRZHuSTVIlxWetS4NzeliV4keRv/AHwCnyS74g11eHL3rvCA+kPZ3Ae7C0dib9+ U6vg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aAWQyKUh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id bg26-20020a056a02011a00b00577646e2b6bsi773510pgb.206.2023.10.05.09.07.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 09:07:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=aAWQyKUh; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 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 agentk.vger.email (Postfix) with ESMTP id A2F2B82D9803; Thu, 5 Oct 2023 09:07:21 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S240235AbjJEQFu (ORCPT + 99 others); Thu, 5 Oct 2023 12:05:50 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58076 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237478AbjJEQED (ORCPT ); Thu, 5 Oct 2023 12:04:03 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 02AE95DFCF for ; Thu, 5 Oct 2023 07:07:31 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 0EDC9C36AF0; Thu, 5 Oct 2023 13:29:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1696512582; bh=eKVQkVdvM1LQ6mdxoEN/45x8ioQAGbo/3OSjYqGT/r0=; h=Date:From:To:Cc:Subject:From; b=aAWQyKUh4zUic5w8JBKR8q7LW20d07MjI5VXbf1ZNy1lm5Ck3Dat2QYjvA4xwfbh6 26SCzaTVtVL3YmmU0temuuhTrpvaPygIvxS8CZx5tdXKano1Prdgdf5GEHKLGNS4zv rQcRIu68EyVNBFmpPxMI8ARH9pd23Do6Ek+twgfZ0h5FwkQz00ki+B+j6SnzmTiKZ2 TcH2QiBxBb6hF7djVLFHd4mNemkWrO25oRWaR8LY6WvN7gstiUSrjsIsJnC+tIIzPT cTQAKDEhMkiqWJkfzABR9m8Qmlqbe3JkSUyfV5IgNG0Ne1kW9WMdLQL2PPnpGNYrBu SZcrbTCr0LXzA== Received: by quaco.ghostprotocols.net (Postfix, from userid 1000) id 693B640508; Thu, 5 Oct 2023 10:29:38 -0300 (-03) Date: Thu, 5 Oct 2023 10:29:38 -0300 From: Arnaldo Carvalho de Melo To: Namhyung Kim Cc: Frederic Weisbecker , Peter Zijlstra , Ingo Molnar , Adrian Hunter , Ian Rogers , Jiri Olsa , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: [PATCH 1/1] perf symbols: Add 'intel_idle_ibrs' to the list of idle symbols Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Url: http://acmel.wordpress.com X-Spam-Status: No, score=-1.2 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email 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 (agentk.vger.email [0.0.0.0]); Thu, 05 Oct 2023 09:07:21 -0700 (PDT) From: Arnaldo Carvalho de Melo This is a longstanding to do list entry: we need a way to see that a sample took place while in idle state, as the current way to do it is to infer that by the name of the functions that in such state have more samples, IOW: a hack. Maybe we can do flip a bit in samples that take place inside the enter/exit idle section in do_idle()? But till then, add one more :-\ Cc: Adrian Hunter cc: Fr?d?ric Weisbecker Cc: Ian Rogers Cc: Ingo Molnar , Cc: Jiri Olsa Cc: Namhyung Kim Cc: Peter Zijlstra Signed-off-by: Arnaldo Carvalho de Melo --- 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 5b54d2639df4740e..3c7f483bf85bbdaf 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -718,6 +718,7 @@ static bool symbol__is_idle(const char *name) "cpu_startup_entry", "idle_cpu", "intel_idle", + "intel_idle_ibrs", "default_idle", "native_safe_halt", "enter_idle", -- 2.41.0