Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 309425
b: refs/heads/master
c: a44b45f
h: refs/heads/master
i:
  309423: 937db44
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed May 29, 2012
1 parent 83a053d commit 27e56cc
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 3780f4883b2f3319afe88bf3ddc73ef426851d49
refs/heads/master: a44b45f236dd1c1a8caccf9a078adf2941a20267
6 changes: 5 additions & 1 deletion trunk/tools/perf/ui/browsers/annotate.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,10 +300,14 @@ static void annotate_browser__set_rb_top(struct annotate_browser *browser,
{
struct browser_disasm_line *bpos;
struct disasm_line *pos;
u32 idx;

bpos = rb_entry(nd, struct browser_disasm_line, rb_node);
pos = ((struct disasm_line *)bpos) - 1;
annotate_browser__set_top(browser, pos, bpos->idx);
idx = bpos->idx;
if (browser->hide_src_code)
idx = bpos->idx_asm;
annotate_browser__set_top(browser, pos, idx);
browser->curr_hot = nd;
}

Expand Down

0 comments on commit 27e56cc

Please sign in to comment.