Lines Matching defs:ip
92 // Find the MMAP event which has ip in its address range from pid. If no
94 const PerfDataHandler::Mapping* TryLookupInPid(uint32 pid, uint64 ip) const;
96 // Find the mapping for a given ip given a pid context (in user or kernel
99 uint64 ip) const;
247 context.sample_mapping = GetMappingFromPidAndIP(pid, sample.ip());
277 context.callchain[i].ip = sample.callchain(i);
289 context.branch_stack[i].from.ip = bse.from_ip();
295 context.branch_stack[i].to.ip = bse.to_ip();
427 ip) const {
436 mmaps->Lookup(ip, &mapping);
440 // Find the mapping for ip in the context of pid. We might be looking
441 // at a kernel IP, however (which can show up in any pid, and are
445 uint32 pid, uint64 ip) const {
446 if (ip >= PERF_CONTEXT_MAX) {
460 const PerfDataHandler::Mapping* mapping = TryLookupInPid(pid, ip);
463 mapping = TryLookupInPid(-1, ip);
466 VLOG(2) << "no sample mmap found for pid " << pid << " and ip " << ip;
469 if (ip < mapping->start || ip >= mapping->limit) {
470 std::cerr << "IP is not in mapping." << std::endl
471 << "IP: " << ip << std::endl