aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2011-01-14 04:51:59 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-22 19:56:31 -0200
commitf08c3154ac439c4b5762a40107d84e839e08fbc5 (patch)
treec13a91f91309a3a0df7a406fa70ede7868e1306b /tools/perf/util/hist.c
parentperf callchain: Feed callchains into a cursor (diff)
downloadlinux-dev-f08c3154ac439c4b5762a40107d84e839e08fbc5.tar.xz
linux-dev-f08c3154ac439c4b5762a40107d84e839e08fbc5.zip
perf callchain: Rename cumul_hits into callchain_cumul_hits
That makes the callchain API naming more consistent and reduce potential naming clashes. Cc: Ingo Molnar <mingo@elte.hu> Cc: Paul Mackerras <paulus@samba.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> LKML-Reference: <1294977121-5700-3-git-send-email-fweisbec@gmail.com> Signed-off-by: Frederic Weisbecker <fweisbec@gmail.com> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools/perf/util/hist.c')
-rw-r--r--tools/perf/util/hist.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index a438a0652d23..02ed318d7312 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -430,7 +430,7 @@ static size_t __callchain__fprintf_graph(FILE *fp, struct callchain_node *self,
u64 cumul;
child = rb_entry(node, struct callchain_node, rb_node);
- cumul = cumul_hits(child);
+ cumul = callchain_cumul_hits(child);
remaining -= cumul;
/*