mirror of
https://github.com/freebsd/freebsd-src
synced 2024-11-05 18:22:52 +00:00
93f27766a7
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 |
||
---|---|---|
.. | ||
atf.test.mk | ||
auto.obj.mk | ||
bsd.arch.inc.mk | ||
bsd.clang-analyze.mk | ||
bsd.compat.mk | ||
bsd.compat.pre.mk | ||
bsd.compiler.mk | ||
bsd.confs.mk | ||
bsd.cpu.mk | ||
bsd.crunchgen.mk | ||
bsd.dep.mk | ||
bsd.dirs.mk | ||
bsd.doc.mk | ||
bsd.dtb.mk | ||
bsd.endian.mk | ||
bsd.files.mk | ||
bsd.incs.mk | ||
bsd.info.mk | ||
bsd.init.mk | ||
bsd.kmod.mk | ||
bsd.lib.mk | ||
bsd.libnames.mk | ||
bsd.linker.mk | ||
bsd.links.mk | ||
bsd.man.mk | ||
bsd.mkopt.mk | ||
bsd.nls.mk | ||
bsd.obj.mk | ||
bsd.opts.mk | ||
bsd.own.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.prog.mk | ||
bsd.progs.mk | ||
bsd.README | ||
bsd.sanitizer.mk | ||
bsd.snmpmod.mk | ||
bsd.subdir.mk | ||
bsd.suffixes-posix.mk | ||
bsd.suffixes.mk | ||
bsd.symver.mk | ||
bsd.sys.mk | ||
bsd.sysdir.mk | ||
bsd.test.mk | ||
dirdeps-options.mk | ||
dirdeps-targets.mk | ||
dirdeps.mk | ||
gendirdeps.mk | ||
googletest.test.inc.mk | ||
googletest.test.mk | ||
host-target.mk | ||
install-new.mk | ||
jobs.mk | ||
kmod.opts.mk | ||
local.autodep.mk | ||
local.dirdeps-options.mk | ||
local.dirdeps.mk | ||
local.gendirdeps.mk | ||
local.init.mk | ||
local.meta.sys.env.mk | ||
local.sys.dirdeps.env.mk | ||
local.sys.dirdeps.mk | ||
local.sys.env.mk | ||
local.sys.machine.mk | ||
local.sys.mk | ||
Makefile | ||
meta.autodep.mk | ||
meta.stage.mk | ||
meta.subdir.mk | ||
meta.sys.mk | ||
meta2deps.py | ||
meta2deps.sh | ||
netbsd-tests.test.mk | ||
plain.test.mk | ||
src.init.linux.mk | ||
src.init.mk | ||
src.libnames.mk | ||
src.lua.mk | ||
src.opts.mk | ||
src.sys.env.mk | ||
src.sys.mk | ||
src.sys.obj.mk | ||
src.tools.mk | ||
stage-install.sh | ||
suite.test.mk | ||
sys.dependfile.mk | ||
sys.dirdeps.mk | ||
sys.mk | ||
tap.test.mk | ||
version_gen.awk |