Merge branch 'bpf-Add-BPF-support-to-all-perf_event'
authorDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2017 01:58:24 +0000 (21:58 -0400)
committerDavid S. Miller <davem@davemloft.net>
Mon, 5 Jun 2017 01:58:24 +0000 (21:58 -0400)
commita11227dcc345c1792945cae8a3b22882a723620f
tree754be25be7f1808e265bf2e8a65d190fdeaa75da
parent5071034e4af709d6783b7d105dc296a5cc84739b
parentb7d3ed5be9bd7e0689eee0f0f36702937cd8f7c8
Merge branch 'bpf-Add-BPF-support-to-all-perf_event'

Merge branch 'bpf-Add-BPF-support-to-all-perf_event'

Alexei Starovoitov says:

====================
bpf: Add BPF support to all perf_event

v3->v4: one more tweak to reject unsupported events at map
update time as Peter suggested

v2->v3: more refactoring to address Peter's feedback.
Now all perf_events are attachable and readable

v1->v2: address Peter's feedback. Refactor patch 1 to allow attaching
bpf programs to all event types and reading counters from all of them as well
patch 2 - more tests
patch 3 - address Dave's feedback and document bpf_perf_event_read()
and bpf_perf_event_output() properly
====================

Signed-off-by: David S. Miller <davem@davemloft.net>