Home
last modified time | relevance | path

Searched refs:SymbolsFile (Results 1 – 25 of 43) sorted by relevance

12

/developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/
Dsymbols_file_test.cpp68 void CheckSymbols(const std::unique_ptr<SymbolsFile> &symbolsFile) const;
72 std::unique_ptr<SymbolsFile> LoadSymbols(SymbolsFileType symbolsFileType) in LoadSymbols()
74 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in LoadSymbols()
81 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in TestLoadSymbols()
109 void SymbolsFileTest::CheckSymbols(const std::unique_ptr<SymbolsFile> &symbolsFile) const in CheckSymbols()
159 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE);
175 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE);
201 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE);
227 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE);
254 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in TestLoadSymbols()
[all …]
Dvirtual_thread_test.cpp141 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files;
157 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files;
194 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files;
229 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files;
270 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files;
313 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> files;
314 files["1.elf"] = std::make_unique<SymbolsFile>(SYMBOL_UNKNOW_FILE, "1.elf");
315 files["2.elf"] = std::make_unique<SymbolsFile>(SYMBOL_UNKNOW_FILE, "2.elf");
316 files["3.elf"] = std::make_unique<SymbolsFile>(SYMBOL_UNKNOW_FILE, "3.elf");
350 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> symbolsFiles;
[all …]
Dcallstack_test.cpp62 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> symbolsFiles;
64 symbolsFiles[symbolFilePath] = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE, symbolFilePath);
Dvirtual_runtime_test.cpp124 auto kernel = SymbolsFile::CreateSymbolsFile(SYMBOL_KERNEL_FILE); in PrepareKernelSymbol()
141 auto user = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); in PrepareUserSymbol()
/developtools/hiperf/test/unittest/common/native/
Dsymbols_file_test.cpp37 void CheckSymbols(const std::unique_ptr<SymbolsFile> &symbolsFile) const;
41 std::unique_ptr<SymbolsFile> LoadSymbols(SymbolsFileType symbolsFileType) in LoadSymbols()
43 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in LoadSymbols()
50 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in TestLoadSymbols()
78 void SymbolsFileTest::CheckSymbols(const std::unique_ptr<SymbolsFile> &symbolsFile) const in CheckSymbols()
128 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE);
144 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE);
170 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE);
196 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE);
223 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(symbolsFileType); in TestLoadSymbols()
[all …]
Dvirtual_thread_test.cpp156 std::vector<std::unique_ptr<SymbolsFile>> files;
176 std::vector<std::unique_ptr<SymbolsFile>> files;
209 std::vector<std::unique_ptr<SymbolsFile>> files;
240 std::vector<std::unique_ptr<SymbolsFile>> files;
279 std::vector<std::unique_ptr<SymbolsFile>> files;
320 std::vector<std::unique_ptr<SymbolsFile>> files;
323 files.emplace_back(SymbolsFile::LoadSymbolsFromSaved(symbolFileStruct));
325 files.emplace_back(SymbolsFile::LoadSymbolsFromSaved(symbolFileStruct));
327 files.emplace_back(SymbolsFile::LoadSymbolsFromSaved(symbolFileStruct));
360 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles;
[all …]
Dreport_protobuf_file_test.cpp38 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles_;
46 std::unique_ptr<SymbolsFile> user = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); in PrepareSymbolsFile()
53 std::unique_ptr<SymbolsFile> user2 = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); in PrepareSymbolsFile()
232 const std::unique_ptr<SymbolsFile> &symbolFile = symbolsFiles_.at(message.id()); in __anondb9e9e190302()
336 const std::unique_ptr<SymbolsFile> &symbolsFile = in __anondb9e9e190502()
Dvirtual_runtime_test.cpp151 for (const std::unique_ptr<SymbolsFile> &symbolsFile : runtime_->GetSymbolsFiles()) {
247 auto kernel = SymbolsFile::CreateSymbolsFile(SYMBOL_KERNEL_FILE); in PrepareKernelSymbol()
264 auto user = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE); in PrepareUserSymbol()
357 SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE, TEST_DWARF_ELF));
Dreport_json_file_test.cpp579 std::vector<std::unique_ptr<SymbolsFile>> symbolsFiles;
582 std::unique_ptr<SymbolsFile> user = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE);
589 std::unique_ptr<SymbolsFile> user2 = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE);
/developtools/profiler/device/plugins/native_daemon/src/
Dsymbols_file.cpp48 bool SymbolsFile::onRecording_ = true;
49 const std::string SymbolsFile::GetBuildId() const in GetBuildId()
54 bool SymbolsFile::UpdateBuildIdIfMatch(std::string buildId) in UpdateBuildIdIfMatch()
91 std::string SymbolsFile::SearchReadableFile(const std::vector<std::string> &searchPaths, in SearchReadableFile()
108 const std::string SymbolsFile::FindSymbolFile( in FindSymbolFile()
161 class ElfFileSymbols : public SymbolsFile {
165 : SymbolsFile(symbolsFileType, symbolFilePath) in ElfFileSymbols()
862 class UnknowFileSymbols : public SymbolsFile {
865 : SymbolsFile(SYMBOL_UNKNOW_FILE, symbolFilePath) in UnknowFileSymbols()
876 SymbolsFile::~SymbolsFile() {} in ~SymbolsFile()
[all …]
Dvirtual_thread.cpp91 … const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>>& symbolsFiles, in VirtualThread()
133 SymbolsFile *VirtualThread::FindSymbolsFileByMap(std::shared_ptr<DfxMap> inMap) const in FindSymbolsFileByMap()
155 SymbolsFile *VirtualThread::FindSymbolsFileByName(const std::string &name) const in FindSymbolsFileByName()
197 SymbolsFile *symbolsFile = FindSymbolsFileByMap((curMemMaps->GetMaps())[itemIndex]); in ReadRoMemory()
Dcall_stack.cpp92 bool CallStack::fillUDI(unw_dyn_info_t &di, SymbolsFile &symbolsFile, std::shared_ptr<DfxMap> map, in fillUDI()
168 int CallStack::FindUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, in FindUnwindTable()
247 SymbolsFile *symbolsFile = unwindInfoPtr->thread.FindSymbolsFileByMap(*map); in FindProcInfo()
553 int CallStack::FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *u… in FillUnwindTable()
595 SymbolsFile *symbolsFile = unwindInfoPtr->thread.FindSymbolsFileByMap(map); in FindUnwindTable()
/developtools/hiperf/src/
Dsymbols_file.cpp50 bool SymbolsFile::onRecording_ = true;
51 bool SymbolsFile::needParseJsFunc_ = false;
53 const std::string SymbolsFile::GetBuildId() const in GetBuildId()
58 bool SymbolsFile::UpdateBuildIdIfMatch(std::string buildId) in UpdateBuildIdIfMatch()
95 std::string SymbolsFile::SearchReadableFile(const std::vector<std::string> &searchPaths, in SearchReadableFile()
115 const std::string SymbolsFile::FindSymbolFile( in FindSymbolFile()
162 class ElfFileSymbols : public SymbolsFile {
166 : SymbolsFile(symbolsFileType, symbolFilePath) in ElfFileSymbols()
1058 class UnknowFileSymbols : public SymbolsFile {
1061 : SymbolsFile(SYMBOL_UNKNOW_FILE, symbolFilePath) in UnknowFileSymbols()
[all …]
Dvirtual_runtime.cpp192 auto symbolsFile = SymbolsFile::CreateSymbolsFile(map->name); in UpdateHapSymbols()
308 auto kernelModuleFile = SymbolsFile::CreateSymbolsFile(SYMBOL_KERNEL_MODULE_FILE, map.name); in UpdateKernelModulesSymbols()
321 auto kernelFile = SymbolsFile::CreateSymbolsFile(KERNEL_MMAP_NAME); in UpdateKernelSymbols()
683 auto symFile = SymbolsFile::CreateSymbolsFile(SYMBOL_ELF_FILE, recordMmap2.data_.filename); in CheckValidSandBoxMmap()
837 auto symbolsFile = SymbolsFile::CreateSymbolsFile(map->name, pid); in UpdateSymbols()
966 SymbolsFile *symbolsFile = thread.FindSymbolsFileByMap(map); in GetUserSymbol()
1089 std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_UNKNOW_FILE); in SetSymbolsPaths()
1117 … std::unique_ptr<SymbolsFile> symbolsFile = SymbolsFile::LoadSymbolsFromSaved(symbolFileStruct); in UpdateFromPerfData()
1189 auto symbolsFile = SymbolsFile::CreateSymbolsFile(MMAP_VDSO_NAME); in LoadVdso()
1219 auto symbolsFile = SymbolsFile::CreateSymbolsFile(SYMBOL_KERNEL_THREAD_FILE, fileName); in UpdateServiceSymbols()
[all …]
/developtools/profiler/device/plugins/native_daemon/include/
Dsymbols_file.h76 class SymbolsFile {
91 SymbolsFile(SymbolsFileType symbolType, const std::string path) in SymbolsFile() function
93 virtual ~SymbolsFile();
101 static std::unique_ptr<SymbolsFile> CreateSymbolsFile(
103 …static std::unique_ptr<SymbolsFile> CreateSymbolsFile(const std::string &symbolFilePath, pid_t pid…
164 static std::unique_ptr<SymbolsFile> LoadSymbolsFromSaved(const SymbolFileStruct &);
221 …bool operator() (const std::unique_ptr<SymbolsFile>& left, const std::unique_ptr<SymbolsFile>& rig… in operator()
Dvirtual_thread.h78 const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>>& symbolsFiles,
100 SymbolsFile *FindSymbolsFileByMap(std::shared_ptr<DfxMap> inMap) const;
101 SymbolsFile *FindSymbolsFileByName(const std::string &name) const;
113 const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>>& symbolsFiles_;
Dcall_stack.h72 … static bool fillUDI(unw_dyn_info_t &di, SymbolsFile &symbolsFile, std::shared_ptr<DfxMap> mapmmap,
87 static int FindUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> mapmap,
115 …static int FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *unwi…
Dvirtual_runtime.h62 const std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> &GetSymbolsFiles() const in GetSymbolsFiles()
181 std::unordered_map<std::string, std::unique_ptr<SymbolsFile>> symbolsFiles_;
/developtools/hiperf/include/
Dvirtual_thread.h46 VirtualThread(pid_t pid, const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles) in VirtualThread()
57 const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles) in VirtualThread()
89 SymbolsFile *FindSymbolsFileByMap(std::shared_ptr<DfxMap> map) const;
100 const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles_;
Dsymbols_file.h86 class SymbolsFile {
102 SymbolsFile(SymbolsFileType symbolType, const std::string path) in SymbolsFile() function
104 virtual ~SymbolsFile();
112 static std::unique_ptr<SymbolsFile> CreateSymbolsFile(
114 …static std::unique_ptr<SymbolsFile> CreateSymbolsFile(const std::string &symbolFilePath, pid_t pid…
186 static std::unique_ptr<SymbolsFile> LoadSymbolsFromSaved(const SymbolFileStruct &);
Dreport_protobuf_file.h46 const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles);
47 bool ProcessSymbolsFiles(const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles);
Dcallstack.h87 static bool fillUDI(unw_dyn_info_t &di, SymbolsFile &symbolsFile, std::shared_ptr<DfxMap> map,
102 static int FindUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map,
130 …static int FillUnwindTable(SymbolsFile *symbolsFile, std::shared_ptr<DfxMap> map, UnwindInfo *unwi…
Dperf_file_writer.h55 bool AddSymbolsFeature(const std::vector<std::unique_ptr<SymbolsFile>> &);
/developtools/smartperf_host/trace_streamer/src/parser/pbreader_parser/native_hook_parser/
Dpbreader_native_hook_parser.h39 … bool NativeHookReloadElfSymbolTable(const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFile) in NativeHookReloadElfSymbolTable()
/developtools/smartperf_host/trace_streamer/src/parser/ebpf_parser/
Debpf_base.h39 bool EBPFReloadElfSymbolTable(const std::vector<std::unique_ptr<SymbolsFile>> &symbolsFiles);

12