EventSource defines anything that can return tracing events.
| 15 | // EventSource defines anything that can |
| 16 | // return tracing events. |
| 17 | type EventSource interface { |
| 18 | Events() ([]*trace.Event, error) |
| 19 | } |
| 20 | |
| 21 | // TraceSource implements EventSource for |
| 22 | // pre-made trace file |