Skip to contentSkip to conversation

perf: add psw_idle and psw_idle_exit to list of idle symbols

PATCH In review Sven Schnelle 2 participants 3 messages Jul 7, 2020 – Aug 4, 2020 perf events

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 perf: add 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.

---
 tools/perf/util/symbol.c | 2 ++
 1 file changed, 2 insertions(+)
tools/perf/util/symbol.c +2 -0
index 5ddf84dcbae7..d33d24c61d24 100644
@@ -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;
Signature · 1 line
2.17.1
#1 lore raw
Quoted 13 lines · Sven Schnelle

Add the s390 idle functions so they don't show up in top when using software sampling.

---
 tools/perf/util/symbol.c | 2 ++
 1 file changed, 2 insertions(+)
tools/perf/util/symbol.c +0 -0
index 5ddf84dcbae7..d33d24c61d24 100644

tools/perf/util/symbol.c static bool symbol__is_idle(const char *name) · line 673

Quoted 8 lines
tools/perf/util/symbol.c +2 -0
@@ -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

#2 lore raw

Em Mon, Aug 03, 2020 at 01:02:06PM +0200, Sven Schnelle escreveu:

Quoted 10 lines
Quoted 8 lines · Sven Schnelle

Add the s390 idle functions so they don't show up in top when using software sampling.

---
 tools/perf/util/symbol.c | 2 ++
 1 file changed, 2 insertions(+)
Quoted 15 lines

tools/perf/util/symbol.c static bool symbol__is_idle(const char *name) · line 673

Quoted 13 lines
tools/perf/util/symbol.c +2 -0
index 5ddf84dcbae7..d33d24c61d24 100644
@@ -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?

This was merged already:

commit 19bf119ccfa071b73a54465e8082ab2c8f8c30eb

Author:     Sven Schnelle <[email protected]>
AuthorDate: Tue Jul 7 19:14:55 2020 +0200
Commit:     Arnaldo Carvalho de Melo <[email protected]>
CommitDate: Tue Jul 7 16:44:57 2020 -0300

perf symbols: Add s390 idle functions 'psw_idle' and 'psw_idle_exit' to list of idle symbols