BARECTF(1) | barectf manual | BARECTF(1) |
barectf - Generate C99 code that can write native CTF packets
barectf [--prefix=PREFIX] [--dump-config]
[--code-dir=PATH] [--headers-dir=PATH] [--metadata-dir=PATH]
[-I PATH]... [--ignore-include-not-found] CONFIG
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 CONFIG. The full documentation of barectf is available on the project’s website <http://barectf.org>.
A prefix is used to scope the generated file names, as well as the generated function names, macro names, structure names, and so on. By default, this prefix is barectf_. It can be overridden by the configuration file, and ultimately by the --prefix option.
By default, all generated C and CTF metadata files are written to the current working directory. The --code-dir, --headers-dir, and --metadata-dir options are used to control where the generated files should go.
You can add directories to be searched into for inclusion files, before the default search directories, by using the -I option one or more times.
By default, if an inclusion file is not found while processing the configuration file CONFIG, an error is emitted. You can instruct barectf to continue silently instead by providing the --ignore-include-not-found option.
To view the effective YAML configuration file used for generating the C and CTF metadata files, after having processed all inclusion files, use the --dump-config option.
-c PATH, --code-dir=PATH
--dump-config
-H PATH, --headers-dir=PATH
--ignore-include-not-found
-I PATH, --include-dir=PATH
-m PATH, --metadata-dir=PATH
-p PREFIX, --prefix=PREFIX
-h, --help
--version
0
Not 0
Please report any bug or usability issue as a GitHub issue <https://github.com/efficios/barectf/issues>.
Copyright (c) 2014-2016 Philippe Proulx <mailto:pproulx@efficios.com>.
barectf is distributed under the MIT License <https://github.com/efficios/barectf/blob/master/LICENSE>.
barectf was originally written by and is maintained by, as of this version, Philippe Proulx <mailto:pproulx@efficios.com>. Other, nice people have since contributed to the project.
barectf is supported by EfficiOS <http://www.efficios.com/>.
11/15/2016 | barectf 2.2.1 |