Home
last modified time | relevance | path

Searched refs:Symbol (Results 1 – 17 of 17) sorted by relevance

/system/extras/simpleperf/
Ddso.h30 struct Symbol { struct
35 Symbol(const std::string& name, uint64_t addr, uint64_t len); argument
52 static bool CompareByDumpId(const Symbol* s1, const Symbol* s2) { in CompareByDumpId() argument
60 static bool CompareByAddr(const Symbol* s1, const Symbol* s2) { in CompareByAddr() argument
64 static bool CompareValueByAddr(const Symbol& s1, const Symbol& s2) { in CompareValueByAddr() argument
131 uint32_t CreateSymbolDumpId(const Symbol* symbol);
137 const Symbol* FindSymbol(uint64_t vaddr_in_dso);
139 const std::vector<Symbol>& GetSymbols();
140 void SetSymbols(std::vector<Symbol>* symbols);
177 std::vector<Symbol> symbols_;
[all …]
Ddso.cpp36 Symbol::Symbol(const std::string& name, uint64_t addr, uint64_t len) in Symbol() function in Symbol
43 const char* Symbol::DemangledName() const { in DemangledName()
208 uint32_t Dso::CreateSymbolDumpId(const Symbol* symbol) { in CreateSymbolDumpId()
214 const Symbol* Dso::FindSymbol(uint64_t vaddr_in_dso) { in FindSymbol()
220 Symbol("", vaddr_in_dso, 0), in FindSymbol()
221 Symbol::CompareValueByAddr); in FindSymbol()
238 const std::vector<Symbol>& Dso::GetSymbols() { in GetSymbols()
245 void Dso::SetSymbols(std::vector<Symbol>* symbols) { in SetSymbols()
251 unknown_symbols_.insert(std::make_pair(vaddr_in_dso, Symbol(name, vaddr_in_dso, 1))); in AddUnknownSymbol()
274 static std::vector<Symbol> MergeSortedSymbols(const std::vector<Symbol>& s1, in MergeSortedSymbols()
[all …]
Dthread_tree.h100 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip,
102 const Symbol* FindKernelSymbol(uint64_t ip);
104 const Symbol* UnknownSymbol() const { return &unknown_symbol_; } in UnknownSymbol()
109 unknown_symbol_ = Symbol("*unknown", 0, ULLONG_MAX); in ShowMarkForUnknownSymbol()
116 uint64_t min_vaddr, std::vector<Symbol>* symbols);
145 Symbol unknown_symbol_;
Dcmd_report_sample.cpp94 uint64_t* pvaddr_in_file, Dso** pdso, const Symbol** psymbol);
437 const Symbol* symbol; in GetCallEntry()
458 const Symbol** psymbol) { in GetCallEntry()
499 const std::vector<Symbol>& symbols = dso->GetSymbols(); in PrintFileInfoInProtobuf()
500 std::vector<const Symbol*> dump_symbols; in PrintFileInfoInProtobuf()
507 Symbol::CompareByDumpId); in PrintFileInfoInProtobuf()
542 const Symbol* symbol; in PrintSampleRecord()
Denvironment_test.cpp42 const std::vector<Symbol>& symbols = dso->GetSymbols(); in TEST()
Drecord_file.h58 const std::vector<const Symbol*>& symbols);
151 std::vector<Symbol>* symbols);
Dcmd_report.cpp53 const Symbol* symbol;
70 const Symbol* symbol;
78 const MapEntry* map, const Symbol* symbol, uint64_t vaddr_in_file) in SampleEntry()
149 const Symbol* symbol = in CreateSample()
163 const Symbol* from_symbol = in CreateBranchSample()
167 const Symbol* to_symbol = in CreateBranchSample()
191 const Symbol* symbol = thread_tree_->FindSymbol(map, ip, &vaddr_in_file); in CreateCallChainSample()
Dthread_tree.cpp222 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, in FindSymbol()
227 const Symbol* symbol = dso->FindSymbol(vaddr_in_file); in FindSymbol()
257 const Symbol* ThreadTree::FindKernelSymbol(uint64_t ip) { in FindKernelSymbol()
271 uint64_t min_vaddr, std::vector<Symbol>* symbols) { in AddDsoInfo()
Dcmd_kmem.cpp35 const Symbol* symbol; // the function making allocation
45 SlabSample(const Symbol* symbol, uint64_t ptr, uint64_t bytes_req, in SlabSample()
180 const Symbol* symbol = thread_tree_->FindKernelSymbol(call_site); in CreateSample()
221 const Symbol* symbol = thread_tree_->FindKernelSymbol(ip); in CreateCallChainSample()
Dreport_lib_interface.cpp257 const Symbol* symbol = in GetSymbolOfCurrentSample()
302 const Symbol* symbol = in GetCallChainOfCurrentSample()
Dcmd_record.cpp1116 const std::vector<Symbol>& symbols = dso->GetSymbols(); in DumpFileFeature()
1117 std::vector<const Symbol*> dump_symbols; in DumpFileFeature()
1123 std::sort(dump_symbols.begin(), dump_symbols.end(), Symbol::CompareByAddr); in DumpFileFeature()
1139 const Symbol* symbol; in CollectHitFileInfo()
Dcmd_dumprecord.cpp210 std::vector<Symbol> symbols; in DumpFeatureSection()
Drecord_file_reader.cpp392 std::vector<Symbol>* symbols) { in ReadFileFeature()
466 std::vector<Symbol> symbols; in LoadBuildIdAndFileFeatures()
Drecord_file_writer.cpp300 const std::vector<const Symbol*>& symbols) { in WriteFileFeature()
Dcmd_record_test.cpp355 std::vector<Symbol> symbols; in TEST()
DREADME.md396 Overhead Sample Command Pid Tid Symbol
628 …id Tid Shared Object Symbol
734 … Tid Shared Object Symbol
/system/extras/simpleperf/runtest/
Druntest.py56 class Symbol(object): class
411 cur_symbol = Symbol(symbol_name, comm, overhead, children_overhead)
418 cur_symbol = Symbol(symbol_name, comm, overhead, 0)