Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 234473
b: refs/heads/master
c: 3166fc8
h: refs/heads/master
i:
  234471: f16f1fc
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Mar 1, 2011
1 parent 9c69474 commit fe03f77
Show file tree
Hide file tree
Showing 2 changed files with 7 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: b210b3bb1b002f27165325a5edb6ebce3c168e92
refs/heads/master: 3166fc8fb6a2f52273d545e970297524e02c3e39
6 changes: 6 additions & 0 deletions trunk/tools/perf/util/ui/browsers/top.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ static void perf_top_browser__update_rb_tree(struct perf_top_browser *browser)
browser->root = RB_ROOT;
browser->b.top = NULL;
browser->sum_ksamples = perf_top__decay_samples(top, &browser->root);
/*
* No active symbols
*/
if (top->rb_entries == 0)
return;

perf_top__find_widths(top, &browser->root, &browser->dso_width,
&browser->dso_short_width,
&browser->sym_width);
Expand Down

0 comments on commit fe03f77

Please sign in to comment.