On Wed, Aug 28, 2013 at 12:57:01PM -0400, Steven Rostedt wrote:

 > Dave, I'm assuming that trinidy does things as threads, such that it
 > may be two threads calling perf with the same descriptor, and if we
 > don't have the proper locks, things can get bad, right?
 > 
 
close. It does use as many processes as there are cpus (unless you override 
with -C)
but the fd's created by perf_event_open were only being used within the thread
that created them.  I just committed code to make it also reuse some shared ones
created from the parent process.

        Dave

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to