OpenBSD manual page server

Manual Page Search Parameters

BTRACE(8) System Manager's Manual BTRACE(8)

btracebug tracer

btrace [-lnv] [-e program | file] [-p file] [argument ...]

The btrace utility provides an interface to inspect the internals of the system and programs. It interprets the bt(5) program in file and communicates with the dynamic tracer device using the interface described in dt(4).

The options are as follows:

program
Execute program.
List all available probes.
No action. Parse the program and then exit.
file
Load symbols from file to convert ustack addresses into function names.
Verbose mode. Causes btrace to print debugging messages. Multiple -v options increase the verbosity. The maximum is 2.

/usr/share/btrace/*
collection of useful btrace programs

The btrace utility exits 0 on success, and >0 if an error occurs.

dt(4), bt(5)

The btrace utility first appeared in OpenBSD 6.7.

Martin Pieuchot <mpi@openbsd.org>

September 15, 2023 OpenBSD-current