aboutsummaryrefslogtreecommitdiffstats
path: root/tools/lib/bpf/libbpf.map
diff options
context:
space:
mode:
authorAndrii Nakryiko <andriin@fb.com>2019-07-01 16:59:00 -0700
committerDaniel Borkmann <daniel@iogearbox.net>2019-07-05 22:37:30 +0200
commit84bf5e1f4f174fc4f06bc747dafa1a7cfa4e9a67 (patch)
treeda92af899ab505f964b7f037135fc4d8cb68d9a0 /tools/lib/bpf/libbpf.map
parentlibbpf: add tracepoint attach API (diff)
downloadlinux-dev-84bf5e1f4f174fc4f06bc747dafa1a7cfa4e9a67.tar.xz
linux-dev-84bf5e1f4f174fc4f06bc747dafa1a7cfa4e9a67.zip
libbpf: add raw tracepoint attach API
Add a wrapper utilizing bpf_link "infrastructure" to allow attaching BPF programs to raw tracepoints. Signed-off-by: Andrii Nakryiko <andriin@fb.com> Acked-by: Song Liu <songliubraving@fb.com> Reviewed-by: Stanislav Fomichev <sdf@google.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to '')
-rw-r--r--tools/lib/bpf/libbpf.map1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map
index 3c618b75ef65..e6b7d4edbc93 100644
--- a/tools/lib/bpf/libbpf.map
+++ b/tools/lib/bpf/libbpf.map
@@ -171,6 +171,7 @@ LIBBPF_0.0.4 {
bpf_object__load_xattr;
bpf_program__attach_kprobe;
bpf_program__attach_perf_event;
+ bpf_program__attach_raw_tracepoint;
bpf_program__attach_tracepoint;
bpf_program__attach_uprobe;
btf_dump__dump_type;