diff options
| author | Alan Maguire <[email protected]> | 2022-04-06 12:43:49 +0100 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-04-07 11:42:50 -0700 |
| commit | a1c9d61b19cbc0b9618c0a0400c304ecb63221d5 (patch) | |
| tree | 7fec36eb34417328a9f5d9ea564c3ba07f504ecf /tools/perf/scripts/python/export-to-sqlite.py | |
| parent | 9fc4476a08b6dc61e406c2c0c4e0690512f60e82 (diff) | |
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 <[email protected]>
Signed-off-by: Alan Maguire <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions