instrumentation: Load snippets individually for trace

Only loading the necessary timing data and deferring the dump of all
snippet data into the trace file saves on memory for large traces.
2 files changed