Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147700
b: refs/heads/master
c: a14832f
h: refs/heads/master
v: v3
  • Loading branch information
Ingo Molnar committed Jun 7, 2009
1 parent 0774f54 commit 2fe5f92
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 30c806a094493beb7691bc7957dfa02dee96230a
refs/heads/master: a14832ff977e78d1982cdf78cdabb1f2320d9ac8
5 changes: 4 additions & 1 deletion trunk/tools/perf/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -1120,7 +1120,10 @@ static int __cmd_report(void)

input = open(input_name, O_RDONLY);
if (input < 0) {
perror("failed to open file");
fprintf(stderr, " failed to open file: %s", input_name);
if (!strcmp(input_name, "perf.data"))
fprintf(stderr, " (try 'perf record' first)");
fprintf(stderr, "\n");
exit(-1);
}

Expand Down

0 comments on commit 2fe5f92

Please sign in to comment.