[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20180518071822.GC12217@hirez.programming.kicks-ass.net>
Date: Fri, 18 May 2018 09:18:22 +0200
From: Peter Zijlstra <peterz@...radead.org>
To: Yonghong Song <yhs@...com>
Cc: ast@...com, daniel@...earbox.net, netdev@...r.kernel.org,
kernel-team@...com
Subject: Re: [PATCH bpf-next v2 1/7] perf/core: add perf_get_event() to
return perf_event given a struct file
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.
Powered by blists - more mailing lists