/system/extras/simpleperf/ |
D | sample_tree_test.cpp | 62 explicit TestSampleTreeBuilder(ThreadTree* thread_tree) in TestSampleTreeBuilder() argument 63 : SampleTreeBuilder(TestSampleComparator()), thread_tree_(thread_tree) {} in TestSampleTreeBuilder() 117 thread_tree.SetThreadName(1, 1, "p1t1"); in SetUp() 118 thread_tree.SetThreadName(1, 11, "p1t11"); in SetUp() 119 thread_tree.SetThreadName(2, 2, "p2t2"); in SetUp() 120 thread_tree.AddThreadMap(1, 1, 1, 5, 0, "process1_thread1"); in SetUp() 121 thread_tree.AddThreadMap(1, 11, 6, 5, 0, "process1_thread1_map2"); in SetUp() 122 thread_tree.AddThreadMap(2, 2, 1, 20, 0, "process2_thread2"); in SetUp() 123 thread_tree.AddKernelMap(10, 20, 0, "kernel"); in SetUp() 124 sample_tree_builder.reset(new TestSampleTreeBuilder(&thread_tree)); in SetUp() [all …]
|
D | report_utils_test.cpp | 78 thread_tree.SetThreadName(1, 1, "thread1"); in SetUp() 79 thread = thread_tree.FindThread(1); in SetUp() 120 thread_tree.AddThreadMap(1, 1, 0x0, 0x1000, 0x0, fake_native_lib_path); in SetUp() 121 thread_tree.AddThreadMap(1, 1, 0x1000, 0x1000, 0x0, fake_interpreter_path); in SetUp() 122 thread_tree.AddThreadMap(1, 1, 0x2000, 0x1000, 0x0, fake_dex_file_path); in SetUp() 123 thread_tree.AddThreadMap(1, 1, 0x3000, 0x1000, 0x0, fake_jit_cache_path, in SetUp() 133 thread_tree.AddDsoInfo(file); in SetSymbols() 136 ThreadTree thread_tree; member in CallChainReportBuilderTest 160 CallChainReportBuilder builder(thread_tree); in TEST_F() 180 CallChainReportBuilder builder(thread_tree); in TEST_F() [all …]
|
D | RecordFilter_test.cpp | 36 RecordFilterTest() : filter(thread_tree) {} in RecordFilterTest() 56 ThreadTree thread_tree; member in RecordFilterTest 94 thread_tree.SetThreadName(1, 1, "processA1"); in TEST_F() 95 thread_tree.SetThreadName(2, 2, "processB1"); in TEST_F() 103 thread_tree.SetThreadName(1, 1, "processA_threadA"); in TEST_F() 104 thread_tree.SetThreadName(1, 2, "processA_threadB"); in TEST_F() 140 thread_tree.SetThreadName(1, 1, "processA1"); in TEST_F() 141 thread_tree.SetThreadName(2, 2, "processB1"); in TEST_F() 149 thread_tree.SetThreadName(1, 1, "processA_threadA"); in TEST_F() 150 thread_tree.SetThreadName(1, 2, "processA_threadB"); in TEST_F() [all …]
|
D | libsimpleperf_report_fuzzer.cpp | 73 ThreadTree thread_tree; in process() local 74 reader->LoadBuildIdAndFileFeatures(thread_tree); in process()
|
D | RecordFilter.cpp | 84 ProcessNameFilter(const ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in ProcessNameFilter() argument 115 ThreadNameFilter(const ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in ThreadNameFilter() argument 390 RecordFilter::RecordFilter(const ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in RecordFilter() argument
|
D | cmd_report.cpp | 134 ThreadTree* thread_tree, in ReportCmdSampleTreeBuilder() argument 137 thread_tree_(thread_tree), in ReportCmdSampleTreeBuilder() 314 ThreadTree* thread_tree, in EventCountSampleTreeBuilder() argument 316 : ReportCmdSampleTreeBuilder(sample_comparator, thread_tree, event_id_to_attr_index) {} in EventCountSampleTreeBuilder() 326 ThreadTree* thread_tree, in TimestampSampleTreeBuilder() argument 328 : ReportCmdSampleTreeBuilder(sample_comparator, thread_tree, event_id_to_attr_index) {} in TimestampSampleTreeBuilder() 359 ThreadTree* thread_tree; member 374 builder.reset(new TimestampSampleTreeBuilder(comparator, thread_tree, reader.EventIdMap())); in CreateSampleTreeBuilder() 376 builder.reset(new EventCountSampleTreeBuilder(comparator, thread_tree, reader.EventIdMap())); in CreateSampleTreeBuilder() 841 sample_tree_builder_options_.thread_tree = &thread_tree_; in BuildSampleComparatorAndDisplayer()
|
D | ETMDecoder.h | 76 ETMThreadTree& thread_tree);
|
D | report_utils.cpp | 210 JITFrameConverter(const ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in JITFrameConverter() argument 347 CallChainReportBuilder::CallChainReportBuilder(ThreadTree& thread_tree) in CallChainReportBuilder() argument 348 : thread_tree_(thread_tree) { in CallChainReportBuilder()
|
D | ETMDecoder.cpp | 184 MapLocator(ETMThreadTree& thread_tree) in MapLocator() argument 185 : PacketCallback(PacketCallback::MAP_LOCATOR), thread_tree_(thread_tree) {} in MapLocator() 655 ETMDecoderImpl(ETMThreadTree& thread_tree) : thread_tree_(thread_tree) { in ETMDecoderImpl() argument 658 thread_tree.DisableThreadExitRecords(); in ETMDecoderImpl() 850 ETMThreadTree& thread_tree) { in Create() argument 851 auto decoder = std::make_unique<ETMDecoderImpl>(thread_tree); in Create()
|
D | RecordFilter.h | 116 RecordFilter(const ThreadTree& thread_tree);
|
D | report_utils.h | 104 CallChainReportBuilder(ThreadTree& thread_tree);
|
D | cmd_record_test.cpp | 989 ThreadTree thread_tree; in TEST() local 990 ASSERT_TRUE(reader->LoadBuildIdAndFileFeatures(thread_tree)); in TEST() 993 const MapEntry* map = thread_tree.FindMap(thread, ip, false); in TEST() 994 const Symbol* symbol = thread_tree.FindSymbol(map, ip, nullptr, nullptr); in TEST() 1001 thread_tree.Update(*r); in TEST() 1004 ThreadEntry* thread = thread_tree.FindThreadOrNew(sample->tid_data.pid, sample->tid_data.tid); in TEST() 1022 if (const MapEntry* map = thread_tree.FindMap(thread, ips[i + 1], false); in TEST()
|
D | record_file.h | 190 bool LoadBuildIdAndFileFeatures(ThreadTree& thread_tree);
|
D | cmd_kmem.cpp | 110 ThreadTree* thread_tree) in SlabSampleTreeBuilder() argument 112 thread_tree_(thread_tree), in SlabSampleTreeBuilder()
|
D | cmd_dumprecord.cpp | 184 ETMThreadTreeForDumpCmd(ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in ETMThreadTreeForDumpCmd() argument
|
D | record_file_reader.cpp | 738 bool RecordFileReader::LoadBuildIdAndFileFeatures(ThreadTree& thread_tree) { in LoadBuildIdAndFileFeatures() argument 750 if (!thread_tree.AddDsoInfo(file_feature)) { in LoadBuildIdAndFileFeatures()
|
D | cmd_inject.cpp | 207 ETMThreadTreeWithFilter(ThreadTree& thread_tree, std::optional<int>& exclude_pid) in ETMThreadTreeWithFilter() argument 208 : thread_tree_(thread_tree), exclude_pid_(exclude_pid) {} in ETMThreadTreeWithFilter()
|
D | Android.bp | 253 "thread_tree.cpp",
|
D | cmd_record.cpp | 1990 static void LoadSymbolMapFile(int pid, const std::string& package, ThreadTree* thread_tree) { in LoadSymbolMapFile() argument 2001 thread_tree->AddSymbolsForProcess(pid, &symbols); in LoadSymbolMapFile()
|