freebsd-skq/lib/libproc
Mark Johnston d42df2a447 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.
2016-12-06 04:20:32 +00:00
..
tests libproc: Match prefixes when looking up mapped object by name. 2016-12-06 04:20:32 +00:00
_libproc.h libproc: Cache ELF handles for loaded objects. 2016-12-06 04:19:08 +00:00
crc32.c libproc: Improve .gnu_debuglink support. 2016-12-06 04:18:09 +00:00
crc32.h libproc: Improve .gnu_debuglink support. 2016-12-06 04:18:09 +00:00
libproc.h libproc: Match prefixes when looking up mapped object by name. 2016-12-06 04:20:32 +00:00
Makefile libproc: Improve .gnu_debuglink support. 2016-12-06 04:18:09 +00:00
Makefile.depend DIRDEPS_BUILD: Update dependencies. 2016-08-31 19:30:46 +00:00
Makefile.inc Remove WARNS inherited fine by ../Makefile.inc. 2016-02-26 22:14:23 +00:00
proc_bkpt.c Fix style bugs and remove trailing whitespace in libproc and librtld_db. 2016-12-06 04:13:02 +00:00
proc_create.c libproc: Cache ELF handles for loaded objects. 2016-12-06 04:19:08 +00:00
proc_regs.c Fix style bugs and remove trailing whitespace in libproc and librtld_db. 2016-12-06 04:13:02 +00:00
proc_rtld.c libproc: Cache ELF handles for loaded objects. 2016-12-06 04:19:08 +00:00
proc_sym.c libproc: Match prefixes when looking up mapped object by name. 2016-12-06 04:20:32 +00:00
proc_util.c libproc: Make proc_getpid() an accessor for struct proc_handle. 2016-12-06 04:14:20 +00:00