]> git.baikalelectronics.ru Git - kernel.git/commit
libbpf: add kprobe/uprobe attach API
authorAndrii Nakryiko <andriin@fb.com>
Mon, 1 Jul 2019 23:58:58 +0000 (16:58 -0700)
committerDaniel Borkmann <daniel@iogearbox.net>
Fri, 5 Jul 2019 20:37:30 +0000 (22:37 +0200)
commit5a9577fda0fff7a9f2a3d3dd6e0015c36d481fe0
treecc359342cef07c33aab95447813899fe81e6d866
parent5807d9659a2abab9119b9b4e72cbde80fc769df4
libbpf: add kprobe/uprobe attach API

Add ability to attach to kernel and user probes and retprobes.
Implementation depends on perf event support for kprobes/uprobes.

Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Reviewed-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
tools/lib/bpf/libbpf.c
tools/lib/bpf/libbpf.h
tools/lib/bpf/libbpf.map