All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 1/2] perf symbols: Update the list of kernel idle symbols
@ 2020-01-15 22:29 Kim Phillips
  2020-01-15 22:29 ` [PATCH 2/2] perf stat: don't report a null stalled cycles per insn metric Kim Phillips
  2020-01-20  9:28 ` [PATCH 1/2] perf symbols: Update the list of kernel idle symbols Jiri Olsa
  0 siblings, 2 replies; 5+ messages in thread
From: Kim Phillips @ 2020-01-15 22:29 UTC (permalink / raw)
  To: Arnaldo Carvalho de Melo, kim.phillips
  Cc: 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,
	linux-kernel

"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 <peterz@infradead.org>
Cc: Ingo Molnar <mingo@redhat.com>
Cc: Arnaldo Carvalho de Melo <acme@redhat.com>
Cc: Mark Rutland <mark.rutland@arm.com>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Cong Wang <xiyou.wangcong@gmail.com>
Cc: Andi Kleen <ak@linux.intel.com>
Cc: Jin Yao <yao.jin@linux.intel.com>
Cc: Kan Liang <kan.liang@linux.intel.com>
Cc: Kim Phillips <kim.phillips@amd.com>
Cc: Song Liu <songliubraving@fb.com>
Cc: Davidlohr Bueso <dave@stgolabs.net>
Cc: linux-perf-users@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Kim Phillips <kim.phillips@amd.com>
---
 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.24.1

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2020-01-20 11:57 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-01-15 22:29 [PATCH 1/2] perf symbols: Update the list of kernel idle symbols Kim Phillips
2020-01-15 22:29 ` [PATCH 2/2] perf stat: don't report a null stalled cycles per insn metric Kim Phillips
2020-01-20  9:29   ` Jiri Olsa
2020-01-20 11:57     ` Andi Kleen
2020-01-20  9:28 ` [PATCH 1/2] perf symbols: Update the list of kernel idle symbols Jiri Olsa

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.