On Thu, May 17, 2018 at 10:32:53PM -0700, Yonghong Song wrote: > A new extern function, perf_get_event(), is added to return a perf event > given a struct file. This function will be used in later patches.
Can't you do a narrower interface? Like return the prog. I'm not too keen on random !perf code frobbing around inside the event.
