• Home
  • Raw
  • Download

Lines Matching refs:ips

458     callchain_data.ips = reinterpret_cast<uint64_t*>(p);  in SampleRecord()
503 const std::vector<uint64_t>& ips, const std::vector<char>& stack, in SampleRecord() argument
519 callchain_data.ip_nr = ips.size(); in SampleRecord()
548 size += sizeof(uint64_t) * (ips.size() + 1); in SampleRecord()
581 callchain_data.ips = reinterpret_cast<uint64_t*>(p); in SampleRecord()
582 MoveToBinaryFormat(ips.data(), ips.size(), p); in SampleRecord()
599 void SampleRecord::ReplaceRegAndStackWithCallChain(const std::vector<uint64_t>& ips) { in ReplaceRegAndStackWithCallChain() argument
600 uint32_t size_added_in_callchain = sizeof(uint64_t) * (ips.size() + 1); in ReplaceRegAndStackWithCallChain()
604 BuildBinaryWithNewCallChain(new_size, ips); in ReplaceRegAndStackWithCallChain()
613 if (callchain_data.ips[i] == PERF_CONTEXT_USER) { in ExcludeKernelCallChain()
617 callchain_data.ips[i] = PERF_CONTEXT_USER; in ExcludeKernelCallChain()
620 if (callchain_data.ips[i] < PERF_CONTEXT_MAX) { in ExcludeKernelCallChain()
622 ip_data.ip = callchain_data.ips[i]; in ExcludeKernelCallChain()
640 if (in_user_context && callchain_data.ips[i] < PERF_CONTEXT_MAX) { in HasUserCallChain()
643 if (callchain_data.ips[i] == PERF_CONTEXT_USER) { in HasUserCallChain()
653 if (callchain_data.ips[i] == PERF_CONTEXT_USER) { in UpdateUserCallChain()
669 const std::vector<uint64_t>& ips) { in BuildBinaryWithNewCallChain() argument
670 size_t callchain_pos = reinterpret_cast<char*>(callchain_data.ips) - binary_ - sizeof(uint64_t); in BuildBinaryWithNewCallChain()
705 p64 -= ips.size(); in BuildBinaryWithNewCallChain()
706 memcpy(p64, ips.data(), ips.size() * sizeof(uint64_t)); in BuildBinaryWithNewCallChain()
710 memcpy(p64, callchain_data.ips, callchain_data.ip_nr * sizeof(uint64_t)); in BuildBinaryWithNewCallChain()
712 callchain_data.ips = p64; in BuildBinaryWithNewCallChain()
713 callchain_data.ip_nr += 1 + ips.size(); in BuildBinaryWithNewCallChain()
751 PrintIndented(indent + 1, "0x%" PRIx64 "\n", callchain_data.ips[i]); in DumpData()
806 uint64_t* ips = callchain_data.ips; in AdjustCallChainGeneratedByKernel() local
811 if (ips[i] < PERF_CONTEXT_MAX) { in AdjustCallChainGeneratedByKernel()
815 if (ips[i] < 2) { in AdjustCallChainGeneratedByKernel()
817 ips[i] = context; in AdjustCallChainGeneratedByKernel()
826 ips[i] -= 2; in AdjustCallChainGeneratedByKernel()
828 ips[i]--; in AdjustCallChainGeneratedByKernel()
833 context = ips[i]; in AdjustCallChainGeneratedByKernel()
839 std::vector<uint64_t> ips; in GetCallChain() local
841 ips.push_back(ip_data.ip); in GetCallChain()
844 return ips; in GetCallChain()
848 uint64_t ip = callchain_data.ips[i]; in GetCallChain()
868 ips.push_back(ip); in GetCallChain()
874 return ips; in GetCallChain()
1080 ips = reinterpret_cast<uint64_t*>(p); in CallChainRecord()
1088 uint64_t time, const std::vector<uint64_t>& ips, in CallChainRecord() argument
1090 CHECK_EQ(ips.size(), sps.size()); in CallChainRecord()
1096 this->ip_nr = ips.size(); in CallChainRecord()
1097 SetSize(header_size() + (4 + ips.size() * 2) * sizeof(uint64_t)); in CallChainRecord()
1106 this->ips = reinterpret_cast<uint64_t*>(p); in CallChainRecord()
1107 MoveToBinaryFormat(ips.data(), ips.size(), p); in CallChainRecord()
1127 PrintIndented(indent + 1, "ip 0x%" PRIx64 ", sp 0x%" PRIx64 "\n", ips[i], sps[i]); in DumpData()