From: Kim Phillips Subject: [PATCH 2/3 v2] perf symbols: Update the list of kernel idle symbols Date: Fri, 7 Feb 2020 17:06:12 -0600 Message-ID: <20200207230613.26709-2-kim.phillips@amd.com> References: <20200207230613.26709-1-kim.phillips@amd.com> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: <20200207230613.26709-1-kim.phillips@amd.com> Sender: linux-kernel-owner@vger.kernel.org To: Arnaldo Carvalho de Melo Cc: Kim Phillips , 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, Jiri Olsa List-Id: linux-perf-users.vger.kernel.org "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 Acked-by: Jiri Olsa Signed-off-by: Kim Phillips --- v2: Added Jiri Olsa's acked-by: https://lore.kernel.org/lkml/20200120092844.GC608405@krava/ 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", -- 2.25.0