perf annotate: Make annotation_line__max_percent static
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>
This commit is contained in:
parent
7a3e71e0d8
commit
5ecf7d30eb
@ -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;
|
double percent_max = 0.0;
|
||||||
int i;
|
int i;
|
||||||
|
@ -169,7 +169,6 @@ struct annotation_write_ops {
|
|||||||
void (*write_graph)(void *obj, int graph);
|
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,
|
void annotation_line__write(struct annotation_line *al, struct annotation *notes,
|
||||||
struct annotation_write_ops *ops);
|
struct annotation_write_ops *ops);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user