[PATCH v2 14/14] perf, persistent: Allow multiple users for an event

2013-06-11 Thread Robert Richter
From: Robert Richter Usually a fd close leads to the release of the event too. For persistent events this is different as the events should be permanently enabled in the system. Using reference counting to avoid releasing an event during a fd close. This also allows it to have multiple users

[PATCH v2 14/14] perf, persistent: Allow multiple users for an event

2013-06-11 Thread Robert Richter
From: Robert Richter robert.rich...@linaro.org Usually a fd close leads to the release of the event too. For persistent events this is different as the events should be permanently enabled in the system. Using reference counting to avoid releasing an event during a fd close. This also allows it