lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Date: Mon, 20 Jan 2020 10:28:44 +0100 From: Jiri Olsa <jolsa@...hat.com> To: Kim Phillips <kim.phillips@....com> Cc: Arnaldo Carvalho de Melo <acme@...hat.com>, Peter Zijlstra <peterz@...radead.org>, Ingo Molnar <mingo@...hat.com>, Mark Rutland <mark.rutland@....com>, Alexander Shishkin <alexander.shishkin@...ux.intel.com>, Jiri Olsa <jolsa@...nel.org>, Namhyung Kim <namhyung@...nel.org>, Cong Wang <xiyou.wangcong@...il.com>, Andi Kleen <ak@...ux.intel.com>, Jin Yao <yao.jin@...ux.intel.com>, Kan Liang <kan.liang@...ux.intel.com>, Song Liu <songliubraving@...com>, Davidlohr Bueso <dave@...olabs.net>, linux-perf-users@...r.kernel.org, linux-kernel@...r.kernel.org Subject: Re: [PATCH 1/2] perf symbols: Update the list of kernel idle symbols 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 <peterz@...radead.org> > Cc: Ingo Molnar <mingo@...hat.com> > Cc: Arnaldo Carvalho de Melo <acme@...hat.com> > Cc: Mark Rutland <mark.rutland@....com> > Cc: Alexander Shishkin <alexander.shishkin@...ux.intel.com> > Cc: Jiri Olsa <jolsa@...nel.org> > Cc: Namhyung Kim <namhyung@...nel.org> > Cc: Cong Wang <xiyou.wangcong@...il.com> > Cc: Andi Kleen <ak@...ux.intel.com> > Cc: Jin Yao <yao.jin@...ux.intel.com> > Cc: Kan Liang <kan.liang@...ux.intel.com> > Cc: Kim Phillips <kim.phillips@....com> > Cc: Song Liu <songliubraving@...com> > Cc: Davidlohr Bueso <dave@...olabs.net> > Cc: linux-perf-users@...r.kernel.org > Cc: linux-kernel@...r.kernel.org > Signed-off-by: Kim Phillips <kim.phillips@....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", ok, at some point we should put this in strlist ;-) Acked-by: Jiri Olsa <jolsa@...hat.com thanks, jirka
Powered by blists - more mailing lists