Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350116
b: refs/heads/master
c: c0e79be
h: refs/heads/master
v: v3
  • Loading branch information
Namhyung Kim authored and Arnaldo Carvalho de Melo committed Feb 14, 2013
1 parent c768889 commit 49f4d31
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 237522378604a2e26e19a8b11a70171eaf98c6c5
refs/heads/master: c0e79be74907b4654b622601692e1a27fd1dbeb3
16 changes: 8 additions & 8 deletions trunk/tools/perf/ui/gtk/annotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,6 @@ static int perf_gtk__annotate_symbol(GtkWidget *window, struct symbol *sym,
int i;
char s[512];

if (map->dso->annotate_warned)
return -1;

if (symbol__annotate(sym, map, 0) < 0) {
ui__error("%s", ui_helpline__current);
return -1;
}

notes = symbol__annotation(sym);

for (i = 0; i < MAX_ANN_COLS; i++) {
Expand Down Expand Up @@ -155,6 +147,14 @@ int symbol__gtk_annotate(struct symbol *sym, struct map *map, int evidx,
GtkWidget *scrolled_window;
GtkWidget *tab_label;

if (map->dso->annotate_warned)
return -1;

if (symbol__annotate(sym, map, 0) < 0) {
ui__error("%s", ui_helpline__current);
return -1;
}

if (perf_gtk__is_active_context(pgctx)) {
window = pgctx->main_window;
notebook = pgctx->notebook;
Expand Down

0 comments on commit 49f4d31

Please sign in to comment.