• Home
  • Raw
  • Download

Lines Matching refs:callchain_data

537     MoveFromBinaryFormat(callchain_data.ip_nr, p);  in Parse()
538 CHECK_SIZE_U64(p, end, callchain_data.ip_nr); in Parse()
539 callchain_data.ips = reinterpret_cast<uint64_t*>(p); in Parse()
540 p += callchain_data.ip_nr * sizeof(uint64_t); in Parse()
611 callchain_data.ip_nr = ips.size(); in SampleRecord()
697 MoveToBinaryFormat(callchain_data.ip_nr, p); in SampleRecord()
698 callchain_data.ips = reinterpret_cast<uint64_t*>(p); in SampleRecord()
735 for (i = 0; i < callchain_data.ip_nr; ++i) { in ExcludeKernelCallChain()
736 if (callchain_data.ips[i] == PERF_CONTEXT_USER) { in ExcludeKernelCallChain()
740 callchain_data.ips[i] = PERF_CONTEXT_USER; in ExcludeKernelCallChain()
742 while (++i < callchain_data.ip_nr) { in ExcludeKernelCallChain()
743 if (callchain_data.ips[i] < PERF_CONTEXT_MAX) { in ExcludeKernelCallChain()
745 ip_data.ip = callchain_data.ips[i]; in ExcludeKernelCallChain()
762 for (size_t i = 0; i < callchain_data.ip_nr; ++i) { in HasUserCallChain()
763 if (in_user_context && callchain_data.ips[i] < PERF_CONTEXT_MAX) { in HasUserCallChain()
766 if (callchain_data.ips[i] == PERF_CONTEXT_USER) { in HasUserCallChain()
775 for (size_t i = 0; i < callchain_data.ip_nr; ++i) { in UpdateUserCallChain()
776 if (callchain_data.ips[i] == PERF_CONTEXT_USER) { in UpdateUserCallChain()
781 if (kernel_ip_count + 1 + user_ips.size() <= callchain_data.ip_nr) { in UpdateUserCallChain()
786 size() + (kernel_ip_count + 1 + user_ips.size() - callchain_data.ip_nr) * sizeof(uint64_t); in UpdateUserCallChain()
787 callchain_data.ip_nr = kernel_ip_count; in UpdateUserCallChain()
793 size_t callchain_pos = reinterpret_cast<char*>(callchain_data.ips) - binary_ - sizeof(uint64_t); in BuildBinaryWithNewCallChain()
833 p64 -= callchain_data.ip_nr; in BuildBinaryWithNewCallChain()
834 if (p64 != callchain_data.ips) { in BuildBinaryWithNewCallChain()
835 memcpy(p64, callchain_data.ips, callchain_data.ip_nr * sizeof(uint64_t)); in BuildBinaryWithNewCallChain()
836 callchain_data.ips = p64; in BuildBinaryWithNewCallChain()
840 callchain_data.ip_nr += 1 + ips.size(); in BuildBinaryWithNewCallChain()
841 *p64 = callchain_data.ip_nr; in BuildBinaryWithNewCallChain()
892 PrintIndented(indent, "callchain nr=%" PRIu64 "\n", callchain_data.ip_nr); in DumpData()
893 for (uint64_t i = 0; i < callchain_data.ip_nr; ++i) { in DumpData()
894 PrintIndented(indent + 1, "0x%" PRIx64 "\n", callchain_data.ips[i]); in DumpData()
953 uint64_t* ips = callchain_data.ips; in AdjustCallChainGeneratedByKernel()
957 for (size_t i = 0; i < callchain_data.ip_nr; ++i) { in AdjustCallChainGeneratedByKernel()
994 for (uint64_t i = 0; i < callchain_data.ip_nr; ++i) { in GetCallChain()
995 uint64_t ip = callchain_data.ips[i]; in GetCallChain()