On 02/27/2011 04:58 PM, Stefan Hajnoczi wrote:
Trace events outside the global mutex cannot be used with the simple
trace backend since it is not thread-safe. There is no check to prevent
them being enabled so people sometimes learn this the hard way.
This patch restructures the simple trace backend with a ring buffer
suitable for multiple concurrent writers. A writeout thread empties the
trace buffer when threshold fill levels are reached. Should the
writeout thread be unable to keep up with trace generation, records will
simply be dropped.
It would be good to have an indication of the fact that records were
dropped in the file.
--
error compiling committee.c: too many arguments to function