modulepackage
0.0.0-20191008163712-4f0105f93d7c
Repository: https://github.com/backtrace-labs/go-bcd.git
Documentation: pkg.go.dev
# README
bcd
-- import "github.com/backtrace-labs/go-bcd"
Package bcd provides integration with out of process tracers. Using the provided Tracer interface, applications may invoke tracer execution on demand. Panic and signal handling integrations are provided.
The Tracer interface is generic and will support any out of process tracer implementing it. A default Tracer implementation, which uses the Backtrace I/O platform, is provided.
Usage
See the godoc page for current documentation; see this for an example application.
# Packages
No description provided by the author
# Functions
Append to an option with given prefix.
Call this function to allow other (non-parent) processes to trace this one.
Returns a new object implementing the bcd.Tracer and bcd.TracerSig interfaces using the Backtrace debugging platform.
Establishes a panic handler that will execute the specified Tracer in response.
Registers a signal handler to execute the specified Tracer upon receipt of any signal in the set specified by TracerSig.Sigset().
Executes the specified Tracer on the current process.
Stops the specified TracerSig from handling any signals it was previously registered to handle via bcd.Register().
Update global Tracer configuration.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Options determining actions taken during Tracer execution.
# Type aliases
No description provided by the author