diff options
| author | Alan Maguire <alan.maguire@oracle.com> | 2022-04-06 14:43:49 +0300 |
|---|---|---|
| committer | Andrii Nakryiko <andrii@kernel.org> | 2022-04-07 21:42:50 +0300 |
| commit | a1c9d61b19cbc0b9618c0a0400c304ecb63221d5 (patch) | |
| tree | 7fec36eb34417328a9f5d9ea564c3ba07f504ecf /include/linux | |
| parent | 9fc4476a08b6dc61e406c2c0c4e0690512f60e82 (diff) | |
| download | linux-a1c9d61b19cbc0b9618c0a0400c304ecb63221d5.tar.xz | |
libbpf: Improve library identification for uprobe binary path resolution
In the process of doing path resolution for uprobe attach, libraries are
identified by matching a ".so" substring in the binary_path.
This matches a lot of patterns that do not conform to library.so[.version]
format, so instead match a ".so" _suffix_, and if that fails match a
".so." substring for the versioned library case.
Suggested-by: Andrii Nakryiko <andrii@kernel.org>
Signed-off-by: Alan Maguire <alan.maguire@oracle.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/1649245431-29956-2-git-send-email-alan.maguire@oracle.com
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
