profile-data: rework to include errored/completed

Also, rename processId to targetId (it may be a worker or process ID),
and time to startTime.