Re: [PATCH 3/7] coresight: Use event attributes for sink selection

From: Peter Zijlstra
Date: Wed Jan 23 2019 - 16:05:17 EST


On Wed, Jan 23, 2019 at 10:03:33PM +0100, Peter Zijlstra wrote:
> On Tue, Jan 15, 2019 at 04:07:38PM -0700, Mathieu Poirier wrote:
> > + /* First get the selected sink from user space. */
> > + sink = coresight_get_sink_by_id(event->attr.config2);
>
> (I know there's a new version out, I'll go look there shortly)
>
> should this patch not also have something like:
>
> PMU_FORMAT_ATTR(sinkid, "config2:0-63");

n/m, I see it's already there.