Re: [PATCH v3 net-next 1/3] perf, bpf: Add BPF support to all perf_event types

From: Alexei Starovoitov
Date: Fri Jun 02 2017 - 10:35:12 EST


On 6/2/17 1:06 AM, Peter Zijlstra wrote:
Would it make sense to call perf_event_read_local() on the events here
in order to weed out the -EOPNOTSUPP ones?

excellent point! Finally understood your idea about that helper.
Will respin.