et_viewer(3erl) | Erlang Module Definition | et_viewer(3erl) |
et_viewer - Displays a sequence chart for trace events (messages/actions)
file(FileName) -> {ok, ViewerPid} | {error, Reason}
Types:
Start a new event viewer and a corresponding collector and load them with trace events from a trace file.
start() -> ok
Simplified start of a sequence chart viewer with global tracing activated.
Convenient to be used from the command line (erl -s et_viewer).
start(Options) -> ok
Start of a sequence chart viewer without linking to the parent process.
start_link(Options) -> {ok, ViewerPid} | {error, Reason}
Types:
filter_name() = atom()
filter_fun() = fun(Event) -> false | true | {true, NewEvent}
Event = NewEvent = record(event)
ViewerPid = pid()
Reason = term()
Start a sequence chart viewer for trace events (messages/actions)
A filter_fun() takes an event record as sole argument and returns false | true | {true, NewEvent}.
If the collector_pid is undefined a new et_collector will be started with the following parameter settings: parent_pid, event_order, trace_global, trace_pattern, trace_port, trace_max_queue, trace_client, dict_insert and dict_delete. The new et_viewer will register itself as an et_collector subscriber.
Default values:
get_collector_pid(ViewerPid) -> CollectorPid
Types:
Returns the identifier of the collector process.
stop(ViewerPid) -> ok
Types:
Stops a viewer process.
et 1.6.5 | Ericsson AB |