diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2021-08-15 00:06:06 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2021-08-17 00:45:08 +0200 |
commit | a549aaa67395eea89c2b9d2bea01ab0455b18408 (patch) | |
tree | cc1a06d1162d2ad29d9bc9f818abf5e0ba7e2b9c /kernel/panic.c | |
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
Diffstat (limited to 'kernel/panic.c')
0 files changed, 0 insertions, 0 deletions