]> git.baikalelectronics.ru Git - kernel.git/commit
Merge branch 'bpf-permit-multiple-bpf-attachments-for-a-single-perf-tracepoint-event'
authorDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2017 01:47:47 +0000 (10:47 +0900)
committerDavid S. Miller <davem@davemloft.net>
Wed, 25 Oct 2017 01:47:47 +0000 (10:47 +0900)
commit5c427f8dc9ab6702f95aa11dd492c3f5880e3a98
treec2d0ca52a82c862c8e2a5623ba2d76fdb9a19052
parent9835573beb51a8a94f8a1febab62b03f8f9ac999
parentb9fc1aa7cea305630a5d68fc1e22f73f152b4e9e
Merge branch 'bpf-permit-multiple-bpf-attachments-for-a-single-perf-tracepoint-event'

Yonghong Song says:

====================
bpf: permit multiple bpf attachments for a single perf tracepoint event

This patch set adds support to permit multiple bpf prog attachments
for a single perf tracepoint event. Patch 1 does some cleanup such
that perf_event_{set|free}_bpf_handler is called under the
same condition. Patch 2 has the core implementation, and
Patch 3 adds a test case.

Changelogs:
v2 -> v3:
  . fix compilation error.
v1 -> v2:
  . fix a potential deadlock issue discovered by Daniel.
  . fix some coding style issues.
====================

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