diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2023-10-05 10:29:38 -0300 |
---|---|---|
committer | Namhyung Kim <namhyung@kernel.org> | 2023-10-12 10:01:55 -0700 |
commit | 29a2fd7c72b3bd8b67bcee363f8068275a4ef351 (patch) | |
tree | 031bc6b782563964aef705d65e8fc8122644aef4 /tools/perf/util/symbol.c | |
parent | perf parse-events: Avoid erange from hex numbers (diff) | |
download | linux-29a2fd7c72b3bd8b67bcee363f8068275a4ef351.tar.gz linux-29a2fd7c72b3bd8b67bcee363f8068275a4ef351.tar.bz2 linux-29a2fd7c72b3bd8b67bcee363f8068275a4ef351.zip |
perf symbols: Add 'intel_idle_ibrs' to the list of idle symbols
This is a longstanding to do list entry: we need a way to see that a
sample took place while in idle state, as the current way to do it is
to infer that by the name of the functions that in such state have
more samples, IOW: a hack.
Maybe we can do flip a bit in samples that take place inside the
enter/exit idle section in do_idle()?
But till then, add one more :-\
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Acked-by: Namhyung Kim <namhyung@kernel.org>
Cc: Frederic Weisbecker <frederic@kernel.org>
Link: https://lore.kernel.org/r/ZR66Qgbcltt+zG7F@kernel.org
Signed-off-by: Namhyung Kim <namhyung@kernel.org>
Diffstat (limited to 'tools/perf/util/symbol.c')
-rw-r--r-- | tools/perf/util/symbol.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/perf/util/symbol.c b/tools/perf/util/symbol.c index 2740d4457c13..96587fd7a5a2 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c @@ -718,6 +718,7 @@ static bool symbol__is_idle(const char *name) "cpu_startup_entry", "idle_cpu", "intel_idle", + "intel_idle_ibrs", "default_idle", "native_safe_halt", "enter_idle", |