Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 269126
b: refs/heads/master
c: a6e51f9
h: refs/heads/master
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Oct 21, 2011
1 parent 9e6f0c6 commit 2311860
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: cf9580036a830f9e95f32dbcedfc57ea1697f120
refs/heads/master: a6e51f9fa9124ad6657e6f1c8df2b1033922e9d7
7 changes: 7 additions & 0 deletions trunk/tools/perf/util/ui/browsers/hists.c
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,13 @@ static int perf_evsel__hists_browse(struct perf_evsel *evsel, int nr_events,
*/
goto out_free_stack;
case 'a':
if (!browser->has_symbols) {
ui__warning(
"Annotation is only available for symbolic views, "
"include \"sym\" in --sort to use it.");
continue;
}

if (browser->selection == NULL ||
browser->selection->sym == NULL ||
browser->selection->map->dso->annotate_warned)
Expand Down

0 comments on commit 2311860

Please sign in to comment.