]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/trace_events.h
bpf: one perf event close won't free bpf program attached by another perf event
[mirror_ubuntu-artful-kernel.git] / include / linux / trace_events.h
index 5012b524283d2d59da5b0f954c242a605a31ee4d..60248d644b6f9e8081a0b0ae497113e7b96938b8 100644 (file)
@@ -277,6 +277,7 @@ struct trace_event_call {
        int                             perf_refcount;
        struct hlist_head __percpu      *perf_events;
        struct bpf_prog                 *prog;
+       struct perf_event               *bpf_prog_owner;
 
        int     (*perf_perm)(struct trace_event_call *,
                             struct perf_event *);