Implements an off-line logfile merger, merging binary trace-log files from several nodes together in chronological order. The logfile merger can also do pid-to-alias translations.
The logfile merger is supposed to be called from the Erlang shell or a higher layer trace tool. For it to work, all logfiles and trace information files (containing the pid-alias associations) must be located in the file system accessible from this node and organized according to the API description.
The logfile merger starts a process, the output process, which in its turn starts one reader process for every node it shall merge logfiles from. Note that the reason for a process for each node is not remote communication, the logfile merger is an off-line utility, it is to sort the logfile entries in chronological order.
The logfile merger can be customized both when it comes to the implementation of the reader processes and the output the output process shall generate for every logfile entry.
Merges the logfiles in
Returns
When specifying
Note that (when using the standard reader process) it is possible to give a list of
The output process is customized with
Currently the standard reader can only handle one ti-file (per
The standard reader process is implemented in the module
Writing a reader process is not that difficult. It must:
The reader process must of course understand the format of a logfile written by the runtime component.