| /developtools/profiler/hiebpf/test/unittest/ |
| D | bpf_log_reader_test.cpp | 52 HWTEST_F(BPFLogReaderTest, MakeUnique, TestSize.Level1) 54 auto logger = BPFLogReader::MakeUnique(""); 57 logger = BPFLogReader::MakeUnique("stdout"); 60 logger = BPFLogReader::MakeUnique(FILE_NAME);
|
| D | libbpf_logger_test.cpp | 42 HWTEST_F(LIBBPFLoggerTest, MakeUnique, TestSize.Level1) 44 auto logger = LIBBPFLogger::MakeUnique("", -1); 47 logger = LIBBPFLogger::MakeUnique("stdout", 0);
|
| D | bpf_controller_test.cpp | 69 std::unique_ptr<BPFController> pCtx = BPFController::MakeUnique(cfg);
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/include/ |
| D | elf_parser_test.h | 37 static std::unique_ptr<EhdrFromReadelf> MakeUnique(FILE *fp); 69 static std::unique_ptr<PhdrFromReadelf> MakeUnique(const std::string &line); 91 static std::unique_ptr<ShdrFromReadelf> MakeUnique(const std::string &line); 124 static std::unique_ptr<ElfSymbolFromReadelf> MakeUnique(const std::string &line); 147 static std::unique_ptr<ElfFileFromReadelf> MakeUnique(ElfFileType fileType);
|
| /developtools/hiperf/test/unittest/common/native/include/ |
| D | elf_parser_test.h | 37 static std::unique_ptr<EhdrFromReadelf> MakeUnique(FILE *fp); 69 static std::unique_ptr<PhdrFromReadelf> MakeUnique(const std::string &line); 91 static std::unique_ptr<ShdrFromReadelf> MakeUnique(const std::string &line); 124 static std::unique_ptr<ElfSymbolFromReadelf> MakeUnique(const std::string &line); 147 static std::unique_ptr<ElfFileFromReadelf> MakeUnique(ElfFileType fileType);
|
| /developtools/profiler/device/plugins/native_daemon/src/ |
| D | elf_symbol.cpp | 24 std::unique_ptr<ElfSymbol> ElfSymbol::MakeUnique(char * const symBuf, const std::size_t bufSize) in MakeUnique() function in OHOS::Developtools::NativeDaemon::ElfSymbol 71 std::unique_ptr<SymbolTable> SymbolTable::MakeUnique(const std::string &symNamesStr, in MakeUnique() function in OHOS::Developtools::NativeDaemon::SymbolTable 109 std::unique_ptr<ElfSymbol> sym = ElfSymbol::MakeUnique(symBuf, entrySize); in MakeUnique()
|
| D | elf_file.cpp | 62 std::unique_ptr<ElfFile> ElfFile::MakeUnique(const std::string &filename) in MakeUnique() function in OHOS::Developtools::NativeDaemon::ElfFile 91 ehdr_ = ElfHeader::MakeUnique(ehdrBuf, ret); in ParseElfHeader() 115 std::unique_ptr<ProgramHeader> phdr = ProgramHeader::MakeUnique(phdrBuf, phdrSize); in ParsePrgHeaders() 146 shdrs_[secName] = SectionHeader::MakeUnique(shdrBuf, shdrSize, shdrIndex); in ParseSecNamesStr() 203 std::unique_ptr<SectionHeader> shdr = SectionHeader::MakeUnique(shdrBuf, shdrSize, count); in ParseSecHeaders() 243 symTable_ = SymbolTable::MakeUnique(symNamesStr_, secBuf, secSize, entrySize); in ParseSymTable() 297 dynSymTable_ = SymbolTable::MakeUnique(symNamesStr_, secBuf, secSize, entrySize); in ParseDynSymTable()
|
| D | program_header.cpp | 24 std::unique_ptr<ProgramHeader> ProgramHeader::MakeUnique(char * const phdrBuf, const size_t bufSize) in MakeUnique() function in OHOS::Developtools::NativeDaemon::ProgramHeader
|
| D | section_header.cpp | 38 std::unique_ptr<SectionHeader> SectionHeader::MakeUnique(char * const shdrBuf, const size_t bufSize, in MakeUnique() function in OHOS::Developtools::NativeDaemon::SectionHeader
|
| /developtools/hiperf/src/ |
| D | elf_symbol.cpp | 22 std::unique_ptr<ElfSymbol> ElfSymbol::MakeUnique(char * const symBuf, const std::size_t bufSize) in MakeUnique() function in OHOS::Developtools::HiPerf::ElfSymbol 76 std::unique_ptr<SymbolTable> SymbolTable::MakeUnique(const std::string &symNamesStr, in MakeUnique() function in OHOS::Developtools::HiPerf::SymbolTable 117 std::unique_ptr<ElfSymbol> sym = ElfSymbol::MakeUnique(symBuf, entrySize); in MakeUnique()
|
| D | elf_file.cpp | 62 std::unique_ptr<ElfFile> ElfFile::MakeUnique(const std::string &filename) in MakeUnique() function in OHOS::Developtools::HiPerf::ElfFile 116 ehdr_ = ElfHeader::MakeUnique(ehdrBuf, readsize); in ParseElfHeader() 141 std::unique_ptr<ProgramHeader> phdr = ProgramHeader::MakeUnique(phdrBuf, phdrSize); in ParsePrgHeaders() 173 shdrs_[secName] = SectionHeader::MakeUnique(shdrBuf, shdrSize, shdrIndex); in ParseSecNamesStr() 230 std::unique_ptr<SectionHeader> shdr = SectionHeader::MakeUnique(shdrBuf, shdrSize, count); in ParseSecHeaders() 278 symTable_ = SymbolTable::MakeUnique(symNamesStr_, secBuf, secSize, entrySize); in ParseSymTable() 349 dynSymTable_ = SymbolTable::MakeUnique(symNamesStr_, secBuf, secSize, entrySize); in ParseDynSymTable()
|
| D | program_header.cpp | 22 std::unique_ptr<ProgramHeader> ProgramHeader::MakeUnique(char * const phdrBuf, const size_t bufSize) in MakeUnique() function in OHOS::Developtools::HiPerf::ProgramHeader
|
| D | hiperf_libreport.cpp | 228 std::unique_ptr<ElfFile> elfFile = ElfFile::MakeUnique(elfPath); in ReportGetBuildId() 251 std::unique_ptr<ElfFile> elfFile = ElfFile::MakeUnique(elfPath); in ReportGetElfArch()
|
| D | section_header.cpp | 38 std::unique_ptr<SectionHeader> SectionHeader::MakeUnique(char * const shdrBuf, const size_t bufSize, in MakeUnique() function in OHOS::Developtools::HiPerf::SectionHeader
|
| /developtools/hiperf/include/ |
| D | elf_parser.h | 57 static std::unique_ptr<ElfHeader> MakeUnique(unsigned char * const ehdrBuf, 92 static std::unique_ptr<ProgramHeader> MakeUnique(char * const phdrBuf, const size_t bufSize); 130 static std::unique_ptr<SectionHeader> MakeUnique(char * const shdrBuf, const size_t bufSize, 175 static std::unique_ptr<ElfSymbol> MakeUnique(char * const symBuf, const std::size_t bufSize); 211 static std::unique_ptr<SymbolTable> MakeUnique(const std::string &symNamesStr, 227 static std::unique_ptr<ElfFile> MakeUnique(const std::string &filename);
|
| /developtools/profiler/hiebpf/include/ |
| D | elf_file.h | 57 static std::unique_ptr<ElfHeader> MakeUnique(unsigned char * const ehdrBuf, 84 static std::unique_ptr<ProgramHeader> MakeUnique(char * const phdrBuf, const size_t bufSize); 114 static std::unique_ptr<SectionHeader> MakeUnique(char * const shdrBuf, const size_t bufSize, 152 static std::unique_ptr<ElfFile> MakeUnique(const std::string &filename);
|
| D | libbpf_logger.h | 36 static std::unique_ptr<LIBBPFLogger> MakeUnique(const std::string& logFile, int logLevel);
|
| D | bpf_log_reader.h | 28 …static std::unique_ptr<BPFLogReader> MakeUnique(const std::string& logFile = "/data/local/tmp/bpf_…
|
| D | bpf_controller.h | 74 static std::unique_ptr<BPFController> MakeUnique(const struct BPFConfig& config);
|
| /developtools/profiler/device/plugins/native_daemon/include/ |
| D | elf_parser.h | 67 static std::unique_ptr<ElfHeader> MakeUnique(unsigned char * const ehdrBuf, 102 static std::unique_ptr<ProgramHeader> MakeUnique(char * const phdrBuf, const size_t bufSize); 140 static std::unique_ptr<SectionHeader> MakeUnique(char * const shdrBuf, const size_t bufSize, 185 static std::unique_ptr<ElfSymbol> MakeUnique(char * const symBuf, const std::size_t bufSize); 221 static std::unique_ptr<SymbolTable> MakeUnique(const std::string &symNamesStr, 237 static std::unique_ptr<ElfFile> MakeUnique(const std::string &filename);
|
| /developtools/hiperf/test/fuzztest/elfparser_fuzzer/ |
| D | ElfParser_fuzzer.cpp | 25 static std::unique_ptr<ElfFileFuzzer> MakeUnique(const std::string &filename, in MakeUnique() function in OHOS::ElfFileFuzzer 60 ElfFileFuzzer::MakeUnique(testData, data, size); in FuzzElfFile()
|
| /developtools/profiler/hiebpf/src/ |
| D | elf_file.cpp | 55 std::unique_ptr<ElfFile> ElfFile::MakeUnique(const std::string &filename) in MakeUnique() function in OHOS::Developtools::Hiebpf::ElfFile 82 ehdr_ = ElfHeader::MakeUnique(ehdrBuf, readsize); in ParseElfHeader() 106 std::unique_ptr<ProgramHeader> phdr = ProgramHeader::MakeUnique(phdrBuf, phdrSize); in ParsePrgHeaders() 142 shdrs_[secName] = SectionHeader::MakeUnique(shdrBuf, shdrSize, shdrIndex); in ParseSecNamesStr() 198 std::unique_ptr<SectionHeader> shdr = SectionHeader::MakeUnique(shdrBuf, shdrSize, count); in ParseSecHeaders() 230 std::unique_ptr<ElfHeader> ElfHeader::MakeUnique(unsigned char * const ehdrBuf, in MakeUnique() function in OHOS::Developtools::Hiebpf::ElfHeader 392 std::unique_ptr<SectionHeader> SectionHeader::MakeUnique(char * const shdrBuf, const size_t bufSize, in MakeUnique() function in OHOS::Developtools::Hiebpf::SectionHeader 456 std::unique_ptr<ProgramHeader> ProgramHeader::MakeUnique(char * const phdrBuf, const size_t bufSize) in MakeUnique() function in OHOS::Developtools::Hiebpf::ProgramHeader
|
| D | libbpf_logger.cpp | 28 std::unique_ptr<LIBBPFLogger> LIBBPFLogger::MakeUnique(const std::string& logFile, int logLevel) in MakeUnique() function in LIBBPFLogger
|
| /developtools/profiler/device/plugins/native_daemon/test/unittest/common/native/ |
| D | elf_parser_test.cpp | 140 std::unique_ptr<ElfFileFromReadelf> ElfFileFromReadelf::MakeUnique(ElfFileType fileType) in MakeUnique() function in OHOS::Developtools::NativeDaemon::UnitTest::ElfFileFromReadelf 225 ehdr_ = EhdrFromReadelf::MakeUnique(ehdrFP_); in ParseElfHeader() 244 auto phdr = PhdrFromReadelf::MakeUnique(line1 + line2); in ParsePrgHeaders64() 265 auto phdr = PhdrFromReadelf::MakeUnique(line); in ParsePrgHeaders32() 288 auto shdr = ShdrFromReadelf::MakeUnique(line1 + line2); in ParseSecHeaders64() 309 auto shdr = ShdrFromReadelf::MakeUnique(line); in ParseSecHeaders32() 357 auto dynSym = ElfSymbolFromReadelf::MakeUnique(line); in ParseSymsInDynSym() 379 auto sym = ElfSymbolFromReadelf::MakeUnique(line); in ParseSymsInSymTab() 460 std::unique_ptr<ElfSymbolFromReadelf> ElfSymbolFromReadelf::MakeUnique(const std::string &line) in MakeUnique() function in OHOS::Developtools::NativeDaemon::UnitTest::ElfSymbolFromReadelf 561 std::unique_ptr<ShdrFromReadelf> ShdrFromReadelf::MakeUnique(const std::string &line) in MakeUnique() function in OHOS::Developtools::NativeDaemon::UnitTest::ShdrFromReadelf [all …]
|
| /developtools/hiperf/test/unittest/common/native/ |
| D | elf_parser_test.cpp | 141 std::unique_ptr<ElfFileFromReadelf> ElfFileFromReadelf::MakeUnique(ElfFileType fileType) in MakeUnique() function in OHOS::Developtools::HiPerf::UnitTest::ElfFileFromReadelf 226 ehdr_ = EhdrFromReadelf::MakeUnique(ehdrFP_); in ParseElfHeader() 245 auto phdr = PhdrFromReadelf::MakeUnique(line1 + line2); in ParsePrgHeaders64() 266 auto phdr = PhdrFromReadelf::MakeUnique(line); in ParsePrgHeaders32() 289 auto shdr = ShdrFromReadelf::MakeUnique(line1 + line2); in ParseSecHeaders64() 310 auto shdr = ShdrFromReadelf::MakeUnique(line); in ParseSecHeaders32() 358 auto dynSym = ElfSymbolFromReadelf::MakeUnique(line); in ParseSymsInDynSym() 380 auto sym = ElfSymbolFromReadelf::MakeUnique(line); in ParseSymsInSymTab() 461 std::unique_ptr<ElfSymbolFromReadelf> ElfSymbolFromReadelf::MakeUnique(const std::string &line) in MakeUnique() function in OHOS::Developtools::HiPerf::UnitTest::ElfSymbolFromReadelf 562 std::unique_ptr<ShdrFromReadelf> ShdrFromReadelf::MakeUnique(const std::string &line) in MakeUnique() function in OHOS::Developtools::HiPerf::UnitTest::ShdrFromReadelf [all …]
|