|
Revision tags: release/13.4.0-p5, release/13.5.0-p1, release/14.2.0-p3, release/13.5.0, release/14.2.0-p2, release/14.1.0-p8, release/13.4.0-p4, release/14.1.0-p7, release/14.2.0-p1, release/13.4.0-p3, release/14.2.0, release/13.4.0, release/14.1.0, release/13.3.0 |
|
| #
aef45041 |
| 03-Jan-2024 |
Domagoj Stolfa <[email protected]> |
dtrace: Add the 'oformat' libdtrace option
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 ou
dtrace: Add the 'oformat' libdtrace option
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
(cherry picked from commit 93f27766a7e1af009c5b1e4ca538632857c91aa1)
show more ...
|
|
Revision tags: release/14.0.0 |
|
| #
d0b2dbfa |
| 16-Aug-2023 |
Warner Losh <[email protected]> |
Remove $FreeBSD$: one-line sh pattern
Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
|
| #
6de02228 |
| 02-Aug-2023 |
Domagoj Stolfa <[email protected]> |
dtrace: Add WITH_DTRACE_ASAN
See commit 4ae6991228105eb34989c870194ae7b0a1e23be4. This version of the commit avoids inadvertently changing SHLIBDIR for libdtrace.so.
|
| #
5cdaac92 |
| 01-Aug-2023 |
Mark Johnston <[email protected]> |
dtrace: Revert the addition of WITH_DTRACE_ASAN
The follow-up fix triggers a lib32 build failure, revert everything until the problem is addressed.
|
| #
848ff9bc |
| 01-Aug-2023 |
Mark Johnston <[email protected]> |
libdtrace: Explicitly set SHLIBDIR and SHLIB_MAJOR
They were previously being defined by cddl/lib/Makefile.inc, and as of commit 4ae699122810 were being overridden by defaults in bsd.own.mk, which c
libdtrace: Explicitly set SHLIBDIR and SHLIB_MAJOR
They were previously being defined by cddl/lib/Makefile.inc, and as of commit 4ae699122810 were being overridden by defaults in bsd.own.mk, which changed SHLIBDIR to /usr/lib.
Reported by: Domagoj Stolfa <[email protected]> Fixes: 4ae699122810 ("dtrace: Add WITH_DTRACE_ASAN")
show more ...
|
| #
4ae69912 |
| 27-Jul-2023 |
Domagoj Stolfa <[email protected]> |
dtrace: Add WITH_DTRACE_ASAN
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 f
dtrace: Add WITH_DTRACE_ASAN
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
show more ...
|
| #
21a16d55 |
| 23-May-2023 |
Christos Margiolis <[email protected]> |
dtrace: add register bindings for arm64
Reviewed by: mhorne, markj Approved by: markj (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39956
|
| #
db05f9fb |
| 23-May-2023 |
Christos Margiolis <[email protected]> |
dtrace: implement dtrace_instr_size() for arm64
Reviewed by: markj Approved by; markj (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39955
|
| #
1fef7abd |
| 20-Apr-2023 |
Christos Margiolis <[email protected]> |
dtrace: add register bindings for RISC-V
Reviewed by: mhorne, markj MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39611
|
| #
080e56a6 |
| 20-Apr-2023 |
Christos Margiolis <[email protected]> |
dtrace: expose dtrace_instr_size() to userland and implement it for riscv
dtrace_instr_size() is needed by the forthcoming RISC-V port of kinst, as well as by libdtrace in D38825 for both amd64 and
dtrace: expose dtrace_instr_size() to userland and implement it for riscv
dtrace_instr_size() is needed by the forthcoming RISC-V port of kinst, as well as by libdtrace in D38825 for both amd64 and RISC-V.
Reviewed by: markj, mhorne MFC after: 1 week Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D39489
show more ...
|
|
Revision tags: release/13.2.0, release/12.4.0 |
|
| #
2179a159 |
| 11-Oct-2022 |
Christos Margiolis <[email protected]> |
libdtrace: Add kinst support
kinst does not instantiate its probes automatically, it only does so on demand via an ioctl interface implemented by /dev/kinst. This change modifies libdtrace to perfo
libdtrace: Add kinst support
kinst does not instantiate its probes automatically, it only does so on demand via an ioctl interface implemented by /dev/kinst. This change modifies libdtrace to perform that work when the script references the kinst provider, similar to the way pid provider probes are implemented.
Reviewed by: markj MFC after: 3 months Sponsored by: Google, Inc. (GSoC 2022) Differential Revision: https://reviews.freebsd.org/D36852
show more ...
|
| #
711d50bd |
| 01-Jul-2022 |
Brooks Davis <[email protected]> |
dtrace: Remove local mips support
Remove the stub pid probe and all the build glue.
Reviewed by: imp, jhb Sponsored by: DARPA, AFRL Differential Revision: https://reviews.freebsd.org/D35541
|
|
Revision tags: release/13.1.0 |
|
| #
2d5d2a98 |
| 07-Mar-2022 |
Mark Johnston <[email protected]> |
ctf: Import ctf.h from OpenBSD
Use it instead of the existing ctf.h from OpenSolaris. This makes it easier to use CTF in the core kernel, and to extend the CTF format to support wider type IDs.
Th
ctf: Import ctf.h from OpenBSD
Use it instead of the existing ctf.h from OpenSolaris. This makes it easier to use CTF in the core kernel, and to extend the CTF format to support wider type IDs.
The imported ctf.h is modified to depend only on _types.h, and also to provide macros which use the "parent" bit of a type ID to refer to types in a parent CTF container.
No functional change intended.
Reviewed by: Domagoj Stolfa, emaste MFC after: 1 month Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D34358
show more ...
|
|
Revision tags: release/12.3.0 |
|
| #
79ac3c12 |
| 19-Jun-2021 |
Emmanuel Vadot <[email protected]> |
pkgbase: Put dtrace in its own package
While dtrace is usefull some people might not want it.
Differential Revision: https://reviews.freebsd.org/D30752 Sponsored by: Diablotin Systems
|
|
Revision tags: release/13.0.0 |
|
| #
8ba333e0 |
| 17-Feb-2021 |
Mark Johnston <[email protected]> |
libdtrace: Stop relying on lex compatibility
It does not appear to be required, and as of commit 6b7e592c215f ("lex: Do not let input() return 0 when end-of-file is reached") it causes input to retu
libdtrace: Stop relying on lex compatibility
It does not appear to be required, and as of commit 6b7e592c215f ("lex: Do not let input() return 0 when end-of-file is reached") it causes input to return 0 instead of EOF when end-of-input is reached.
PR: 253440 MFC after: 3 days Sponsored by: The FreeBSD Foundation
show more ...
|
| #
1f6612b4 |
| 06-Jan-2021 |
Alex Richardson <[email protected]> |
Install dtrace.h and dependencies
This makes the minimum amount of changes to allow inclusion of dtrace.h without all the solaris compatibility headers. Installing dtrace.h allows compiling consumer
Install dtrace.h and dependencies
This makes the minimum amount of changes to allow inclusion of dtrace.h without all the solaris compatibility headers. Installing dtrace.h allows compiling consumers of libdtrace (e.g. https://github.com/tmetsch/python-dtrace) without requiring a copy of the source tree. For python-dtrace I worked around this in https://github.com/tmetsch/python-dtrace/commit/58019c9a12022203a9ffda286dd8b41f1a5ace42 but being able to build the library without installed sources would be extremely useful.
Reviewed By: gnn Differential Revision: https://reviews.freebsd.org/D27884
show more ...
|
|
Revision tags: release/12.2.0 |
|
| #
e17ebfd3 |
| 10-Sep-2020 |
Alex Richardson <[email protected]> |
Remove -I flag for include path that doesn't exist
Found this while trying to get macOS bootstrap to work again after OpenZFS merge.
Reviewed By: #zfs, freqlabs Differential Revision: https://revie
Remove -I flag for include path that doesn't exist
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
show more ...
|
| #
9e5787d2 |
| 25-Aug-2020 |
Matt Macy <[email protected]> |
Merge OpenZFS support in to HEAD.
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 a
Merge OpenZFS support in to HEAD.
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
show more ...
|
| #
8f11c997 |
| 28-Jul-2020 |
Yoshihiro Takahashi <[email protected]> |
- Cleanups related to sparc64 removal. - Remove remains of sparc64 files.
Reviewed by: imp Differential Revision: https://reviews.freebsd.org/D25831
|
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
| #
1e88cc8b |
| 22-Aug-2018 |
Michael Tuexen <[email protected]> |
Add support for send, receive and state-change DTrace providers for SCTP. They are based on what is specified in the Solaris DTrace manual for Solaris 11.4.
Reviewed by: 0mp, dteske, markj Relnotes
Add support for send, receive and state-change DTrace providers for SCTP. They are based on what is specified in the Solaris DTrace manual for Solaris 11.4.
Reviewed by: 0mp, dteske, markj Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16839
show more ...
|
| #
7bda9663 |
| 31-Jul-2018 |
Michael Tuexen <[email protected]> |
Add a dtrace provider for UDP-Lite.
The dtrace provider for UDP-Lite is modeled after the UDP provider. This fixes the bug that UDP-Lite packets were triggering the UDP provider. Thanks to dteske@ f
Add a dtrace provider for UDP-Lite.
The dtrace provider for UDP-Lite is modeled after the UDP provider. This fixes the bug that UDP-Lite packets were triggering the UDP provider. Thanks to dteske@ for providing the dwatch module.
Reviewed by: dteske@, markj@, rrs@ Relnotes: yes Differential Revision: https://reviews.freebsd.org/D16377
show more ...
|
|
Revision tags: release/11.2.0, release/10.4.0 |
|
| #
958f4928 |
| 07-Sep-2017 |
George V. Neville-Neil <[email protected]> |
Add D definitions for the named values in socket.h
Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D12241
|
|
Revision tags: release/11.1.0 |
|
| #
acc37ca1 |
| 04-Mar-2017 |
Enji Cooper <[email protected]> |
cddl: normalize paths using SRCTOP-relative paths or :H when possible
This simplifies make logic/output
While here, remove bogus CFLAGS which look for headers in cddl/lib/libumem. There aren't any
cddl: normalize paths using SRCTOP-relative paths or :H when possible
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
show more ...
|
| #
e2072706 |
| 17-Nov-2016 |
Mark Johnston <[email protected]> |
Define dependencies for some auto-generated source files in libdtrace.
Remove an unneeded beforedepend rule.
Reported by: emaste, jhb Reviewed by: bdrewery MFC after: 1 week
|
|
Revision tags: release/11.0.1, release/11.0.0 |
|
| #
fed1ca4b |
| 24-May-2016 |
Ruslan Bukin <[email protected]> |
Add initial DTrace support for RISC-V.
Sponsored by: DARPA, AFRL Sponsored by: HEIF5
|