Home
last modified time | relevance | path

Searched refs:thread_tree (Results 1 – 19 of 19) sorted by relevance

/system/extras/simpleperf/
Dsample_tree_test.cpp62 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 …]
Dreport_utils_test.cpp78 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 …]
DRecordFilter_test.cpp36 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 …]
Dlibsimpleperf_report_fuzzer.cpp73 ThreadTree thread_tree; in process() local
74 reader->LoadBuildIdAndFileFeatures(thread_tree); in process()
DRecordFilter.cpp84 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
Dcmd_report.cpp134 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()
DETMDecoder.h76 ETMThreadTree& thread_tree);
Dreport_utils.cpp210 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()
DETMDecoder.cpp184 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()
DRecordFilter.h116 RecordFilter(const ThreadTree& thread_tree);
Dreport_utils.h104 CallChainReportBuilder(ThreadTree& thread_tree);
Dcmd_record_test.cpp989 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()
Drecord_file.h190 bool LoadBuildIdAndFileFeatures(ThreadTree& thread_tree);
Dcmd_kmem.cpp110 ThreadTree* thread_tree) in SlabSampleTreeBuilder() argument
112 thread_tree_(thread_tree), in SlabSampleTreeBuilder()
Dcmd_dumprecord.cpp184 ETMThreadTreeForDumpCmd(ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in ETMThreadTreeForDumpCmd() argument
Drecord_file_reader.cpp738 bool RecordFileReader::LoadBuildIdAndFileFeatures(ThreadTree& thread_tree) { in LoadBuildIdAndFileFeatures() argument
750 if (!thread_tree.AddDsoInfo(file_feature)) { in LoadBuildIdAndFileFeatures()
Dcmd_inject.cpp207 ETMThreadTreeWithFilter(ThreadTree& thread_tree, std::optional<int>& exclude_pid) in ETMThreadTreeWithFilter() argument
208 : thread_tree_(thread_tree), exclude_pid_(exclude_pid) {} in ETMThreadTreeWithFilter()
DAndroid.bp253 "thread_tree.cpp",
Dcmd_record.cpp1990 static void LoadSymbolMapFile(int pid, const std::string& package, ThreadTree* thread_tree) { in LoadSymbolMapFile() argument
2001 thread_tree->AddSymbolsForProcess(pid, &symbols); in LoadSymbolMapFile()