aboutsummaryrefslogtreecommitdiff
path: root/cddl/usr.sbin/dtrace/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Use ZFSTOP more broadlyJohn Baldwin2025-11-241-3/+3
| | | | | | Reviewed by: brooks Obtained from: CheriBSD Differential Revision: https://reviews.freebsd.org/D53791
* zfs: fix build after openzfs/zfs@e63d026b9Martin Matuska2025-11-171-1/+2
| | | | | Fix Makefiles Update zfs_config.h and zfs_gitrev.h
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* dtrace: Add the 'oformat' libdtrace optionDomagoj Stolfa2024-01-101-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This option can be used to specify a format to use in DTrace output. The following formats are supported: - json - xml - html - none (default DTrace output) This is implemented using libxo and integrated into libdtrace. Client code only works with the following API: - dtrace_oformat_setup(dtrace_hdl_t *) -- to be called when output is starting. - dtrace_oformat_teardown(dtrace_hdl_t *) -- to be called when output is finished - dtrace_oformat(dtrace_hdl_t *) -- check if oformat is enabled. - dtrace_set_outfp(FILE *) -- sets the output file for oformat. - Ensure that oformat is correctly checked in the drop handler and record processing callbacks. This commit also adds tests which check if the generated output is valid (JSON, XML) and extends the dtrace(1) describing the structured output. Reviewed by: markj Discussed with: phil MFC after: 2 months Sponsored by: Innovate UK Differential Revision: https://reviews.freebsd.org/D41745
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* dtrace: Add WITH_DTRACE_ASANDomagoj Stolfa2023-08-021-0/+5
| | | | | See commit 4ae6991228105eb34989c870194ae7b0a1e23be4. This version of the commit avoids inadvertently changing SHLIBDIR for libdtrace.so.
* dtrace: Revert the addition of WITH_DTRACE_ASANMark Johnston2023-08-011-5/+0
| | | | | The follow-up fix triggers a lib32 build failure, revert everything until the problem is addressed.
* dtrace: Add WITH_DTRACE_ASANDomagoj Stolfa2023-07-271-0/+5
| | | | | | | | | | | | | | | | This option is a blanket for all the DTrace-related software. The option when enabled passes in -fsanitize=address -fsanitize=undeifned, enabling ASAN and UBSAN in the following components: - libdtrace - dtrace(1) - lockstat(1) - plockstat(1) The option defaults to "no" and is intended as a developer aid. Reviewed by: markj Differential Revision: https://reviews.freebsd.org/D41157
* pkgbase: Put dtrace in its own packageEmmanuel Vadot2021-06-191-0/+1
| | | | | | | While dtrace is usefull some people might not want it. Differential Revision: https://reviews.freebsd.org/D30752 Sponsored by: Diablotin Systems
* Remove -I flag for include path that doesn't existAlex Richardson2020-09-101-1/+0
| | | | | | | | | | Found this while trying to get macOS bootstrap to work again after OpenZFS merge. Reviewed By: #zfs, freqlabs Differential Revision: https://reviews.freebsd.org/D26192 Notes: svn path=/head/; revision=365580
* Merge OpenZFS support in to HEAD.Matt Macy2020-08-251-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The primary benefit is maintaining a completely shared code base with the community allowing FreeBSD to receive new features sooner and with less effort. I would advise against doing 'zpool upgrade' or creating indispensable pools using new features until this change has had a month+ to soak. Work on merging FreeBSD support in to what was at the time "ZFS on Linux" began in August 2018. I first publicly proposed transitioning FreeBSD to (new) OpenZFS on December 18th, 2018. FreeBSD support in OpenZFS was finally completed in December 2019. A CFT for downstreaming OpenZFS support in to FreeBSD was first issued on July 8th. All issues that were reported have been addressed or, for a couple of less critical matters there are pull requests in progress with OpenZFS. iXsystems has tested and dogfooded extensively internally. The TrueNAS 12 release is based on OpenZFS with some additional features that have not yet made it upstream. Improvements include: project quotas, encrypted datasets, allocation classes, vectorized raidz, vectorized checksums, various command line improvements, zstd compression. Thanks to those who have helped along the way: Ryan Moeller, Allan Jude, Zack Welch, and many others. Sponsored by: iXsystems, Inc. Differential Revision: https://reviews.freebsd.org/D25872 Notes: svn path=/head/; revision=364746
* cddl: normalize paths using SRCTOP-relative paths or :H when possibleEnji Cooper2017-03-041-3/+3
| | | | | | | | | | | | | This simplifies make logic/output While here, remove bogus CFLAGS which look for headers in cddl/lib/libumem. There aren't any source files there (just Makefiles) MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314654
* Reduce overlinking of libdtrace consumers with libctf, libelf, libproc.Bryan Drewery2015-12-021-1/+1
| | | | | | | | | | | | | | | The proper place for this list is _DP_dtrace. Due to removing the LDADD_dtrace, more LIBADD are needed in cddl/usr.sbin/dtrace to prevent underlinking. This fixes overlinking in cddl/usr.sbin/lockstat and cddl/usr.sbin/plockstat. Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=291628
* Add a src.conf option to build and install the DTrace test suite.Mark Johnston2015-08-021-0/+6
| | | | | | | | Reviewed by: gnn, ngie Differential Revision: https://reviews.freebsd.org/D3195 Notes: svn path=/head/; revision=286174
* Correctly link libdtrace and convert to LIBADDBaptiste Daroussin2015-05-191-4/+1
| | | | | | | Make dtrace only link to libdtrace Notes: svn path=/head/; revision=283133
* dtrace(1) now depends on libutil and librtld_db.Rui Paulo2010-07-311-2/+4
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=210691
* Remove manual .includes in cddl MakefilesUlrich Spörlein2010-03-021-7/+3
| | | | | | | | | | | | | | | | | | - Break the dependency on ../Makefile.inc for .PATH, and include ../Makefile.inc implicitly. This is required to ... - Set WARNS?=6 in top-level Makefile.inc - Remove now redundant WARNS settings, add WARNS?=0 where appropriate - Remove redundant SHLIB_MAJOR overrides - Use NO_MAN, not MK_MAN=no - Remove redundant inclusion of bsd.own.mk - Order Makefiles more according to style.Makefile(9) - Reduce diff of cddl Makefiles against each other No objection: pjd Approved by: ed (co-mentor) Notes: svn path=/head/; revision=204597
* Fixed dependencies (make checkdpadd).Ruslan Ermilov2010-02-251-9/+2
| | | | Notes: svn path=/head/; revision=204339
* Add the dtrace client app to the build.John Birrell2008-05-221-0/+37
Notes: svn path=/head/; revision=179221