tracer v0.1.1 API Reference

Modules

Tracer is a tracing framework for elixir which features an easy to use high level interface, extensibility and safety for using in production

Tracer manages a tracing session

Tracer Application

Manages a Probe’s clause

Collects samples in a map

Defines a generic event

Defines a call event

Defines an in event

Defines an out event

Defines a return_from event

Defines an return_to event

HandlerAgent takes care of starting and stopping traces in the NUT (node under test), as well as watching over the event handler as it processes events

Helper Macros

Matcher translate an elixir expression to a tracing matchspec

PidHandler is the process consumer handler of trace events It passes them to the event_callback once received

Probe manages a single probe

Helper functions to manage and validate a set of probes

Implements helper functions to find OTP process hierarchy

Orchestrates the tracing session

Supervises Tracer.Server

Module that is used by all Tool implementations

Reports duration type traces

Event generated by the CallSeq tool

Reports count type traces

Event generated by the Count tool

Reports display type tracing

Reports duration type traces

Event generated by the DurationTool

This tool generates a flame graph

Helper functions for developing tools

The ToolServer module has a process that receives the events from the pid_handler and reports the events