aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/builtin-report.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/builtin-report.c')
-rw-r--r--tools/perf/builtin-report.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/perf/builtin-report.c b/tools/perf/builtin-report.c
index d785d89ed226..f06a5a228c7c 100644
--- a/tools/perf/builtin-report.c
+++ b/tools/perf/builtin-report.c
@@ -49,7 +49,6 @@ struct perf_report {
49 bool mem_mode; 49 bool mem_mode;
50 struct perf_read_values show_threads_values; 50 struct perf_read_values show_threads_values;
51 const char *pretty_printing_style; 51 const char *pretty_printing_style;
52 symbol_filter_t annotate_init;
53 const char *cpu_list; 52 const char *cpu_list;
54 const char *symbol_filter_str; 53 const char *symbol_filter_str;
55 float min_percent; 54 float min_percent;
@@ -306,7 +305,7 @@ static int process_sample_event(struct perf_tool *tool,
306 int ret; 305 int ret;
307 306
308 if (perf_event__preprocess_sample(event, machine, &al, sample, 307 if (perf_event__preprocess_sample(event, machine, &al, sample,
309 rep->annotate_init) < 0) { 308 machine->symbol_filter) < 0) {
310 fprintf(stderr, "problem processing %d event, skipping it.\n", 309 fprintf(stderr, "problem processing %d event, skipping it.\n",
311 event->header.type); 310 event->header.type);
312 return -1; 311 return -1;
@@ -924,7 +923,8 @@ repeat:
924 */ 923 */
925 if (use_browser == 1 && sort__has_sym) { 924 if (use_browser == 1 && sort__has_sym) {
926 symbol_conf.priv_size = sizeof(struct annotation); 925 symbol_conf.priv_size = sizeof(struct annotation);
927 report.annotate_init = symbol__annotate_init; 926 machines__set_symbol_filter(&session->machines,
927 symbol__annotate_init);
928 /* 928 /*
929 * For searching by name on the "Browse map details". 929 * For searching by name on the "Browse map details".
930 * providing it only in verbose mode not to bloat too 930 * providing it only in verbose mode not to bloat too