Re: [PATCH] perf: add psw_idle and psw_idle_exit to list of idle symbols

From: Sven Schnelle
Date: Mon Aug 03 2020 - 07:02:33 EST


Sven Schnelle <svens@xxxxxxxxxxxxx> writes:

> Add the s390 idle functions so they don't show up in top when
> using software sampling.
>
> Signed-off-by: Sven Schnelle <svens@xxxxxxxxxxxxx>
> ---
> tools/perf/util/symbol.c | 2 ++
> 1 file changed, 2 insertions(+)
>
> diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c
> index 5ddf84dcbae7..d33d24c61d24 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;

gentle ping?

Regards
Sven