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:
0f4e7a2
)
perf top: Use hist_entry__inc_addr_sample
author
Arnaldo Carvalho de Melo
<
[email protected]
>
Wed, 18 Dec 2013 20:08:07 +0000
(17:08 -0300)
committer
Arnaldo Carvalho de Melo
<
[email protected]
>
Thu, 19 Dec 2013 14:34:23 +0000
(11:34 -0300)
Since it has a hist_entry, no need to skip the hist layer and use the
underlying symbol one.
Acked-by: Namhyung Kim <
[email protected]
>
Cc: Adrian Hunter <
[email protected]
>
Cc: David Ahern <
[email protected]
>
Cc: Frederic Weisbecker <
[email protected]
>
Cc: Jiri Olsa <
[email protected]
>
Cc: Mike Galbraith <
[email protected]
>
Cc: Namhyung Kim <
[email protected]
>
Cc: Paul Mackerras <
[email protected]
>
Cc: Peter Zijlstra <
[email protected]
>
Cc: Stephane Eranian <
[email protected]
>
Link:
http://lkml.kernel.org/n/
[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <
[email protected]
>
tools/perf/builtin-top.c
patch
|
blob
|
history
diff --git
a/tools/perf/builtin-top.c
b/tools/perf/builtin-top.c
index 73df9c05bad9de2aa522aa7cc6df6295862dee90..2c6cb66f535837168f6fb67353492bd6ab0bd966 100644
(file)
--- a/
tools/perf/builtin-top.c
+++ b/
tools/perf/builtin-top.c
@@
-190,7
+190,7
@@
static void perf_top__record_precise_ip(struct perf_top *top,
return;
ip = he->ms.map->map_ip(he->ms.map, ip);
- err =
symbol__inc_addr_samples(sym, he->ms.map
, counter, ip);
+ err =
hist_entry__inc_addr_samples(he
, counter, ip);
pthread_mutex_unlock(¬es->lock);