aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/newt.c2
-rw-r--r--tools/perf/util/symbol.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c
index 2836394459d9..2d19e7a3e6e8 100644
--- a/tools/perf/util/newt.c
+++ b/tools/perf/util/newt.c
@@ -63,7 +63,7 @@ static void hist_entry__annotate_browser(struct hist_entry *self)
63 if (self->sym == NULL) 63 if (self->sym == NULL)
64 return; 64 return;
65 65
66 if (asprintf(&str, "perf annotate %s | expand", self->sym->name) < 0) 66 if (asprintf(&str, "perf annotate %s 2>&1 | expand", self->sym->name) < 0)
67 return; 67 return;
68 68
69 fp = popen(str, "r"); 69 fp = popen(str, "r");
diff --git a/tools/perf/util/symbol.h b/tools/perf/util/symbol.h
index d983bbaf99c5..5bd91d142704 100644
--- a/tools/perf/util/symbol.h
+++ b/tools/perf/util/symbol.h
@@ -106,6 +106,7 @@ struct dso {
106 u8 has_build_id:1; 106 u8 has_build_id:1;
107 u8 kernel:1; 107 u8 kernel:1;
108 u8 hit:1; 108 u8 hit:1;
109 u8 annotate_warned:1;
109 unsigned char origin; 110 unsigned char origin;
110 u8 sorted_by_name; 111 u8 sorted_by_name;
111 u8 loaded; 112 u8 loaded;