diff options
Diffstat (limited to 'tools/perf/builtin-top.c')
| -rw-r--r-- | tools/perf/builtin-top.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tools/perf/builtin-top.c b/tools/perf/builtin-top.c index 8affcab75604..f6dd1a63f159 100644 --- a/tools/perf/builtin-top.c +++ b/tools/perf/builtin-top.c @@ -143,7 +143,7 @@ static int perf_top__parse_source(struct perf_top *top, struct hist_entry *he)  		return err;  	} -	err = symbol__annotate(&he->ms, evsel, 0, &top->annotation_opts, NULL); +	err = symbol__annotate(&he->ms, evsel, &top->annotation_opts, NULL);  	if (err == 0) {  		top->sym_filter_entry = he;  	} else { @@ -1683,7 +1683,7 @@ int cmd_top(int argc, const char **argv)  	if (status < 0)  		goto out_delete_evlist; -	annotation_config__init(); +	annotation_config__init(&top.annotation_opts);  	symbol_conf.try_vmlinux_path = (symbol_conf.vmlinux_name == NULL);  	status = symbol__init(NULL); |