Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 312281
b: refs/heads/master
c: c0a58fb
h: refs/heads/master
i:
  312279: dbefca7
v: v3
  • Loading branch information
Samuel Liao authored and Arnaldo Carvalho de Melo committed Jun 19, 2012
1 parent e54343c commit 5df72bc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 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: dd4f52232c60bcb41205a67d2df2ac0ecdfe3683
refs/heads/master: c0a58fb2bdf033df433cad9009c7dac4c6b872b0
4 changes: 3 additions & 1 deletion trunk/tools/perf/ui/browsers/annotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -814,7 +814,7 @@ int symbol__tui_annotate(struct symbol *sym, struct map *map, int evidx,
{
struct disasm_line *pos, *n;
struct annotation *notes;
const size_t size = symbol__size(sym);
size_t size;
struct map_symbol ms = {
.map = map,
.sym = sym,
Expand All @@ -834,6 +834,8 @@ int symbol__tui_annotate(struct symbol *sym, struct map *map, int evidx,
if (sym == NULL)
return -1;

size = symbol__size(sym);

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

Expand Down

0 comments on commit 5df72bc

Please sign in to comment.