Use the SET_OUTPUT ioctl to direct all output to the same buffer
authorSøren Sandmann Pedersen <sandmann@daimi.au.dk>
Sat, 24 Apr 2010 14:49:18 +0000 (10:49 -0400)
committerSøren Sandmann Pedersen <sandmann@daimi.au.dk>
Sat, 24 Apr 2010 14:50:26 +0000 (10:50 -0400)
commitc960ebd52fee06becf1b943a4a4eeae566a35a81
treed26eb137985d96bb2257b04e62086ade0223d1fe
parent539c3a87546f6a3baf8bd33b1633c1dc07f66496
Use the SET_OUTPUT ioctl to direct all output to the same buffer

This ensures that we don't get events out of order, which will make
the profiles look a lot less bogus on multi-core systems.
collector.c
perf_counter.h