Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 320447
b: refs/heads/master
c: 8760db7
h: refs/heads/master
i:
  320445: a168e86
  320443: d827f92
  320439: 1b4cb7a
  320431: b6885e1
  320415: e812e24
  320383: c042d87
v: v3
  • Loading branch information
Frederic Weisbecker authored and Arnaldo Carvalho de Melo committed Jul 25, 2012
1 parent 3637547 commit 41aadcf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 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: 78b961ff8e67207adb15959526cdea4cc50ae1ed
refs/heads/master: 8760db726e2afcd1a78e2ff58965c6b35a5826cb
5 changes: 3 additions & 2 deletions trunk/tools/perf/util/hist.c
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ static size_t callchain__fprintf_graph(FILE *fp, struct rb_root *root,
bool printed = false;
struct rb_node *node;
int i = 0;
int ret;
int ret = 0;

/*
* If have one single callchain root, don't bother printing
Expand Down Expand Up @@ -747,8 +747,9 @@ static size_t callchain__fprintf_graph(FILE *fp, struct rb_root *root,
root = &cnode->rb_root;
}

return __callchain__fprintf_graph(fp, root, total_samples,
ret += __callchain__fprintf_graph(fp, root, total_samples,
1, 1, left_margin);
return ret;
}

static size_t __callchain__fprintf_flat(FILE *fp,
Expand Down

0 comments on commit 41aadcf

Please sign in to comment.