/system/extras/simpleperf/ |
D | dso.h | 59 struct Symbol { struct 64 Symbol(std::string_view name, uint64_t addr, uint64_t len); argument 82 static bool CompareByDumpId(const Symbol* s1, const Symbol* s2) { in CompareByDumpId() argument 90 static bool CompareByAddr(const Symbol* s1, const Symbol* s2) { return s1->addr < s2->addr; } in CompareByAddr() argument 92 static bool CompareValueByAddr(const Symbol& s1, const Symbol& s2) { return s1.addr < s2.addr; } in CompareValueByAddr() argument 171 uint32_t CreateSymbolDumpId(const Symbol* symbol); 185 const Symbol* FindSymbol(uint64_t vaddr_in_dso); 187 const std::vector<Symbol>& GetSymbols() const { return symbols_; } in GetSymbols() 188 void SetSymbols(std::vector<Symbol>* symbols); 208 virtual std::vector<Symbol> LoadSymbolsImpl() = 0; [all …]
|
D | dso.cpp | 212 Symbol::Symbol(std::string_view name, uint64_t addr, uint64_t len) in Symbol() function in simpleperf::Symbol 219 const char* Symbol::DemangledName() const { in DemangledName() 227 void Symbol::SetDemangledName(std::string_view name) const { in SetDemangledName() 235 std::string_view Symbol::FunctionName() const { in FunctionName() 249 static bool CompareSymbolToAddr(const Symbol& s, uint64_t addr) { in CompareSymbolToAddr() 253 static bool CompareAddrToSymbol(uint64_t addr, const Symbol& s) { in CompareAddrToSymbol() 386 uint32_t Dso::CreateSymbolDumpId(const Symbol* symbol) { in CreateSymbolDumpId() 396 const Symbol* Dso::FindSymbol(uint64_t vaddr_in_dso) { in FindSymbol() 416 void Dso::SetSymbols(std::vector<Symbol>* symbols) { in SetSymbols() 422 unknown_symbols_.insert(std::make_pair(vaddr_in_dso, Symbol(name, vaddr_in_dso, 1))); in AddUnknownSymbol() [all …]
|
D | read_symbol_map.cpp | 66 void ReadSymbol(std::string_view content, std::vector<Symbol>* symbols) { in ReadSymbol() 91 std::vector<Symbol> ReadSymbolMapFromString(const std::string& content) { in ReadSymbolMapFromString() 92 std::vector<Symbol> symbols; in ReadSymbolMapFromString() 99 std::sort(symbols.begin(), symbols.end(), Symbol::CompareValueByAddr); in ReadSymbolMapFromString()
|
D | report_utils_test.cpp | 83 Symbol("native_func1", 0x0, 0x100), in SetUp() 84 Symbol("art_jni_trampoline", 0x100, 0x100), in SetUp() 91 Symbol("art_func1", 0x0, 0x100), in SetUp() 92 Symbol("art_func2", 0x100, 0x100), in SetUp() 93 Symbol("_ZN3artL13Method_invokeEP7_JNIEnvP8_jobjectS3_P13_jobjectArray", 0x200, 0x100), in SetUp() 94 Symbol("art_quick_generic_jni_trampoline", 0x300, 0x100), in SetUp() 100 Symbol("java_method1", 0x0, 0x100), in SetUp() 101 Symbol("java_method2", 0x100, 0x100), in SetUp() 102 Symbol("obfuscated_class.obfuscated_java_method", 0x200, 0x100), in SetUp() 108 Symbol("java_method2", 0x3000, 0x100), in SetUp() [all …]
|
D | thread_tree.h | 116 void AddSymbolsForProcess(int pid, std::vector<Symbol>* symbols); 121 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file, 123 const Symbol* FindKernelSymbol(uint64_t ip); 125 const Symbol* UnknownSymbol() const { return &unknown_symbol_; } in UnknownSymbol() 130 unknown_symbol_ = Symbol("*unknown", 0, ULLONG_MAX); in ShowMarkForUnknownSymbol() 170 Symbol unknown_symbol_;
|
D | read_symbol_map.h | 28 std::vector<Symbol> ReadSymbolMapFromString(const std::string& content); 30 inline std::vector<Symbol> ReadSymbolMapFromFile(const std::string& path) { in ReadSymbolMapFromFile()
|
D | read_dex_file_test.cpp | 31 std::vector<Symbol> symbols; in TEST() 38 [](const Symbol& symbol) { return symbol.addr == 0x6c77e; }); in TEST()
|
D | dso_test.cpp | 158 const Symbol* symbol = dso->FindSymbol(0x6c77e); in TEST() 200 const Symbol* symbol = dso->FindSymbol(0x9a4); in TEST() 232 const Symbol* symbol = dso->FindSymbol(0x400510); in TEST() 287 std::vector<Symbol> kernel_symbols; in TEST() 290 std::vector<Symbol> module_symbols; in TEST() 314 Symbol symbol = Symbol("void ctep.v(cteo, ctgc, ctbn)", 0x0, 0x1); in TEST() 316 symbol = Symbol("ctep.v(cteo, ctgc, ctbn)", 0x0, 0x1); in TEST() 318 symbol = Symbol("ctep.v", 0x0, 0x1); in TEST() 364 std::vector<Symbol> symbols; in TEST()
|
D | report_utils.h | 86 const Symbol* symbol = nullptr; 111 const Symbol* symbol; 112 JavaMethod(Dso* dso, const Symbol* symbol) : dso(dso), symbol(symbol) {} in JavaMethod()
|
D | record_file.proto | 38 message Symbol { message 43 repeated Symbol symbol = 4;
|
D | record_file_writer.cpp | 344 const std::vector<Symbol>& symbols = dso->GetSymbols(); in WriteFileFeatures() 350 std::sort(file.symbol_ptrs.begin(), file.symbol_ptrs.end(), Symbol::CompareByAddr); in WriteFileFeatures() 367 auto write_symbol = [&](const Symbol& symbol) { in WriteFileFeature() 368 proto::FileFeature::Symbol* proto_symbol = proto_file.add_symbol(); in WriteFileFeature() 379 for (const Symbol& symbol : file.symbols) { in WriteFileFeature() 382 for (const Symbol* symbol_ptr : file.symbol_ptrs) { in WriteFileFeature()
|
D | record_file_test.cpp | 201 Symbol symbol("elf_symbol", 0x2001, 0x2002); in TEST_F() 223 auto check_symbol = [](const Symbol& sym1, const Symbol& sym2) { in TEST_F()
|
D | thread_tree.cpp | 220 void ThreadTree::AddSymbolsForProcess(int pid, std::vector<Symbol>* symbols) { in AddSymbolsForProcess() 311 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file, in FindSymbol() 314 const Symbol* symbol = nullptr; in FindSymbol() 351 const Symbol* ThreadTree::FindKernelSymbol(uint64_t ip) { in FindKernelSymbol()
|
D | record_file.h | 47 std::vector<Symbol> symbols; // used for reading symbols 48 std::vector<const Symbol*> symbol_ptrs; // used for writing symbols
|
D | cmd_report.cpp | 58 const Symbol* symbol; 76 const Symbol* symbol; 87 int cpu, const ThreadEntry* thread, const MapEntry* map, const Symbol* symbol, in SampleEntry() 181 const Symbol* symbol = thread_tree_->FindSymbol(map, r.ip_data.ip, &vaddr_in_file); in CreateSample() 196 const Symbol* from_symbol = thread_tree_->FindSymbol(from_map, item.from, &from_vaddr_in_file); in CreateBranchSample() 199 const Symbol* to_symbol = thread_tree_->FindSymbol(to_map, item.to, &to_vaddr_in_file); in CreateBranchSample() 221 const Symbol* symbol = thread_tree_->FindSymbol(map, ip, &vaddr_in_file); in CreateCallChainSample()
|
D | cmd_kmem.cpp | 36 const Symbol* symbol; // the function making allocation 46 SlabSample(const Symbol* symbol, uint64_t ptr, uint64_t bytes_req, uint64_t bytes_alloc, in SlabSample() 172 const Symbol* symbol = thread_tree_->FindKernelSymbol(call_site); in CreateSample() 209 const Symbol* symbol = thread_tree_->FindKernelSymbol(ip); in CreateCallChainSample()
|
D | thread_tree_test.cpp | 69 const Symbol* FindSymbol(int pid, int tid, uint64_t ip, bool in_kernel = false) { in FindSymbol()
|
D | cmd_record_test.cpp | 360 const std::function<bool(const Symbol&, uint32_t)>& callback) { in ProcessSymbolsInPerfDataFile() argument 379 auto callback = [&](const Symbol&, uint32_t) { in CheckDumpedSymbols() argument 415 auto callback = [&](const Symbol&, uint32_t file_type) { in TEST() argument 735 auto callback = [&](const Symbol& symbol, uint32_t) { in CheckData() 913 const Symbol* symbol = thread_tree.FindSymbol(map, ip, nullptr, nullptr); in TEST()
|
D | cmd_report_sample.cpp | 822 const std::vector<Symbol>& symbols = dso->GetSymbols(); in PrintFileInfoInProtobuf() 823 std::vector<const Symbol*> dump_symbols; in PrintFileInfoInProtobuf() 829 std::sort(dump_symbols.begin(), dump_symbols.end(), Symbol::CompareByDumpId); in PrintFileInfoInProtobuf()
|
D | cmd_merge.cpp | 97 std::map<uint64_t, Symbol> symbol_map_;
|
D | report_utils.cpp | 223 const Symbol* symbol = thread_tree_.FindSymbol(map, ips[i], &vaddr_in_file, &dso); in Build()
|
D | cmd_monitor.cpp | 66 const Symbol* symbol;
|
/system/extras/simpleperf/doc/ |
D | jit_symbols.md | 18 ### Symbol map file location for application 25 ### Symbol map file location for standalone program 31 ### Symbol map file format 33 Symbol map file is a text file.
|
/system/extras/simpleperf/runtest/ |
D | runtest.py | 56 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/ |
D | uimage_v2.lcs | 53 /* Dynamic Symbol Table section */
|