libdtrace: Don't hard-code the native data model.MFC after: 1 month
Mechanically convert cddl sun #ifdef's to illumosSince the upstream for cddl code is now illumos not sun, mechanicallyconvert all sun #ifdef's to illumos #ifdef's which have been used in allnewer
Mechanically convert cddl sun #ifdef's to illumosSince the upstream for cddl code is now illumos not sun, mechanicallyconvert all sun #ifdef's to illumos #ifdef's which have been used in allnewer code for some time.Also do a manual pass to correct the use if #ifdef comments as per style(9)as well as few uses of #if defined(__FreeBSD__) vs #ifndef illumos.MFC after: 1 monthSponsored by: Multiplay
show more ...
DTrace: re-merge remainder of r249367 (original from Illumos).Bring back some important fixes from Illumos:3022 DTrace: keys should not affect the sort order when sorting by value3023 it should
DTrace: re-merge remainder of r249367 (original from Illumos).Bring back some important fixes from Illumos:3022 DTrace: keys should not affect the sort order when sorting by value3023 it should be possible to dereference dynamic variables3024 D integer narrowing needs some workWe particularly avoid the LD_NOLAZYLOAD changes that Illumos madeas those don't apply to FreeBSD and were causing problems ininteractive mode.Illumos Revision: 13758:23432da34147Reference:https://www.illumos.org/issues/3022https://www.illumos.org/issues/3023https://www.illumos.org/issues/3024MFC after: 1 monthTested by: markj
DTrace: Revert r249367The following change from illumos brought caused DTrace topause in an interactive environment:3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid providerThis was n
DTrace: Revert r249367The following change from illumos brought caused DTrace topause in an interactive environment:3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid providerThis was not detected during testing because it doesn'taffect scripts.We shouldn't be changing the environment, especially since theLD_NOLAZYLOAD option doesn't apply to our (GNU) ld.Unfortunately the change from upstream was made in such a waythat it is very difficult to separate this change from theothers so, at least for now, it's better to just reverteverything.Reference:https://www.illumos.org/issues/3026Reported by: Navdeep Parhar and Mark Johnston
DTrace: option for time-ordered outputMerge changes from illumos:3021 option for time-ordered output from dtrace(1M)3022 DTrace: keys should not affect the sort order when sorting by value3023
DTrace: option for time-ordered outputMerge changes from illumos:3021 option for time-ordered output from dtrace(1M)3022 DTrace: keys should not affect the sort order when sorting by value3023 it should be possible to dereference dynamic variables3024 D integer narrowing needs some work3025 register leak in D code generation3026 libdtrace should set LD_NOLAZYLOAD=1 to help the pid providerThis brings yet another feature implemented in upstream DTrace.A complete description is available here:http://dtrace.org/blogs/ahl/2012/07/28/my-new-dtrace-favorite/This change bumps the DT_VERS_* number to 1.9.1 inaccordance to what is done in illumos.This change was somewhat complicated because upstream is mixed manychanges in an individual commit and some of the tests don't reallyapply to us.There are also appear to be differences in timestamping with Solarisso we had to workaround some assertions making sure no regressionhappened.Special thanks to Fabian Keil for changes and testing.Illumos Revisions: 13758:23432da34147Reference:https://www.illumos.org/issues/3021https://www.illumos.org/issues/3022https://www.illumos.org/issues/3023https://www.illumos.org/issues/3024https://www.illumos.org/issues/3025https://www.illumos.org/issues/1694Tested by: Fabian KeilObtained from: IllumosMFC after: 1 months
In cddl/contrib/opensolaris/lib/libdtrace/i386/dt_isadep.c, use thecorrect printf format for an unsigned long.MFC after: 1 week
Add libdtrace support for tracing userland programs.Summary of changes:* Implement a compatibility shim between Solaris libproc and ourlibproc and remove several ifdefs because of this.* Port th
Add libdtrace support for tracing userland programs.Summary of changes:* Implement a compatibility shim between Solaris libproc and ourlibproc and remove several ifdefs because of this.* Port the drti to FreeBSD.* Implement the missing DOODAD sections* Link with libproc and librtld_db* Support for ustack, jstack and uregs (by sson@)* Misc bugfixingWhen writing the SUWN_dof section, we had to resort to building the ELFfile layout by "hand". This is the job of libelf, but our libelf doesn'tsupport this yet. When libelf is fixed, we can remove the code under#ifdef BROKEN_LIBELF.Sponsored by: The FreeBSD Foundation
Merge from vendor: libdtrace MD parts needed by fasttrap.Sponsored by: The FreeBSD Foundation