Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Ddso.h58 struct Symbol { struct
63 Symbol(std::string_view name, uint64_t addr, uint64_t len); argument
80 static bool CompareByDumpId(const Symbol* s1, const Symbol* s2) { in CompareByDumpId() argument
88 static bool CompareByAddr(const Symbol* s1, const Symbol* s2) { in CompareByAddr() argument
92 static bool CompareValueByAddr(const Symbol& s1, const Symbol& s2) { in CompareValueByAddr() argument
170 uint32_t CreateSymbolDumpId(const Symbol* symbol);
182 const Symbol* FindSymbol(uint64_t vaddr_in_dso);
184 const std::vector<Symbol>& GetSymbols() { return symbols_; } in GetSymbols()
185 void SetSymbols(std::vector<Symbol>* symbols);
206 virtual std::vector<Symbol> LoadSymbols() = 0;
[all …]
Ddso.cpp202 Symbol::Symbol(std::string_view name, uint64_t addr, uint64_t len) in Symbol() function in Symbol
210 const char* Symbol::DemangledName() const { in DemangledName()
334 uint32_t Dso::CreateSymbolDumpId(const Symbol* symbol) { in CreateSymbolDumpId()
340 const Symbol* Dso::FindSymbol(uint64_t vaddr_in_dso) { in FindSymbol()
345 Symbol("", vaddr_in_dso, 0), in FindSymbol()
346 Symbol::CompareValueByAddr); in FindSymbol()
362 void Dso::SetSymbols(std::vector<Symbol>* symbols) { in SetSymbols()
368 unknown_symbols_.insert(std::make_pair(vaddr_in_dso, Symbol(name, vaddr_in_dso, 1))); in AddUnknownSymbol()
386 std::vector<Symbol> symbols = LoadSymbols(); in Load()
390 std::vector<Symbol> merged_symbols; in Load()
[all …]
Dthread_tree.h120 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip,
122 const Symbol* FindKernelSymbol(uint64_t ip);
124 const Symbol* UnknownSymbol() const { return &unknown_symbol_; } in UnknownSymbol()
129 unknown_symbol_ = Symbol("*unknown", 0, ULLONG_MAX); in ShowMarkForUnknownSymbol()
137 std::vector<Symbol>* symbols, const std::vector<uint64_t>& dex_file_offsets);
166 Symbol unknown_symbol_;
Drecord_file_writer.cpp336 const std::vector<Symbol>& symbols = dso->GetSymbols(); in WriteFileFeatures()
337 std::vector<const Symbol*> dump_symbols; in WriteFileFeatures()
343 std::sort(dump_symbols.begin(), dump_symbols.end(), Symbol::CompareByAddr); in WriteFileFeatures()
358 const std::vector<const Symbol*>& symbols, in WriteFileFeature()
Dthread_tree.cpp228 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, in FindSymbol()
231 const Symbol* symbol = nullptr; in FindSymbol()
268 const Symbol* ThreadTree::FindKernelSymbol(uint64_t ip) { in FindKernelSymbol()
282 std::vector<Symbol>* symbols, in AddDsoInfo()
Dcmd_report.cpp51 const Symbol* symbol;
69 const Symbol* symbol;
77 const MapEntry* map, const Symbol* symbol, uint64_t vaddr_in_file) in SampleEntry()
168 const Symbol* symbol = in CreateSample()
182 const Symbol* from_symbol = in CreateBranchSample()
186 const Symbol* to_symbol = in CreateBranchSample()
209 const Symbol* symbol = thread_tree_->FindSymbol(map, ip, &vaddr_in_file); in CreateCallChainSample()
Drecord_file.h82 const std::vector<const Symbol*>& symbols,
157 std::vector<Symbol>* symbols, std::vector<uint64_t>* dex_file_offsets);
Ddso_test.cpp157 const Symbol* symbol = dso->FindSymbol(0x6c77e); in TEST()
199 const Symbol* symbol = dso->FindSymbol(0x9a4); in TEST()
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()
Dcmd_report_sample.cpp70 const Symbol* symbol;
621 const std::vector<Symbol>& symbols = dso->GetSymbols(); in PrintFileInfoInProtobuf()
622 std::vector<const Symbol*> dump_symbols; in PrintFileInfoInProtobuf()
629 Symbol::CompareByDumpId); in PrintFileInfoInProtobuf()
Dcmd_record_test.cpp451 const std::function<bool(const Symbol&, uint32_t)>& callback) { in ProcessSymbolsInPerfDataFile() argument
458 std::vector<Symbol> symbols; in ProcessSymbolsInPerfDataFile()
474 auto callback = [&](const Symbol&, uint32_t) { in CheckDumpedSymbols() argument
513 auto callback = [&](const Symbol&, uint32_t file_type) { in TEST() argument
820 auto callback = [&](const Symbol& symbol, uint32_t) { in CheckData()
Dcmd_dumprecord.cpp46 const Symbol* symbol;
429 std::vector<Symbol> symbols; in DumpFeatureSection()
Drecord_file_reader.cpp463 std::vector<Symbol>* symbols, in ReadFileFeature()
552 std::vector<Symbol> symbols; in LoadBuildIdAndFileFeatures()
Dcmd_debug_unwind.cpp281 const Symbol* symbol = thread_tree_.FindSymbol(map, ip, nullptr, &dso); in CollectHitFileInfo()
Dreport_lib_interface.cpp336 const Symbol* symbol = thread_tree_.FindSymbol(map, ip, &vaddr_in_file); in SetCurrentSample()
Dcmd_record.cpp1797 const Symbol* symbol; in CollectHitFileInfo()
/system/extras/simpleperf/runtest/
Druntest.py56 class Symbol(object): class
423 cur_symbol = Symbol(symbol_name, comm, overhead, children_overhead)
431 cur_symbol = Symbol(symbol_name, comm, overhead, 0)
/system/chre/build/sys_support/qcom/
Duimage_v2.lcs53 /* Dynamic Symbol Table section */
/system/extras/simpleperf/doc/
Dandroid_application_profiling.md167 Overhead Command Pid Tid Shared Object Symbol
Dexecutable_commands_reference.md561 Overhead Sample Command Pid Tid Symbol