]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commitdiff
perf annotate: Make annotation_line__max_percent static
authorJiri Olsa <jolsa@kernel.org>
Sat, 4 Aug 2018 13:05:03 +0000 (15:05 +0200)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 8 Aug 2018 18:55:45 +0000 (15:55 -0300)
There's no outside user of it.

Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Stephane Eranian <eranian@google.com>
Link: http://lkml.kernel.org/r/20180804130521.11408-3-jolsa@kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/util/annotate.c
tools/perf/util/annotate.h

index b6e7d0d56622aa98f2a58162bd160ada245e81b6..956c9b19d81cdc6ad3f7779a4fba7faef6d41019 100644 (file)
@@ -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;
index 5f24fc9dcc7cef60c8fe0a2f441df8fa3399118f..a93502d0c58237a9740f2536caf2eb546c5fef55 100644 (file)
@@ -169,7 +169,6 @@ struct annotation_write_ops {
        void (*write_graph)(void *obj, int graph);
 };
 
-double annotation_line__max_percent(struct annotation_line *al, struct annotation *notes);
 void annotation_line__write(struct annotation_line *al, struct annotation *notes,
                            struct annotation_write_ops *ops);