]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - include/linux/trace_events.h
UBUNTU: [Config] Updating config after rebasing
[mirror_ubuntu-artful-kernel.git] / include / linux / trace_events.h
index 536c80ff7ad96680ddcca0a7880cd7df81c57f17..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 *);
@@ -508,9 +509,9 @@ void perf_trace_run_bpf_submit(void *raw_data, int size, int rctx,
 static inline void
 perf_trace_buf_submit(void *raw_data, int size, int rctx, u16 type,
                       u64 count, struct pt_regs *regs, void *head,
-                      struct task_struct *task)
+                      struct task_struct *task, struct perf_event *event)
 {
-       perf_tp_event(type, count, raw_data, size, regs, head, rctx, task);
+       perf_tp_event(type, count, raw_data, size, regs, head, rctx, task, event);
 }
 #endif