Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 338899
b: refs/heads/master
c: ba361c9
h: refs/heads/master
i:
  338897: cd3ccb3
  338895: 4c5eb4d
v: v3
  • Loading branch information
Arnaldo Carvalho de Melo committed Oct 25, 2012
1 parent ecdeba6 commit d4f371e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 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: 6ca2a9c6543dd1a307c0250991d4de93550209ce
refs/heads/master: ba361c92e73c771fcbbbd24c2c03c322e2de2e31
13 changes: 6 additions & 7 deletions trunk/tools/perf/util/event.c
Original file line number Diff line number Diff line change
Expand Up @@ -405,16 +405,15 @@ int perf_event__synthesize_threads(struct perf_tool *tool,

if (*end) /* only interested in proper numerical dirents */
continue;

if (__event__synthesize_thread(comm_event, mmap_event, pid, 1,
process, tool, machine) != 0) {
err = -1;
goto out_closedir;
}
/*
* We may race with exiting thread, so don't stop just because
* one thread couldn't be synthesized.
*/
__event__synthesize_thread(comm_event, mmap_event, pid, 1,
process, tool, machine);
}

err = 0;
out_closedir:
closedir(proc);
out_free_mmap:
free(mmap_event);
Expand Down

0 comments on commit d4f371e

Please sign in to comment.