freebsd-dev/cddl
Mark Johnston 3a3e3279e7 Avoid modifying the object string table when patching USDT probes.
dtrace converts pairs of consecutive underscores in a probe name to dashes.
When dtrace -G processes relocations corresponding to USDT probe sites, it
performs this conversion on the corresponding symbol names prior to looking
up the resulting probe names in the USDT provider definition. However, in
so doing it would actually modify the input object's string table, which
breaks the string suffix merging done by recent binutils. Because we don't
care about the symbol name once the probe site is recorded, just perform the
probe lookup using a temporary copy.

Reported by:	hrs, swills
MFC after:	3 weeks
2016-12-20 18:25:41 +00:00
..
compat/opensolaris libproc: Add support for some proc_attach() flags. 2016-12-06 04:22:38 +00:00
contrib/opensolaris Avoid modifying the object string table when patching USDT probes. 2016-12-20 18:25:41 +00:00
lib libproc: Add support for some proc_attach() flags. 2016-12-06 04:22:38 +00:00
sbin
tests
usr.bin
usr.sbin Skip a ustack test that triggers an assertion on INVARIANTS kernels. 2016-12-14 19:01:43 +00:00
Makefile
Makefile.inc