Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191171
b: refs/heads/master
c: 2aefa4f
h: refs/heads/master
i:
  191169: dbe11c7
  191167: 14eb9ab
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Apr 2, 2010
1 parent c7d9709 commit c5acf67
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 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: ad5b217b152d99ca3922153500c619d9758dd87a
refs/heads/master: 2aefa4f733f2c5ce51dd2316ffecb258463fde71
3 changes: 2 additions & 1 deletion trunk/tools/perf/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,8 @@ int cmd_report(int argc, const char **argv, const char *prefix __used)
setup_sorting(report_usage, options);

if (parent_pattern != default_parent_pattern) {
sort_dimension__add("parent");
if (sort_dimension__add("parent") < 0)
return -1;
sort_parent.elide = 1;
} else
symbol_conf.exclude_other = false;
Expand Down
5 changes: 2 additions & 3 deletions trunk/tools/perf/util/sort.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,8 @@ int sort_dimension__add(const char *tok)
char err[BUFSIZ];

regerror(ret, &parent_regex, err, sizeof(err));
fprintf(stderr, "Invalid regex: %s\n%s",
parent_pattern, err);
exit(-1);
pr_err("Invalid regex: %s\n%s", parent_pattern, err);
return -EINVAL;
}
sort__has_parent = 1;
}
Expand Down

0 comments on commit c5acf67

Please sign in to comment.