]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Dtrace: improve handling of library paths.
authorPedro F. Giffuni <pfg@FreeBSD.org>
Tue, 17 Jul 2012 19:57:34 +0000 (19:57 +0000)
committerPedro F. Giffuni <pfg@FreeBSD.org>
Tue, 17 Jul 2012 19:57:34 +0000 (19:57 +0000)
commit694a0093a74c742ebd1fbec3a68685947cdab30f
tree514723b2e08585e273c82e445c37452f8ce9f815
parentd638e8dcde9d1d93465e0afc50139d8553e70a7d
parent1aa03d3a8432d812a4400b9b99cf10959bc5c43c
Dtrace: improve handling of library paths.

Merge changes from illumos

906 dtrace depends_on pragma should search all library paths, not just the
current one

949 dtrace should only include the first instance of a library found on
its library path

Illumos Revisions: 13353:936a1e45726c
13354:2b2c36a81512

Reference:
https://www.illumos.org/issues/906
https://www.illumos.org/issues/949

Tested by: Fabian Keil
Obtained from: Illumos
MFC after: 3 weeks
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/include/tst.includefirst.ksh
cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/pragma/tst.libdepsepdir.ksh
cddl/contrib/opensolaris/lib/libdtrace/common/dt_cc.c
cddl/contrib/opensolaris/lib/libdtrace/common/dt_pragma.c