aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util/annotate.c
diff options
context:
space:
mode:
authorJiri Olsa <[email protected]>2018-08-04 13:05:03 +0000
committerArnaldo Carvalho de Melo <[email protected]>2018-08-08 18:55:45 +0000
commit5ecf7d30eb4f9c046f5284f20133d7b69729c315 (patch)
tree92f3bf7ce156c72ba73e9524c551e63c86bba74d /tools/perf/util/annotate.c
parentperf annotate: Make symbol__annotate_fprintf2() local (diff)
downloadkernel-5ecf7d30eb4f9c046f5284f20133d7b69729c315.tar.gz
kernel-5ecf7d30eb4f9c046f5284f20133d7b69729c315.zip
perf annotate: Make annotation_line__max_percent static
There's no outside user of it. Signed-off-by: Jiri Olsa <[email protected]> Cc: Alexander Shishkin <[email protected]> Cc: David Ahern <[email protected]> Cc: Namhyung Kim <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Stephane Eranian <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
Diffstat (limited to 'tools/perf/util/annotate.c')
-rw-r--r--tools/perf/util/annotate.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/annotate.c b/tools/perf/util/annotate.c
index b6e7d0d56622..956c9b19d81c 100644
--- a/tools/perf/util/annotate.c
+++ b/tools/perf/util/annotate.c
@@ -2441,7 +2441,8 @@ bool ui__has_annotation(void)
}
-double annotation_line__max_percent(struct annotation_line *al, struct annotation *notes)
+static double annotation_line__max_percent(struct annotation_line *al,
+ struct annotation *notes)
{
double percent_max = 0.0;
int i;