aboutsummaryrefslogtreecommitdiff
path: root/include/paths.h
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2016-12-06 04:20:32 +0000
committerMark Johnston <markj@FreeBSD.org>2016-12-06 04:20:32 +0000
commitd42df2a44793413692a006e46faad87ec7b9e34f (patch)
treebdea9504a1c76f02abf7bfe4afa19d8c47dddf8a /include/paths.h
parent07a9c2e65d5f2f21cc9783e33dd94a5ce8cc592d (diff)
downloadsrc-d42df2a44793413692a006e46faad87ec7b9e34f.tar.gz
src-d42df2a44793413692a006e46faad87ec7b9e34f.zip
libproc: Match prefixes when looking up mapped object by name.
When looking up an object by name, allow prefix matches if no direct match is found. This allows one to, for example, match libc entry probes with: # dtrace -n 'pid$target:libc.so::entry' -c ./foo instead of requiring "libc.so.7" or a glob. Also remove proc_obj2map() as it currently just duplicates the functionality of proc_name2map(). It's supposed to take a Solaris link-map ID as a paramter, but support for this isn't implemented and isn't required to support DTrace's pid provider.
Notes
Notes: svn path=/head/; revision=309595
Diffstat (limited to 'include/paths.h')
0 files changed, 0 insertions, 0 deletions