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>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
1b3a0e9592
commit
f08c3154ac
@@ -82,7 +82,7 @@ static inline void callchain_init(struct callchain_root *root)
|
||||
root->max_depth = 0;
|
||||
}
|
||||
|
||||
static inline u64 cumul_hits(struct callchain_node *node)
|
||||
static inline u64 callchain_cumul_hits(struct callchain_node *node)
|
||||
{
|
||||
return node->hit + node->children_hit;
|
||||
}
|
||||
|
Reference in New Issue
Block a user