Re: [PATCH 0/2] perf: Allow closing siblings' file descriptors

From: peterz
Date: Thu Aug 06 2020 - 04:37:28 EST


On Thu, Aug 06, 2020 at 09:15:08AM +0300, Adrian Hunter wrote:
> On 8/07/20 6:16 pm, Alexander Shishkin wrote:
> > Hi guys,
> >
> > I've been looking at reducing the number of open file descriptors per perf
> > session. If we retain one descriptor per event, in a large group they add
> > up. At the same time, we're not actually using them for anything after the
> > SET_OUTPUT and maybe SET_FILTER ioctls. So, this series is a stab at that.
>
> I am wondering if instead we should be looking at creating a kernel API that
> allows associating a multitude of tracepoints with a single event. Thoughts
> anyone?

https://lkml.kernel.org/r/1290445737.2072.338.camel@laptop