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

From: Adrian Hunter
Date: Thu Aug 06 2020 - 02:15:50 EST


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?