sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Factor out the common code for function boundary tracing instead ofduplicating the entire implementation for both x86 and powerpc. This makesit easier to add support for other architectures and has
Factor out the common code for function boundary tracing instead ofduplicating the entire implementation for both x86 and powerpc. This makesit easier to add support for other architectures and has no functionalimpact.Phabric: D613Reviewed by: gnn, jhibbits, rpauloTested by: jhibbits (powerpc)MFC after: 2 weeks
show more ...
Use SYSDIR to reference to the top of the sys hierarchy. Define SYSDIRrelative to .CURDIR if not already defined. This makes the makefilesmore readable but also more re-usable and adaptable.Obtai
Use SYSDIR to reference to the top of the sys hierarchy. Define SYSDIRrelative to .CURDIR if not already defined. This makes the makefilesmore readable but also more re-usable and adaptable.Obtained from: Juniper Networks, Inc.
opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUGDo this by forcing inclusion ofsys/cddl/compat/opensolaris/sys/debug_compat.hvia -include option into all source files from OpenSolari
opensolaris code: translate INVARIANTS to DEBUG and ZFS_DEBUGDo this by forcing inclusion ofsys/cddl/compat/opensolaris/sys/debug_compat.hvia -include option into all source files from OpenSolaris.Note that this -include option must always be after -include opt_global.h.Additionally, remove forced definition of DEBUG for some modules and fixtheir build without DEBUG.Also, meaning of DEBUG was overloaded to enable WITNESS support for someOpenSolaris (primarily ZFS) locks. Now this overloading is removed andthat use of DEBUG is replaced with a new option OPENSOLARIS_WITNESS.MFC after: 17 days
Fix the powerpc64 build. MACHINE_CPUARCH is common for powerpc/powerpc64,not MACHINE_ARCH.
Add FBT for PowerPC DTrace. Also, clean up the DTrace assembly code,much of which is not necessary for PowerPC.The FBT module can likely be factored into 3 separate files: common,intel, and powe
Add FBT for PowerPC DTrace. Also, clean up the DTrace assembly code,much of which is not necessary for PowerPC.The FBT module can likely be factored into 3 separate files: common,intel, and powerpc, rather than duplicating most of the code betweenthe x86 and PowerPC flavors.All DTrace modules for PowerPC will be MFC'd together once Fasttrap iscompleted.
Add the DTrace kernel module makefiles.