summaryrefslogtreecommitdiff
path: root/tools/perf/util/hist.c
diff options
context:
space:
mode:
authorJiri Olsa <jolsa@kernel.org>2016-03-24 13:52:17 +0100
committerArnaldo Carvalho de Melo <acme@redhat.com>2016-03-30 11:14:07 -0300
commit592dac6f35cf222a7687d4ff1ea7df0e6ef722e0 (patch)
tree691124c83886348902623031eaf1f2bf193aa9c8 /tools/perf/util/hist.c
parentad16511b0e404652331a5350c522d0824f8209de (diff)
downloadlwn-592dac6f35cf222a7687d4ff1ea7df0e6ef722e0.tar.gz
lwn-592dac6f35cf222a7687d4ff1ea7df0e6ef722e0.zip
perf tools: Make hists__collapse_insert_entry static
No need to export hists__collapse_insert_entry function. Signed-off-by: Jiri Olsa <jolsa@kernel.org> Cc: Andi Kleen <ak@linux.intel.com> Cc: David Ahern <dsahern@gmail.com> Cc: Namhyung Kim <namhyung@kernel.org> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Stephane Eranian <eranian@google.com> Link: http://lkml.kernel.org/r/1458823940-24583-4-git-send-email-jolsa@kernel.org 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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/perf/util/hist.c b/tools/perf/util/hist.c
index 31c4641fe5ff..3d34c57dfbe2 100644
--- a/tools/perf/util/hist.c
+++ b/tools/perf/util/hist.c
@@ -1295,8 +1295,9 @@ static int hists__hierarchy_insert_entry(struct hists *hists,
return ret;
}
-int hists__collapse_insert_entry(struct hists *hists, struct rb_root *root,
- struct hist_entry *he)
+static int hists__collapse_insert_entry(struct hists *hists,
+ struct rb_root *root,
+ struct hist_entry *he)
{
struct rb_node **p = &root->rb_node;
struct rb_node *parent = NULL;