Received: by 2002:a05:7412:da14:b0:e2:908c:2ebd with SMTP id fe20csp163195rdb; Thu, 5 Oct 2023 22:17:07 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHVIuBlHA2+GIQP6bDqxLm81UoTpY7XzLn83kxlhAVfKmQ76uzFcd+iGjhTFhq0bs4A0p5n X-Received: by 2002:a05:6a20:258d:b0:135:4df7:f165 with SMTP id k13-20020a056a20258d00b001354df7f165mr7967502pzd.21.1696569427485; Thu, 05 Oct 2023 22:17:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1696569427; cv=none; d=google.com; s=arc-20160816; b=HyQPVj/5/8bN7FOKCmtMgQtZDdOkl4hoE2JTwhbpv3swluAivmWYjV4WRT3DNa37pD fGZXh+pEOpn4V/WI6vrI2w8aPENwU6e0Y41NdEOVOLG7t5BhvUyxHPsdeaXjPaWC+xMC RujkNo79JGHEDY3CSovfNeegAS0YgiYMa/r6LZG1eO0nseXeEClTMiF1gsPp9UTWwy/C DkYuWG6OasIRerTMJtUtvsiAJ2dsQcKw1Du6+HEql3jvVDWrtJ/FUqtLJYyhZf49hABv Z6Mo2ONO9D0OPs4j2U8uNx8oyaeadLofZ+6qRK39VAwjxjzYavev8gyd0Y3AVbJ86qw4 tdwQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version; bh=m7aNXv1lqM7eVfeJk617v5Mv7uheibD5rBr3O8NAhl0=; fh=JHrI9B0tbElGdeeuiQ7sdkQ5tXEUU6MDs0NQkEyMeHc=; b=e4QuMQmnuiIunNVwG82B/vwguoQezZLaclU+xDGuHi+EA2S6qlQyoAhtiDfK/dbCpH 4Pg1DXJpw0XtOA+vAHFKk6lb8/QuDb0vkz0j+fa0Hho8QlWPvQzUSBB/TmOQOzzMs612 MpNxClE263t34hpwpzBv0xwzqS4+LOQO3PtTQcNpaLGCsbacPZo295b/Nnt9ZGLWDOmf nonYDInxz6lOtY4LP/lqyK7sNR1zEXzz2xNtHT/s7IPE4ejXWBeYYz8clTOoDrNfd7R8 T1C23jliVUuWVzKMLr1TyXl7VyX8r38BZflP9bj9UDWfFEZrlxeOtS+A5IwsJxHrsn6J RSfw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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. [2620:137:e000::3:2]) by mx.google.com with ESMTPS id s18-20020a17090330d200b001bbbbb61c71si2767729plc.399.2023.10.05.22.17.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Oct 2023 22:17:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 as permitted sender) client-ip=2620:137:e000::3:2; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:2 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 5A91D82ACAFA; Thu, 5 Oct 2023 22:17:05 -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 S230099AbjJFFQz convert rfc822-to-8bit (ORCPT + 99 others); Fri, 6 Oct 2023 01:16:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35564 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229876AbjJFFQy (ORCPT ); Fri, 6 Oct 2023 01:16:54 -0400 Received: from mail-pj1-f50.google.com (mail-pj1-f50.google.com [209.85.216.50]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C433EB6; Thu, 5 Oct 2023 22:16:53 -0700 (PDT) Received: by mail-pj1-f50.google.com with SMTP id 98e67ed59e1d1-27777174297so1243249a91.3; Thu, 05 Oct 2023 22:16:53 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1696569413; x=1697174213; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=OvOcOTq7EGq7pb4ud31/t54x6a89DswpBEw1W3QbZUs=; b=hZbFruqRHnSWW7gPkGnhbmT44HqSGq3QEou8dlb8Bjd+8n2KBtfyJP/3hTmNU8mTQz +E1191c0anUm3nah1o8LQeajdOlFjnWC1NnzU4dJEJUE+8flDzwEAHaQczo0dfjIaSDB 4q3oOwRZF0v//YSo2VaedaiUNXGeUucRMwgsdwBoMLBdhlhUKF2z1SwrhxtSEpOu8xWn pbwlgxHU6LI3S8B+KW3+FFlD8Kclw47B+pEz0UmrA4RvmenKgk5rbshZm1D81TDtdtZQ x/i5DrkzcQ95gVktVW1e5/GTxKtJCfjwWAsm9byrABnY6UU1KevUyxmeiUI60jb0E2sB eGFA== X-Gm-Message-State: AOJu0YznQpWx5k/s3XWDtL1zi8lgwsVS/AtUGaFF1eXTOolqyvbA6B5e yN2SvGOYXFWcKR/D/H49qKPO31RzHXld4dM0SeE= X-Received: by 2002:a17:90b:1a8c:b0:274:bf7a:60ed with SMTP id ng12-20020a17090b1a8c00b00274bf7a60edmr7425081pjb.12.1696569412716; Thu, 05 Oct 2023 22:16:52 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Namhyung Kim Date: Thu, 5 Oct 2023 22:16:40 -0700 Message-ID: Subject: Re: [PATCH 1/1] perf symbols: Add 'intel_idle_ibrs' to the list of idle symbols To: Arnaldo Carvalho de Melo Cc: Frederic Weisbecker , Peter Zijlstra , Ingo Molnar , Adrian Hunter , Ian Rogers , Jiri Olsa , linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8BIT X-Spam-Status: No, score=-1.0 required=5.0 tests=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 22:17:05 -0700 (PDT) Hi Arnaldo, On Thu, Oct 5, 2023 at 6:29 AM Arnaldo Carvalho de Melo wrote: > > 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 Acked-by: Namhyung Kim Thanks, Namhyung > --- > 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 >