Home
last modified time | relevance | path

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

/system/extras/simpleperf/
Ddso.h57 struct Symbol { struct
62 Symbol(std::string_view name, uint64_t addr, uint64_t len); argument
79 static bool CompareByDumpId(const Symbol* s1, const Symbol* s2) { in CompareByDumpId() argument
87 static bool CompareByAddr(const Symbol* s1, const Symbol* s2) { in CompareByAddr() argument
91 static bool CompareValueByAddr(const Symbol& s1, const Symbol& s2) { in CompareValueByAddr() argument
166 uint32_t CreateSymbolDumpId(const Symbol* symbol);
178 const Symbol* FindSymbol(uint64_t vaddr_in_dso);
180 const std::vector<Symbol>& GetSymbols() { return symbols_; } in GetSymbols()
181 void SetSymbols(std::vector<Symbol>* symbols);
202 virtual std::vector<Symbol> LoadSymbols() = 0;
[all …]
Ddso.cpp177 Symbol::Symbol(std::string_view name, uint64_t addr, uint64_t len) in Symbol() function in Symbol
185 const char* Symbol::DemangledName() const { in DemangledName()
309 uint32_t Dso::CreateSymbolDumpId(const Symbol* symbol) { in CreateSymbolDumpId()
315 const Symbol* Dso::FindSymbol(uint64_t vaddr_in_dso) { in FindSymbol()
320 Symbol("", vaddr_in_dso, 0), in FindSymbol()
321 Symbol::CompareValueByAddr); in FindSymbol()
337 void Dso::SetSymbols(std::vector<Symbol>* symbols) { in SetSymbols()
343 unknown_symbols_.insert(std::make_pair(vaddr_in_dso, Symbol(name, vaddr_in_dso, 1))); in AddUnknownSymbol()
362 std::vector<Symbol> symbols = LoadSymbols(); in Load()
366 std::vector<Symbol> merged_symbols; in Load()
[all …]
Dthread_tree.h104 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip,
106 const Symbol* FindKernelSymbol(uint64_t ip);
108 const Symbol* UnknownSymbol() const { return &unknown_symbol_; } in UnknownSymbol()
113 unknown_symbol_ = Symbol("*unknown", 0, ULLONG_MAX); in ShowMarkForUnknownSymbol()
121 std::vector<Symbol>* symbols, const std::vector<uint64_t>& dex_file_offsets);
152 Symbol unknown_symbol_;
Drecord_file_writer.cpp313 const std::vector<Symbol>& symbols = dso->GetSymbols(); in WriteFileFeatures()
314 std::vector<const Symbol*> dump_symbols; in WriteFileFeatures()
320 std::sort(dump_symbols.begin(), dump_symbols.end(), Symbol::CompareByAddr); in WriteFileFeatures()
335 const std::vector<const Symbol*>& symbols, in WriteFileFeature()
Drecord_file.h80 const std::vector<const Symbol*>& symbols,
154 std::vector<Symbol>* symbols, std::vector<uint64_t>* dex_file_offsets);
Ddso_test.cpp95 const Symbol* symbol = dso->FindSymbol(0x6c77e); in TEST()
137 const Symbol* symbol = dso->FindSymbol(0x9a4); in TEST()
Dthread_tree.cpp215 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, in FindSymbol()
218 const Symbol* symbol = nullptr; in FindSymbol()
255 const Symbol* ThreadTree::FindKernelSymbol(uint64_t ip) { in FindKernelSymbol()
270 std::vector<Symbol>* symbols, in AddDsoInfo()
Dcmd_report.cpp51 const Symbol* symbol;
68 const Symbol* symbol;
76 const MapEntry* map, const Symbol* symbol, uint64_t vaddr_in_file) in SampleEntry()
156 const Symbol* symbol = in CreateSample()
170 const Symbol* from_symbol = in CreateBranchSample()
174 const Symbol* to_symbol = in CreateBranchSample()
198 const Symbol* symbol = thread_tree_->FindSymbol(map, ip, &vaddr_in_file); in CreateCallChainSample()
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_dumprecord.cpp174 const Symbol* symbol = thread_tree.FindSymbol(map, ip, &vaddr_in_file, &dso); in DumpDataSection()
247 std::vector<Symbol> symbols; in DumpFeatureSection()
Dcmd_report_sample.cpp68 const Symbol* symbol;
625 const std::vector<Symbol>& symbols = dso->GetSymbols(); in PrintFileInfoInProtobuf()
626 std::vector<const Symbol*> dump_symbols; in PrintFileInfoInProtobuf()
633 Symbol::CompareByDumpId); in PrintFileInfoInProtobuf()
Dcmd_record_test.cpp399 std::vector<Symbol> symbols; in CheckDumpedSymbols()
452 std::vector<Symbol> symbols; in TEST()
772 std::vector<Symbol> symbols; in TestRecordingApps()
Drecord_file_reader.cpp417 std::vector<Symbol>* symbols, in ReadFileFeature()
504 std::vector<Symbol> symbols; in LoadBuildIdAndFileFeatures()
Dcmd_debug_unwind.cpp280 const Symbol* symbol = thread_tree_.FindSymbol(map, ip, nullptr, &dso); in CollectHitFileInfo()
Dreport_lib_interface.cpp331 const Symbol* symbol = thread_tree_.FindSymbol(map, ip, &vaddr_in_file); in SetCurrentSample()
Dcmd_record.cpp1665 const Symbol* symbol; in CollectHitFileInfo()
/system/extras/perfprofd/
Dsymbolizer.cc37 struct Symbol { struct
38 Symbol(std::string_view n, uint64_t l) : name(n), length(l) {} in Symbol() argument
43 using SymbolMap = std::map<uint64_t, Symbol>;
81 elf_data.emplace(sym.vaddr, Symbol(sym.name, sym.len)); in LoadDso()
119 vdex_data.emplace(symbol.offset, Symbol(symbol.name, symbol.len)); in LoadDso()
Dperfprofd_record.proto10 // Symbol info for a shared library without build id.
13 message Symbol { message
26 repeated Symbol symbols = 4;
/system/extras/simpleperf/runtest/
Druntest.py56 class Symbol(object): class
426 cur_symbol = Symbol(symbol_name, comm, overhead, children_overhead)
434 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/
DREADME.md286 Overhead Command Pid Tid Shared Object Symbol
919 Overhead Sample Command Pid Tid Symbol