From: Sven Schnelle Date: Tue, 7 Jul 2020 17:14:55 +0000 (+0200) Subject: perf symbols: Add s390 idle functions 'psw_idle' and 'psw_idle_exit' to list of idle... X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=19bf119ccfa071b73a54465e8082ab2c8f8c30eb;p=linux.git perf symbols: Add s390 idle functions 'psw_idle' and 'psw_idle_exit' to list of idle symbols Add the s390 idle functions so they don't show up in top when using software sampling. Signed-off-by: Sven Schnelle Cc: Adrian Hunter Cc: Alexander Shishkin Cc: Ian Rogers Cc: Igor Lubashev Cc: Jin Yao Cc: Jiri Olsa Cc: Kim Phillips Cc: Mark Rutland Cc: Namhyung Kim Cc: Peter Zijlstra Cc: Song Liu Link: http://lore.kernel.org/lkml/20200707171457.85707-1-svens@linux.ibm.com Signed-off-by: Arnaldo Carvalho de Melo --- diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 5ddf84dcbae79..d33d24c61d249 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -666,6 +666,8 @@ static bool symbol__is_idle(const char *name) "poll_idle", "ppc64_runlatch_off", "pseries_dedicated_idle_sleep", + "psw_idle", + "psw_idle_exit", NULL }; int i;