Home
last modified time | relevance | path

Searched refs:thread_tree (Results 1 – 14 of 14) 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.cpp34 thread_tree.SetThreadName(1, 1, "thread1"); in SetUp()
35 thread = thread_tree.FindThread(1); in SetUp()
46 thread_tree.AddDsoInfo(file); in SetUp()
57 thread_tree.AddDsoInfo(file); in SetUp()
68 thread_tree.AddDsoInfo(file); in SetUp()
79 thread_tree.AddDsoInfo(file); in SetUp()
86 thread_tree.AddThreadMap(1, 1, 0x0, 0x1000, 0x0, fake_native_lib_path); in SetUp()
87 thread_tree.AddThreadMap(1, 1, 0x1000, 0x1000, 0x0, fake_interpreter_path); in SetUp()
88 thread_tree.AddThreadMap(1, 1, 0x2000, 0x1000, 0x0, fake_dex_file_path); in SetUp()
89 thread_tree.AddThreadMap(1, 1, 0x3000, 0x1000, 0x0, fake_jit_cache_path, in SetUp()
[all …]
DRecordFilter_test.cpp31 RecordFilterTest() : filter(thread_tree) {} in RecordFilterTest()
46 ThreadTree thread_tree; member in RecordFilterTest
70 thread_tree.SetThreadName(1, 1, "processA1"); in TEST_F()
71 thread_tree.SetThreadName(2, 2, "processB1"); in TEST_F()
78 thread_tree.SetThreadName(1, 1, "processA_threadA"); in TEST_F()
79 thread_tree.SetThreadName(1, 2, "processA_threadB"); in TEST_F()
108 thread_tree.SetThreadName(1, 1, "processA1"); in TEST_F()
109 thread_tree.SetThreadName(2, 2, "processB1"); in TEST_F()
116 thread_tree.SetThreadName(1, 1, "processA_threadA"); in TEST_F()
117 thread_tree.SetThreadName(1, 2, "processA_threadB"); in TEST_F()
Dreport_utils.h51 CallChainReportBuilder(ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in CallChainReportBuilder() argument
DRecordFilter.h64 RecordFilter(const ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in RecordFilter() argument
Dcmd_report.cpp121 ThreadTree* thread_tree) in ReportCmdSampleTreeBuilder() argument
123 thread_tree_(thread_tree), in ReportCmdSampleTreeBuilder()
273 ThreadTree* thread_tree) in EventCountSampleTreeBuilder() argument
274 : ReportCmdSampleTreeBuilder(sample_comparator, thread_tree) {} in EventCountSampleTreeBuilder()
284 ThreadTree* thread_tree) in TimestampSampleTreeBuilder() argument
285 : ReportCmdSampleTreeBuilder(sample_comparator, thread_tree) {} in TimestampSampleTreeBuilder()
316 ThreadTree* thread_tree; member
332 builder.reset(new TimestampSampleTreeBuilder(comparator, thread_tree)); in CreateSampleTreeBuilder()
334 builder.reset(new EventCountSampleTreeBuilder(comparator, thread_tree)); in CreateSampleTreeBuilder()
739 sample_tree_builder_options_.thread_tree = &thread_tree_; in BuildSampleComparatorAndDisplayer()
DETMDecoder.h67 ThreadTree& thread_tree);
DETMDecoder.cpp173 MapLocator(ThreadTree& thread_tree) in MapLocator() argument
174 : PacketCallback(PacketCallback::MAP_LOCATOR), thread_tree_(thread_tree) {} in MapLocator()
628 ETMDecoderImpl(ThreadTree& thread_tree) : thread_tree_(thread_tree) {} in ETMDecoderImpl() argument
779 ThreadTree& thread_tree) { in Create() argument
780 auto decoder = std::make_unique<ETMDecoderImpl>(thread_tree); in Create()
Dcmd_record_test.cpp862 ThreadTree thread_tree; in TEST() local
865 const MapEntry* map = thread_tree.FindMap(thread, ip, false); in TEST()
866 const Symbol* symbol = thread_tree.FindSymbol(map, ip, nullptr, nullptr); in TEST()
873 thread_tree.Update(*r); in TEST()
876 ThreadEntry* thread = thread_tree.FindThreadOrNew(sample->tid_data.pid, sample->tid_data.tid); in TEST()
Drecord_file.h184 void LoadBuildIdAndFileFeatures(ThreadTree& thread_tree);
Dcmd_kmem.cpp110 ThreadTree* thread_tree) in SlabSampleTreeBuilder() argument
112 thread_tree_(thread_tree), in SlabSampleTreeBuilder()
Drecord_file_reader.cpp591 void RecordFileReader::LoadBuildIdAndFileFeatures(ThreadTree& thread_tree) { in LoadBuildIdAndFileFeatures() argument
603 thread_tree.AddDsoInfo(file_feature); in LoadBuildIdAndFileFeatures()
DAndroid.bp232 "thread_tree.cpp",
Dcmd_record.cpp1730 static void LoadSymbolMapFile(int pid, const std::string& package, ThreadTree* thread_tree) { in LoadSymbolMapFile() argument
1741 thread_tree->AddSymbolsForProcess(pid, &symbols); in LoadSymbolMapFile()