Behaviours: eflambe_output_formatter.
Writes trace data to file formatted as Brendan Gregg's collapsed stack format.
See https://github.com/brendangregg/FlameGraph/blob/master/stackcollapse.pl
This file was heavily inspired by https://github.com/proger/eflame/blob/master/src/eflame.erlextension/0 | |
finalize/2 | This callback exists so the implementation module can finalize processing of the trace data. |
handle_trace_event/2 | This callback exists so the implementation module can process each individual trace event. |
init/2 | This callback exists so the implementation can initialize its own internal state. |
extension() -> any()
finalize(Options, State) -> any()
This callback exists so the implementation module can finalize processing of the trace data. For example, any last minute formatting or flushing of data in state to disk.
handle_trace_event(Trace, State) -> any()
This callback exists so the implementation module can process each individual trace event.
init(Filename, Options) -> any()
This callback exists so the implementation can initialize its own internal state. This may be useful for opening files, etc...
Generated by EDoc