Build thread/process graph from Linux trace.