Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 158283
b: refs/heads/master
c: 4bf2364
h: refs/heads/master
i:
  158281: 2fd13a4
  158279: 6c3f5c0
v: v3
  • Loading branch information
Frederic Weisbecker authored and Ingo Molnar committed Aug 17, 2009
1 parent 20316e9 commit 37f32a1
Show file tree
Hide file tree
Showing 2 changed files with 5 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: 6ede59c412579303a25c11f93d4d262e100fc7e6
refs/heads/master: 4bf2364a951d3c043e132e4451d90c7bc74dee83
4 changes: 4 additions & 0 deletions trunk/tools/perf/builtin-trace.c
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,10 @@ static int __cmd_trace(void)
header = perf_header__read(input);
sample_type = perf_header__sample_type(header);

if (!(sample_type & PERF_SAMPLE_RAW))
die("No trace sample to read. Did you call perf record "
"without -R?");

if (load_kernel() < 0) {
perror("failed to load kernel symbols");
return EXIT_FAILURE;
Expand Down

0 comments on commit 37f32a1

Please sign in to comment.