EflambeLive (eflambe_live v0.1.0)
Public API for EflambeLive. This API mirrors the API provided by :eflambe.
Link to this section Summary
Functions
Invoke a function and render a flamegraph of the function execution callstack.
"Capture" an invocation of a function anywhere on the Erlang node and render a flamegraph of the function execution callstack.
Link to this section Functions
apply(function_and_args, options \\ [])
Invoke a function and render a flamegraph of the function execution callstack.
The function and args must be specified as a {fun, args} tuple or a {module, fun, args} tuple.
The function will be invoked by livebook and the flamegraph will be displayed
in the cell below the code cell containing the apply/2 call as an SVG
image.
capture(mfa, num_calls, options \\ [])
"Capture" an invocation of a function anywhere on the Erlang node and render a flamegraph of the function execution callstack.
The function as a {module, function, arity} tuple.
This function will not return until the function you are "capturing" is
invoked. When the function returns a flamegraph will be displayed in the
cell below the code cell containing the apply/2 call as an SVG image.