Lines Matching refs:pid
73 int pid = base->getId();
78 stack->getGlobalTime(time), pid, stackLevel,
82 FunctionStack *fstack = dmtrace_stack[pid];
85 dmtrace_stack[pid] = fstack;
89 thread_time[pid] = time;
90 dmtrace->addFunctionEntry(function->id, time, pid);
95 int pid = base->getId();
100 stack->getGlobalTime(time), pid, stackLevel,
104 FunctionStack *fstack = dmtrace_stack[pid];
107 dmtrace_stack[pid] = fstack;
112 fprintf(stderr, "Error: q2dm function mismatch at time %llu pid %d sym %s\n",
113 stack->getGlobalTime(time), pid, sym->name);
118 thread_time[pid] = time;
119 dmtrace->addFunctionExit(function->id, time, pid);
179 event.time, event.pid, function->name);
200 pStack = stacks[event.pid];
204 pStack = stacks[event.pid];
209 pStack = new CallStackType(event.pid, kNumStackFrames, trace);
210 stacks[event.pid] = pStack;
211 const char *name = trace->GetProcessName(event.pid);
212 dmtrace->addThread(event.pid, name);
260 // Read the pid events to find the names of the processes
266 dmtrace->updateName(pid_event.pid, pid_event.path);