]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - tools/lib/bpf/bpf.h
Merge branch 'perf-core-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git...
[mirror_ubuntu-artful-kernel.git] / tools / lib / bpf / bpf.h
index df6e186da788f7103ca741b491b9f1db61809bca..44fb7c5f8ae64cd8017e3365a1663ac7093a41fd 100644 (file)
@@ -42,7 +42,8 @@ int bpf_map_delete_elem(int fd, void *key);
 int bpf_map_get_next_key(int fd, void *key, void *next_key);
 int bpf_obj_pin(int fd, const char *pathname);
 int bpf_obj_get(const char *pathname);
-int bpf_prog_attach(int prog_fd, int attachable_fd, enum bpf_attach_type type);
+int bpf_prog_attach(int prog_fd, int attachable_fd, enum bpf_attach_type type,
+                   unsigned int flags);
 int bpf_prog_detach(int attachable_fd, enum bpf_attach_type type);