#
93f27766 |
| 03-Jan-2024 |
Domagoj Stolfa <domagoj.stolfa@gmail.com> |
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
show more ...
|
Revision tags: release/14.0.0 |
|
#
f5335513 |
| 10-Oct-2023 |
John Baldwin <jhb@FreeBSD.org> |
Trim various $FreeBSD$
Approved by: markj (cddl/contrib changes) Reviewed by: imp, emaste Differential Revision: https://reviews.freebsd.org/D41961
|
#
ed35c7cf |
| 23-May-2023 |
Christos Margiolis <christos@FreeBSD.org> |
dtrace.1: fix mandoc -Tlint
Reviewed by: markj Approved by: markj (mentor) Differential Revision: https://reviews.freebsd.org/D40230
|
#
1e136a9c |
| 23-May-2023 |
Christos Margiolis <christos@FreeBSD.org> |
dtrace(1): add -d flag to dump D script post-dt_sugar
By specifying the -d flag, libdtrace will dump the D script after it has applied syntactical sugar transformations (e.g if/else). This is useful
dtrace(1): add -d flag to dump D script post-dt_sugar
By specifying the -d flag, libdtrace will dump the D script after it has applied syntactical sugar transformations (e.g if/else). This is useful for both understanding what dt_sugar does, as well as debugging it.
Reviewed by: markj Approved by: markj (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D38732
show more ...
|
Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0 |
|
#
a40c4ae8 |
| 07-Sep-2021 |
Mark Johnston <markj@FreeBSD.org> |
dtrace.1: Document a couple of preprocessor-related options
Suggested by: swills MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
#
13d9437a |
| 07-Sep-2021 |
Mark Johnston <markj@FreeBSD.org> |
dtrace.1: Document -x ldpath
MFC after: 1 week Sponsored by: The FreeBSD Foundation
|
Revision tags: release/13.0.0 |
|
#
7653f931 |
| 02-Apr-2021 |
Domagoj Stolfa <domagoj.stolfa@gmail.com> |
dtrace: Document the libdir, nolibs and syslibdir options
MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D29541
|
Revision tags: release/12.2.0 |
|
#
932a690c |
| 14-Jun-2020 |
Gordon Bergling <gbe@FreeBSD.org> |
Add HISTORY sections to ZFS and dtrace manpage
Reviewed by: bcr (mentor) Approved by: bcr (mentor) MFC after: 7 days Differential Revision: https://reviews.freebsd.org/D23833
|
Revision tags: release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0 |
|
#
2a22df74 |
| 04-Nov-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r339813 through r340125.
|
#
65c9ed85 |
| 31-Oct-2018 |
Yuri Pankov <yuripv@FreeBSD.org> |
dtrace(1): remove reference to dtruss that was removed from base system in r300226.
PR: 211618 Reviewed by: gnn, markj, 0mp Approved by: kib (mentor, implicit) Differential Revision: https://review
dtrace(1): remove reference to dtruss that was removed from base system in r300226.
PR: 211618 Reviewed by: gnn, markj, 0mp Approved by: kib (mentor, implicit) Differential Revision: https://reviews.freebsd.org/D17762
show more ...
|
#
3611ec60 |
| 18-Aug-2018 |
Dimitry Andric <dim@FreeBSD.org> |
Merge ^/head r337646 through r338014.
|
#
f0af0b31 |
| 16-Aug-2018 |
Mark Johnston <markj@FreeBSD.org> |
Add partial documentation for dtrace(1)'s -x configuration options.
Some options are still missing descriptions, but they can be filled in over time.
Submitted by: raichoo <raichoo@googlemail.com>
Add partial documentation for dtrace(1)'s -x configuration options.
Some options are still missing descriptions, but they can be filled in over time.
Submitted by: raichoo <raichoo@googlemail.com> Reviewed by: 0mp (previous version) MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D16671
show more ...
|
Revision tags: release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0 |
|
#
416ba5c7 |
| 22-Jun-2015 |
Navdeep Parhar <np@FreeBSD.org> |
Catch up with HEAD (r280229-r284686).
|
#
98e0ffae |
| 27-May-2015 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge sync of head
|
#
7757a1b4 |
| 03-May-2015 |
Baptiste Daroussin <bapt@FreeBSD.org> |
Merge from head
|
#
7263c8c0 |
| 22-Apr-2015 |
Glen Barber <gjb@FreeBSD.org> |
MFH: r280643-r281852
Sponsored by: The FreeBSD Foundation
|
#
7fffcb0d |
| 20-Apr-2015 |
Glen Barber <gjb@FreeBSD.org> |
MFH: r281668 through r281783
Sponsored by: The FreeBSD Foundation
|
#
b9d64941 |
| 18-Apr-2015 |
Mark Johnston <markj@FreeBSD.org> |
Add manual pages for the io, ip, proc, sched, tcp and udp DTrace providers. The format of these pages is somewhat experimental, so they may be subject to further tweaking.
Differential Revision: htt
Add manual pages for the io, ip, proc, sched, tcp and udp DTrace providers. The format of these pages is somewhat experimental, so they may be subject to further tweaking.
Differential Revision: https://reviews.freebsd.org/D2170 Reviewed by: bcr, rpaulo MFC after: 2 weeks
show more ...
|
#
9268022b |
| 19-Nov-2014 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge from head@274682
|
Revision tags: release/10.1.0 |
|
#
1ce4b357 |
| 04-Oct-2014 |
Alexander V. Chernikov <melifaro@FreeBSD.org> |
Sync to HEAD@r272516.
|
#
970388bf |
| 28-Sep-2014 |
Neel Natu <neel@FreeBSD.org> |
IFC @r272185
|
#
946497ec |
| 26-Sep-2014 |
Mark Johnston <markj@FreeBSD.org> |
Fix the description of the -h option.
Reported by: swills MFC after: 3 days
|
Revision tags: release/9.3.0 |
|
#
485ac45a |
| 04-Feb-2014 |
Peter Grehan <grehan@FreeBSD.org> |
MFC @ r259205 in preparation for some SVM updates. (for real this time)
|
Revision tags: release/10.0.0 |
|
#
0bfd163f |
| 18-Oct-2013 |
Gleb Smirnoff <glebius@FreeBSD.org> |
Merge head r233826 through r256722.
|
#
3caf0790 |
| 13-Oct-2013 |
Simon J. Gerraty <sjg@FreeBSD.org> |
Merge head@256284
|