Lines Matching defs:pid
34 // Kernel MMAP entry pid appears as -1
141 // Pid 0 is called the swapper process. Even though perf does not record a
142 // COMM event for pid 0, we act like we did receive a COMM event for it. Perf
192 << " -> " << event.fork.pid << ":" << event.fork.tid;
202 VLOG(1) << "COMM: " << event.comm.pid << ":" << event.comm.tid << ": "
207 pidtid_to_comm_map_[std::make_pair(event.comm.pid, event.comm.tid)] =
257 PidTid pidtid = std::make_pair(sample_info.pid, sample_info.tid);
267 sample_info.pid,
275 sample_info.pid,
283 !MapBranchStack(sample_info.pid,
301 const uint32_t pid,
332 pid,
345 bool PerfParser::MapBranchStack(const uint32_t pid,
381 pid,
387 pid,
407 uint32_t pid,
418 // time to create an address mapper for a process. Example, for pid 0.
419 AddressMapper* mapper = GetOrCreateProcessMapper(pid).first;
460 uint32_t pid,
469 (pid == kKernelPid ? kernel_mapper_.get() :
470 GetOrCreateProcessMapper(pid).first);
530 uint32_t pid, uint32_t *ppid) {
531 const auto& search = process_mappers_.find(pid);
544 process_mappers_.insert(search, std::make_pair(pid, std::move(mapper)));
549 GetOrCreateProcessMapper(event.pid);
555 PidTid child = std::make_pair(event.pid, event.tid);
561 const uint32_t pid = event.pid;
565 if (event.ppid == pid)
569 if (!GetOrCreateProcessMapper(pid, &ppid).second) {
570 DLOG(INFO) << "Found an existing process mapper with pid: " << pid;