diff options
author | 2021-08-15 00:06:06 -0700 | |
---|---|---|
committer | 2021-08-17 00:45:08 +0200 | |
commit | a549aaa67395eea89c2b9d2bea01ab0455b18408 (patch) | |
tree | cc1a06d1162d2ad29d9bc9f818abf5e0ba7e2b9c /net/unix/af_unix.c | |
parent | selftests/bpf: Test low-level perf BPF link API (diff) | |
download | wireguard-linux-a549aaa67395eea89c2b9d2bea01ab0455b18408.tar.xz wireguard-linux-a549aaa67395eea89c2b9d2bea01ab0455b18408.zip |
selftests/bpf: Extract uprobe-related helpers into trace_helpers.{c,h}
Extract two helpers used for working with uprobes into trace_helpers.{c,h} to
be re-used between multiple uprobe-using selftests. Also rename get_offset()
into more appropriate get_uprobe_offset().
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20210815070609.987780-14-andrii@kernel.org
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions