diff options
author | Andrii Nakryiko <andriin@fb.com> | 2019-07-01 16:58:59 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-07-05 22:37:30 +0200 |
commit | f6de59c17f111b3efc701c95b438e46245c4aeb1 (patch) | |
tree | 3ad2ff3fd92106af31a437cd027ee4af2792342e /tools/lib/bpf/libbpf.map | |
parent | libbpf: add kprobe/uprobe attach API (diff) | |
download | linux-dev-f6de59c17f111b3efc701c95b438e46245c4aeb1.tar.xz linux-dev-f6de59c17f111b3efc701c95b438e46245c4aeb1.zip |
libbpf: add tracepoint attach API
Allow attaching BPF programs to kernel tracepoint BPF hooks specified by
category and name.
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.map | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/lib/bpf/libbpf.map b/tools/lib/bpf/libbpf.map index 57a40fb60718..3c618b75ef65 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_tracepoint; bpf_program__attach_uprobe; btf_dump__dump_type; btf_dump__free; |