perf annotate: Pass 'struct annotation_options' to map_symbol__annotation_dump()
Pass 'struct annotation_options' to map_symbol__annotation_dump(), to carry on and pass the percent_type value. 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-15-jolsa@kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:

committed by
Arnaldo Carvalho de Melo

parent
c849c12cf3
commit
4c650ddc2e
@@ -115,7 +115,7 @@ static void annotate_browser__write(struct ui_browser *browser, void *entry, int
|
||||
if (!browser->navkeypressed)
|
||||
ops.width += 1;
|
||||
|
||||
annotation_line__write(al, notes, &ops);
|
||||
annotation_line__write(al, notes, &ops, ab->opts);
|
||||
|
||||
if (ops.current_entry)
|
||||
ab->selection = al;
|
||||
@@ -783,7 +783,7 @@ show_sup_ins:
|
||||
continue;
|
||||
}
|
||||
case 'P':
|
||||
map_symbol__annotation_dump(ms, evsel);
|
||||
map_symbol__annotation_dump(ms, evsel, browser->opts);
|
||||
continue;
|
||||
case 't':
|
||||
if (notes->options->show_total_period) {
|
||||
|
Reference in New Issue
Block a user