aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorFrederic Weisbecker <fweisbec@gmail.com>2011-01-13 22:51:59 -0500
committerArnaldo Carvalho de Melo <acme@redhat.com>2011-01-22 16:56:31 -0500
commitf08c3154ac439c4b5762a40107d84e839e08fbc5 (patch)
treec13a91f91309a3a0df7a406fa70ede7868e1306b /tools/perf/util/hist.c
parent1b3a0e9592ebf174af934b3908a2bf6a6fa86169 (diff)
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,
430 u64 cumul; 430 u64 cumul;
431 431
432 child = rb_entry(node, struct callchain_node, rb_node); 432 child = rb_entry(node, struct callchain_node, rb_node);
433 cumul = cumul_hits(child); 433 cumul = callchain_cumul_hits(child);
434 remaining -= cumul; 434 remaining -= cumul;
435 435
436 /* 436 /*