proctrace-record
NAME
proctrace-record - Record the process lifecycle events from a command
SYNOPSIS
proctrace record [-b|—bpftrace-path] [—debug] [-r|—raw] [-o|—output] [-h|—help] [CMD]
DESCRIPTION
Record the process lifecycle events from a command.
Note that this uses `bpftrace` under the hood, and will try to run it with superuser priviledges (but will not run any other commands with elevated priviledges). Depending on how youve installed `bpftrace` it may not be in the PATH of the superuser. If this is the case then you can use the `—bpftrace-path` flag to specify it manually. This is likely the case if youve installed `bpftrace` via `flox` or `nix profile install`.
OPTIONS
-b, —bpftrace-path=PATH [default: bpftrace]
: The path to a `bpftrace` executable.
—debug
: Show each line of output from `bpftrace` before it goes through filtering.
-r, —raw
: Write the raw events from the `bpftrace` script instead of the processed events.
-o, —output=PATH
: Where to write the output (printed to stdout if omitted).
-h, —help
: Print help (see a summary with -h)
[CMD]
: The user-provided command that should be recorded.