freebsd-dev/cddl/lib/libdtrace
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
..
errno.d
io.d - Use an explicit "depends_on module kernel" guard in DTrace libraries that 2015-08-07 19:56:22 +00:00
ip.d Remove an unneeded typedef of ip6_t from the DTrace ip provider library. 2015-09-15 05:16:26 +00:00
libproc_compat.h libproc: Match prefixes when looking up mapped object by name. 2016-12-06 04:20:32 +00:00
Makefile Define dependencies for some auto-generated source files in libdtrace. 2016-11-17 18:13:42 +00:00
Makefile.depend DIRDEPS_BUILD: Regenerate without local dependencies. 2016-02-24 17:20:11 +00:00
net.d
nfs.d - Use an explicit "depends_on module kernel" guard in DTrace libraries that 2015-08-07 19:56:22 +00:00
nfssrv.d - Use an explicit "depends_on module kernel" guard in DTrace libraries that 2015-08-07 19:56:22 +00:00
psinfo.d Unlike Solaris, in FreeBSD p_args can be 0 so check for that 2016-08-25 23:24:57 +00:00
regs_x86.d - Use an explicit "depends_on module kernel" guard in DTrace libraries that 2015-08-07 19:56:22 +00:00
sched.d - Use an explicit "depends_on module kernel" guard in DTrace libraries that 2015-08-07 19:56:22 +00:00
siftr.d - Use an explicit "depends_on module kernel" guard in DTrace libraries that 2015-08-07 19:56:22 +00:00
signal.d
tcp.d On FreeBSD there is a setsockopt option SO_USER_COOKIE which allows 2016-07-08 23:44:09 +00:00
udp.d - Use an explicit "depends_on module kernel" guard in DTrace libraries that 2015-08-07 19:56:22 +00:00
unistd.d