commit | a549aaa67395eea89c2b9d2bea01ab0455b18408 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andrii@kernel.org> | Sun Aug 15 00:06:06 2021 -0700 |
committer | Daniel Borkmann <daniel@iogearbox.net> | Tue Aug 17 00:45:08 2021 +0200 |
tree | cc1a06d1162d2ad29d9bc9f818abf5e0ba7e2b9c | |
parent | f36d3557a132ec0ccb8a3536d3ebd778049d48ca [diff] |
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