Home
last modified time | relevance | path

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

12

/system/extras/simpleperf/
Ddso.h59 struct Symbol { struct
64 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) { return s1->addr < s2->addr; } in CompareByAddr() argument
90 static bool CompareValueByAddr(const Symbol& s1, const Symbol& s2) { return s1.addr < s2.addr; } in CompareValueByAddr() argument
163 uint32_t CreateSymbolDumpId(const Symbol* symbol);
177 const Symbol* FindSymbol(uint64_t vaddr_in_dso);
179 const std::vector<Symbol>& GetSymbols() const { return symbols_; } in GetSymbols()
180 void SetSymbols(std::vector<Symbol>* symbols);
199 virtual std::vector<Symbol> LoadSymbolsImpl() = 0;
[all …]
Dread_symbol_map.cpp66 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()
Ddso.cpp209 Symbol::Symbol(std::string_view name, uint64_t addr, uint64_t len) in Symbol() function in simpleperf::Symbol
216 const char* Symbol::DemangledName() const { in DemangledName()
224 void Symbol::SetDemangledName(std::string_view name) const { in SetDemangledName()
232 static bool CompareSymbolToAddr(const Symbol& s, uint64_t addr) { in CompareSymbolToAddr()
236 static bool CompareAddrToSymbol(uint64_t addr, const Symbol& s) { in CompareAddrToSymbol()
351 uint32_t Dso::CreateSymbolDumpId(const Symbol* symbol) { in CreateSymbolDumpId()
361 const Symbol* Dso::FindSymbol(uint64_t vaddr_in_dso) { in FindSymbol()
381 void Dso::SetSymbols(std::vector<Symbol>* symbols) { in SetSymbols()
387 unknown_symbols_.insert(std::make_pair(vaddr_in_dso, Symbol(name, vaddr_in_dso, 1))); in AddUnknownSymbol()
409 std::vector<Symbol> symbols = LoadSymbolsImpl(); in LoadSymbols()
[all …]
Dread_symbol_map.h28 std::vector<Symbol> ReadSymbolMapFromString(const std::string& content);
30 inline std::vector<Symbol> ReadSymbolMapFromFile(const std::string& path) { in ReadSymbolMapFromFile()
Dreport_utils_test.cpp43 Symbol("native_func1", 0x0, 0x100), in SetUp()
44 Symbol("art_jni_trampoline", 0x100, 0x100), in SetUp()
53 Symbol("art_func1", 0x0, 0x100), in SetUp()
54 Symbol("art_func2", 0x100, 0x100), in SetUp()
55 Symbol("_ZN3artL13Method_invokeEP7_JNIEnvP8_jobjectS3_P13_jobjectArray", 0x200, 0x100), in SetUp()
64 Symbol("java_method1", 0x0, 0x100), in SetUp()
65 Symbol("java_method2", 0x100, 0x100), in SetUp()
66 Symbol("obfuscated_class.obfuscated_java_method", 0x200, 0x100), in SetUp()
75 Symbol("java_method2", 0x3000, 0x100), in SetUp()
76 Symbol("java_method3", 0x3100, 0x100), in SetUp()
[all …]
Dthread_tree.h115 void AddSymbolsForProcess(int pid, std::vector<Symbol>* symbols);
120 const Symbol* FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file,
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()
168 Symbol unknown_symbol_;
Dreport_utils.h41 const Symbol* symbol = nullptr;
66 const Symbol* symbol;
67 JavaMethod(Dso* dso, const Symbol* symbol) : dso(dso), symbol(symbol) {} in JavaMethod()
Dread_dex_file_test.cpp31 std::vector<Symbol> symbols; in TEST()
38 [](const Symbol& symbol) { return symbol.addr == 0x6c77e; }); in TEST()
Ddso_test.cpp159 const Symbol* symbol = dso->FindSymbol(0x6c77e); in TEST()
201 const Symbol* symbol = dso->FindSymbol(0x9a4); in TEST()
233 const Symbol* symbol = dso->FindSymbol(0x400510); in TEST()
279 std::vector<Symbol> kernel_symbols; in TEST()
282 std::vector<Symbol> module_symbols; in TEST()
Dthread_tree.cpp207 void ThreadTree::AddSymbolsForProcess(int pid, std::vector<Symbol>* symbols) { in AddSymbolsForProcess()
298 const Symbol* ThreadTree::FindSymbol(const MapEntry* map, uint64_t ip, uint64_t* pvaddr_in_file, in FindSymbol()
301 const Symbol* symbol = nullptr; in FindSymbol()
338 const Symbol* ThreadTree::FindKernelSymbol(uint64_t ip) { in FindKernelSymbol()
Dcmd_report.cpp57 const Symbol* symbol;
75 const Symbol* symbol;
82 int cpu, const ThreadEntry* thread, const MapEntry* map, const Symbol* symbol, in SampleEntry()
170 const Symbol* symbol = thread_tree_->FindSymbol(map, r.ip_data.ip, &vaddr_in_file); in CreateSample()
181 const Symbol* from_symbol = thread_tree_->FindSymbol(from_map, item.from, &from_vaddr_in_file); in CreateBranchSample()
184 const Symbol* to_symbol = thread_tree_->FindSymbol(to_map, item.to, &to_vaddr_in_file); in CreateBranchSample()
206 const Symbol* symbol = thread_tree_->FindSymbol(map, ip, &vaddr_in_file); in CreateCallChainSample()
Drecord_file.h47 std::vector<Symbol> symbols; // used for reading symbols
48 std::vector<const Symbol*> symbol_ptrs; // used for writing symbols
Dcmd_kmem.cpp36 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()
Drecord_file_writer.cpp339 const std::vector<Symbol>& symbols = dso->GetSymbols(); in WriteFileFeatures()
345 std::sort(file.symbol_ptrs.begin(), file.symbol_ptrs.end(), Symbol::CompareByAddr); in WriteFileFeatures()
381 auto write_symbol = [&](const Symbol* symbol) { in WriteFileFeature()
Dthread_tree_test.cpp69 const Symbol* FindSymbol(int pid, int tid, uint64_t ip, bool in_kernel = false) { in FindSymbol()
Dcmd_record_test.cpp348 const std::function<bool(const Symbol&, uint32_t)>& callback) { in ProcessSymbolsInPerfDataFile() argument
365 auto callback = [&](const Symbol&, uint32_t) { in CheckDumpedSymbols() argument
401 auto callback = [&](const Symbol&, uint32_t file_type) { in TEST() argument
706 auto callback = [&](const Symbol& symbol, uint32_t) { in CheckData()
866 const Symbol* symbol = thread_tree.FindSymbol(map, ip, nullptr, nullptr); in TEST()
Dcmd_report_sample.cpp717 const std::vector<Symbol>& symbols = dso->GetSymbols(); in PrintFileInfoInProtobuf()
718 std::vector<const Symbol*> dump_symbols; in PrintFileInfoInProtobuf()
724 std::sort(dump_symbols.begin(), dump_symbols.end(), Symbol::CompareByDumpId); in PrintFileInfoInProtobuf()
Dreport_utils.cpp99 const Symbol* symbol = thread_tree_.FindSymbol(map, ips[i], &vaddr_in_file, &dso); in Build()
Dcmd_merge.cpp97 std::map<uint64_t, Symbol> symbol_map_;
Dcmd_monitor.cpp66 const Symbol* symbol;
Dcmd_dumprecord.cpp46 const Symbol* symbol;
/system/extras/simpleperf/doc/
Djit_symbols.md6 - [Symbol map file location for application](#symbol-map-file-location-for-application)
7 …- [Symbol map file location for standalone program](#symbol-map-file-location-for-standalone-progr…
8 - [Symbol map file format](#symbol-map-file-format)
24 ### Symbol map file location for application
31 ### Symbol map file location for standalone program
37 ### Symbol map file format
39 Symbol map file is a text file.
Dandroid_application_profiling.md167 Overhead Command Pid Tid Shared Object Symbol
/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 */

12