Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp2371066ybl; Mon, 20 Jan 2020 01:30:08 -0800 (PST) X-Google-Smtp-Source: APXvYqzu5m40logQmh4IZSNqEM5BTjAIFDpXO354SCGV/F7zpoXQmilOs9ulrg03TE/Tqm1NGVhi X-Received: by 2002:a9d:f26:: with SMTP id 35mr15855054ott.260.1579512608363; Mon, 20 Jan 2020 01:30:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579512608; cv=none; d=google.com; s=arc-20160816; b=ABJfcqzTQJ6dTO1hN+E3BvQCoWw3eHFBA+Az9tcA9SzfiLfpjbSPKOYsOC8F5c5/EF lPZjXrmQT0IZMVyckxpFk4el7KbBFkc3F/D7l/BORr9F1b+b0pnoWS3UXPKl16AaSPl4 N2Km7bLFpVQghaCiR503Dn2PNPBwmbUqXYAwBzGKNnj+t7WGDJq9BqiMkli8JxPtrE/z tXykKEwXb0Eh0f2CZufoC2i9h0Icq1X+3b1+IZvIi2pjmgTNpbACcfKeLj7pT0WN2End tSF5fv2wMfOWISj9WbNnoFdagR/zdxMtdG0JEh8b3UotipdLXBCVi1RASXePp1DO8OR/ EkLQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date :dkim-signature; bh=0iBlSiPbU11kx1FE6pEyiDrTybK6mV+iNStxOfr7SjY=; b=KBU7J3fU8EbEC0fNZh1NXcmN/kIp3Zj6G7gy4Ns+PuyEDcgtAG6azEvakEaAVLRz9z 8IU8lM/eGFaNqFuKtjj4OvMa64veHWT4ZKtrKwv0stFrU876PEsTCZxnlDVXIHDuNfm9 gHxggNlzrdzff2k5RpgItQtxAE7O8FDj7faHSoWFG/ItjyrmOEzEVtYXBbAbo9j5w6GF pCGq4/w1Yvn67n0rMVHniZK3YTQsca3efzquNWV5dpEzDO0qgHIgPVrvSzDFfMaYTiiv 1TGvCBKl6WNVFftwTXbGX6JxlIcuEQqse0O8scu4W2QXC3Oakggb7+dapuNe4250j2q7 PyCg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BHJe91Os; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 194si17252512oii.2.2020.01.20.01.29.56; Mon, 20 Jan 2020 01:30:08 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BHJe91Os; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726619AbgATJ24 (ORCPT + 99 others); Mon, 20 Jan 2020 04:28:56 -0500 Received: from us-smtp-2.mimecast.com ([207.211.31.81]:45459 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725872AbgATJ24 (ORCPT ); Mon, 20 Jan 2020 04:28:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1579512535; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=0iBlSiPbU11kx1FE6pEyiDrTybK6mV+iNStxOfr7SjY=; b=BHJe91Oskt/yxwTLU46DcrfT4WpuaeJ5TLP1VlGXg9BpOP+nJDvtnKMBBC4A+lKtD78q9M hAXss8J013T3As9D6DiEIWl9VN5ZLYF1Ey3HjmfMDrQUQ8GkYo1Iqv4JgfZ/pm0W54DBQB U63R/IsguV3l4IMDEz9ro2mZB4WlmkE= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-297-fHoWUM4WOTWhpkSy5ZLqjA-1; Mon, 20 Jan 2020 04:28:52 -0500 X-MC-Unique: fHoWUM4WOTWhpkSy5ZLqjA-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 47A808017CC; Mon, 20 Jan 2020 09:28:50 +0000 (UTC) Received: from krava (unknown [10.43.17.48]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 295AF60C05; Mon, 20 Jan 2020 09:28:46 +0000 (UTC) Date: Mon, 20 Jan 2020 10:28:44 +0100 From: Jiri Olsa To: Kim Phillips Cc: Arnaldo Carvalho de Melo , Peter Zijlstra , Ingo Molnar , Mark Rutland , Alexander Shishkin , Jiri Olsa , Namhyung Kim , Cong Wang , Andi Kleen , Jin Yao , Kan Liang , Song Liu , Davidlohr Bueso , linux-perf-users@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] perf symbols: Update the list of kernel idle symbols Message-ID: <20200120092844.GC608405@krava> References: <20200115222949.7247-1-kim.phillips@amd.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200115222949.7247-1-kim.phillips@amd.com> X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jan 15, 2020 at 04:29:48PM -0600, Kim Phillips wrote: > "acpi_idle_do_entry", "acpi_processor_ffh_cstate_enter", and "idle_cpu" > appear in 'perf top' output, at least on AMD systems. > > Add them to perf's idle_symbols list, so they don't dominate 'perf top' > output. > > Cc: Peter Zijlstra > Cc: Ingo Molnar > Cc: Arnaldo Carvalho de Melo > Cc: Mark Rutland > Cc: Alexander Shishkin > Cc: Jiri Olsa > Cc: Namhyung Kim > Cc: Cong Wang > Cc: Andi Kleen > Cc: Jin Yao > Cc: Kan Liang > Cc: Kim Phillips > Cc: Song Liu > Cc: Davidlohr Bueso > Cc: linux-perf-users@vger.kernel.org > Cc: linux-kernel@vger.kernel.org > Signed-off-by: Kim Phillips > --- > tools/perf/util/symbol.c | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c > index 3b379b1296f1..f3120c4f47ad 100644 > --- a/tools/perf/util/symbol.c > +++ b/tools/perf/util/symbol.c > @@ -635,9 +635,12 @@ int modules__parse(const char *filename, void *arg, > static bool symbol__is_idle(const char *name) > { > const char * const idle_symbols[] = { > + "acpi_idle_do_entry", > + "acpi_processor_ffh_cstate_enter", > "arch_cpu_idle", > "cpu_idle", > "cpu_startup_entry", > + "idle_cpu", > "intel_idle", > "default_idle", > "native_safe_halt", ok, at some point we should put this in strlist ;-) Acked-by: Jiri Olsa