projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
498c203
)
perf symbols: Add 'arch_cpu_idle' to the list of kernel idle symbols
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 9 Jan 2019 19:19:24 +0000
(16:19 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 9 Jan 2019 19:21:15 +0000
(16:21 -0300)
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 <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Link:
https://lkml.kernel.org/n/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/util/symbol.c
patch
|
blob
|
history
diff --git
a/tools/perf/util/symbol.c
b/tools/perf/util/symbol.c
index 01f2c7385e386dbff680640e662d0152b34af879..48efad6d0f90ab4435cb3caf06157a223d2f0a7f 100644
(file)
--- a/
tools/perf/util/symbol.c
+++ b/
tools/perf/util/symbol.c
@@
-614,6
+614,7
@@
out:
static bool symbol__is_idle(const char *name)
{
const char * const idle_symbols[] = {
+ "arch_cpu_idle",
"cpu_idle",
"cpu_startup_entry",
"intel_idle",