Re: [PATCH v4 00/16] perf, persistent: Add persistent events

Borislav Petkov
2014-05-06T18:54:07Z

On Tue, May 06, 2014 at 02:39:07PM +0200, Robert Richter wrote:
> Events could also be shared transparently. This means, if there is
> already an event running with the same attr, it could be reused. Not
> sure if this makes sense much and is also feasible. Most events are
> opened with writable buffers and thus can not be shared anyway.

Well, this is simple: sharing events implicitly says they're read-only -
you can't share them otherwise. If you want the buffers to be writable,
then the events cannot be shared.

I think this is nicely simple.

--
Regards/Gruss,
Boris.

Sent from a fat crate under my desk. Formatting is fine.
--