bpf: pass whole link instead of prog when triggering raw tracepoint
[linux-2.6-block.git] / include / linux / bpf.h
index 17843e66a1d3e1f9c8a2c1c80b7e749a51269160..2ea8ce59f5824ef873227a068606992b3c816cc6 100644 (file)
@@ -1607,6 +1607,11 @@ struct bpf_tracing_link {
        struct bpf_prog *tgt_prog;
 };
 
+struct bpf_raw_tp_link {
+       struct bpf_link link;
+       struct bpf_raw_event_map *btp;
+};
+
 struct bpf_link_primer {
        struct bpf_link *link;
        struct file *file;