diff options
| author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-09 14:19:24 -0500 |
|---|---|---|
| committer | Arnaldo Carvalho de Melo <acme@redhat.com> | 2019-01-09 14:21:15 -0500 |
| commit | 549aff770ccfec368aa8f0652dbce8b1e8e6715a (patch) | |
| tree | f738ddcf9faee5ed4e64a486bf42dce7f981e672 | |
| parent | 498c203d855eaf6571b63ea860a53862c4fe91b7 (diff) | |
perf symbols: Add 'arch_cpu_idle' to the list of kernel idle symbols
When testing 'perf top' on a armhf system (32-bit, Orange Pi Zero), I
noticed that 'arch_cpu_idle' dominated, add it to the list of idle
symbols, so that we can see what is that being done when not idle.
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Link: https://lkml.kernel.org/n/tip-4q2b5g4p2hrstrhp9t2mrlho@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
| -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 01f2c7385e38..48efad6d0f90 100644 --- a/tools/perf/util/symbol.c +++ b/tools/perf/util/symbol.c | |||
| @@ -614,6 +614,7 @@ out: | |||
| 614 | static bool symbol__is_idle(const char *name) | 614 | static bool symbol__is_idle(const char *name) |
| 615 | { | 615 | { |
| 616 | const char * const idle_symbols[] = { | 616 | const char * const idle_symbols[] = { |
| 617 | "arch_cpu_idle", | ||
| 617 | "cpu_idle", | 618 | "cpu_idle", |
| 618 | "cpu_startup_entry", | 619 | "cpu_startup_entry", |
| 619 | "intel_idle", | 620 | "intel_idle", |
