Reference

barectf(1)

Generate C99 code that can write native CTF packets

NAME

barectf - Generate C99 code that can write native CTF packets

SYNOPSIS

barectf COMMAND COMMAND-ARGS

DESCRIPTION

The barectf command generates C99 code, that itself can write Common Trace Format <http://diamon.org/ctf> packets natively, out of a YAML configuration input file. The full documentation of barectf is available on the project’s website <http://barectf.org>.

OPTIONS

-h, --help

Show this help and quit

-V, --version

Show version and quit

COMMANDS

gen, generate

Generate the C source and CTF metadata stream files of a tracer from a configuration file.

show-effective-configuration, show-effective-config, show-effective-cfg

Print the effective configuration file for a given configuration file and inclusion directories.

show-configuration-version, show-config-version, show-cfg-version

Print the major version of a given configuration file.

Run `barectf COMMAND --help` to show the help of COMMAND.

History

-V since Debian 12 (Bookworm).

--code-dir until Debian 11 (Bullseye); --dump-config until Debian 11 (Bullseye); --headers-dir until Debian 11 (Bullseye); --ignore-include-not-found until Debian 11 (Bullseye); --include-dir until Debian 11 (Bullseye); --metadata-dir until Debian 11 (Bullseye); --prefix until Debian 11 (Bullseye); -H until Debian 11 (Bullseye); -I until Debian 11 (Bullseye); -c until Debian 11 (Bullseye); -m until Debian 11 (Bullseye); -p until Debian 11 (Bullseye).