Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 147555
b: refs/heads/master
c: 5571731
h: refs/heads/master
i:
  147553: b8b1a17
  147551: 092c7f3
v: v3
  • Loading branch information
Ingo Molnar committed May 27, 2009
1 parent 9db7c05 commit 35bcd69
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 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: 2d65537ee7cd4a0818ea80a97ab7932368fff5cd
refs/heads/master: 55717314c4e3a5180a54228a2f97e50f3496de4c
17 changes: 8 additions & 9 deletions trunk/Documentation/perf_counter/builtin-report.c
Original file line number Diff line number Diff line change
Expand Up @@ -1117,9 +1117,9 @@ static int __cmd_report(void)
}

if (thread == NULL) {
fprintf(stderr, "problem processing %d event, bailing out\n",
fprintf(stderr, "problem processing %d event, skipping it.\n",
event->header.type);
goto done;
goto broken_event;
}

if (event->header.misc & PERF_EVENT_MISC_KERNEL) {
Expand Down Expand Up @@ -1149,8 +1149,8 @@ static int __cmd_report(void)

if (hist_entry__add(thread, map, dso, sym, ip, level)) {
fprintf(stderr,
"problem incrementing symbol count, bailing out\n");
goto done;
"problem incrementing symbol count, skipping event\n");
goto broken_event;
}
}
total++;
Expand All @@ -1169,8 +1169,8 @@ static int __cmd_report(void)
event->mmap.filename);
}
if (thread == NULL || map == NULL) {
fprintf(stderr, "problem processing PERF_EVENT_MMAP, bailing out\n");
goto done;
fprintf(stderr, "problem processing PERF_EVENT_MMAP, skipping event.\n");
goto broken_event;
}
thread__insert_map(thread, map);
total_mmap++;
Expand All @@ -1187,8 +1187,8 @@ static int __cmd_report(void)
}
if (thread == NULL ||
thread__set_comm(thread, event->comm.comm)) {
fprintf(stderr, "problem processing PERF_EVENT_COMM, bailing out\n");
goto done;
fprintf(stderr, "problem processing PERF_EVENT_COMM, skipping event.\n");
goto broken_event;
}
total_comm++;
break;
Expand Down Expand Up @@ -1221,7 +1221,6 @@ static int __cmd_report(void)
goto more;

rc = EXIT_SUCCESS;
done:
close(input);

if (dump_trace) {
Expand Down

0 comments on commit 35bcd69

Please sign in to comment.