Re: [PATCH v3 12/12] [RFC] perf, persistent: ioctl functions tocontrol persistency

From: Borislav Petkov
Date: Fri Aug 23 2013 - 07:34:07 EST


On Fri, Aug 23, 2013 at 12:44:41PM +0200, Robert Richter wrote:
> On 23.08.13 11:45:56, Robert Richter wrote:
> > On 23.08.13 11:11:28, Borislav Petkov wrote:
> > > On Thu, Aug 22, 2013 at 02:18:06PM -0400, Vince Weaver wrote:
> > > > PERF_EVENT_IOC_MAKE_PERSISTENT
> > > > PERF_EVENT_IOC_UNPERSIST
>
> Maybe this?
>
> PERF_EVENT_IOC_PERSIST
> PERF_EVENT_IOC_UNPERSIST

No, ATTACH/DETACH actually describes what you do with the fds and is
most generic. "PERSIST*" is a special use case of attaching/detaching
events.

Thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/