Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304847
b: refs/heads/master
c: 97148a9
h: refs/heads/master
i:
  304845: 09dcc76
  304843: 255f898
  304839: d387b59
  304831: 681c633
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Apr 20, 2012
1 parent e679376 commit 735e6ab
Show file tree
Hide file tree
Showing 2 changed files with 10 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: c7e6ead7347813b5833efb9b32908c08ff131259
refs/heads/master: 97148a97baf71536e15aa0acf3310b7b1409e2f4
10 changes: 9 additions & 1 deletion trunk/tools/perf/ui/browsers/annotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,7 +690,15 @@ int symbol__tui_annotate(struct symbol *sym, struct map *map, int evidx,
bpos->idx = browser.nr_entries++;
if (pos->offset != -1) {
bpos->idx_asm = browser.nr_asm_entries++;
browser.offsets[pos->offset] = pos;
/*
* FIXME: short term bandaid to cope with assembly
* routines that comes with labels in the same column
* as the address in objdump, sigh.
*
* E.g. copy_user_generic_unrolled
*/
if (pos->offset < (s64)size)
browser.offsets[pos->offset] = pos;
} else
bpos->idx_asm = -1;
}
Expand Down

0 comments on commit 735e6ab

Please sign in to comment.