| Date | Thu, 23 Oct 2014 05:05:41 +0200 | From | Frederic Weisbecker <> | Subject | Re: [PATCH v5 02/20] perf: Add AUX area to ring buffer for raw data streams |
| |
On Wed, Oct 22, 2014 at 02:35:47PM +0200, Peter Zijlstra wrote: > On Mon, Oct 13, 2014 at 04:45:30PM +0300, Alexander Shishkin wrote: > > + struct kref aux_refcount; > > I'm not a fan of kref, pointless obfuscation that.
It has a good potential for debugging though. Sure right now the get/put simple APIs only performs counting sanity checks but I've seen patches that extend it to object debugging.
Sounds quite valuable on complicated object lifecycles like perf events.
|