trace__host
struct machine *trace__host(const struct trace *trace);
struct thread *thread = machine__findnew_thread(trace__host(trace), pid, pid);