Add support for custom trace analysis using callbacks
Created by: cobrien7
Some trace analysis tasks are most easily expressed by iterating over events in chronological order. Add a runCustomAnalysis() method to the Trace class that will run user-defined functions on trace events in the order they occurred.
Signed-off-by: Connor O'Brien connoro@google.com