|
NAMEintercept - intercept command executions in user space.SYNOPSISintercept [options] -- [build command]DESCRIPTIONThe command executes the given build command and generates an output file which contains all process execution related events has happened during the build.The process execution events are: start, signal, termination. The output will contain only the child processes. Depending on the interception mode the output might only contain a subset of the executed commands. Interception modes are:
The reports are collected by the intercept over a gRPC interface, and written into an output file. OPTIONS
EXIT STATUSThe exit status of the program is the exit status of the build command. Except when the program itself crashes, then it sets to non zero.OUTPUT FILEThe output file has JSON lines (https://jsonlines.org/) format, where each line terminated with \n line separator and each line is a JSON object.The JSON objects are process execution events: process start, process got signal, process terminated. (For the schema of these events, please consult with the source code of this project.) TROUBLESHOOTINGThe potential problems you can face with are: the build with and without the interception behaves differently (eg.: the build crash with the intercept tool, but succeed otherwise). The output is empty, and it failed to intercept the children process execution by the build command.The most common cause for empty outputs is that the build command did not execute any commands. The reason for that could be, because incremental builds not running the compilers if everything is up-to-date. Remember, intercept does not understand the build file (eg.: makefile), but intercepts the executed commands. There could be many reasons for any of these failures. It’s better to consult with the project wiki page for known problems, before open a bug report. SEE ALSObear(1)COPYRIGHTCopyright (C) 2012-2022 by László Nagy <https://github.com/rizsotto/Bear>AUTHORSLászló Nagy.
Visit the GSP FreeBSD Man Page Interface. |