Home
last modified time | relevance | path

Searched refs:MakeUnique (Results 1 – 13 of 13) sorted by relevance

/developtools/profiler/hiebpf/test/unittest/
Dbpf_log_reader_test.cpp52 HWTEST_F(BPFLogReaderTest, MakeUnique, TestSize.Level1)
54 auto logger = BPFLogReader::MakeUnique("");
57 logger = BPFLogReader::MakeUnique("stdout");
60 logger = BPFLogReader::MakeUnique(FILE_NAME);
Dlibbpf_logger_test.cpp42 HWTEST_F(LIBBPFLoggerTest, MakeUnique, TestSize.Level1)
44 auto logger = LIBBPFLogger::MakeUnique("", -1);
47 logger = LIBBPFLogger::MakeUnique("stdout", 0);
Dbpf_controller_test.cpp69 std::unique_ptr<BPFController> pCtx = BPFController::MakeUnique(cfg);
/developtools/profiler/hiebpf/include/
Delf_file.h57 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);
Dlibbpf_logger.h36 static std::unique_ptr<LIBBPFLogger> MakeUnique(const std::string& logFile, int logLevel);
Dbpf_log_reader.h28 …static std::unique_ptr<BPFLogReader> MakeUnique(const std::string& logFile = "/data/local/tmp/bpf_…
Dbpf_controller.h74 static std::unique_ptr<BPFController> MakeUnique(const struct BPFConfig& config);
/developtools/profiler/hiebpf/src/
Delf_file.cpp55 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
Dlibbpf_logger.cpp28 std::unique_ptr<LIBBPFLogger> LIBBPFLogger::MakeUnique(const std::string& logFile, int logLevel) in MakeUnique() function in LIBBPFLogger
Dbpf_log_reader.cpp43 std::unique_ptr<BPFLogReader> BPFLogReader::MakeUnique(const std::string& logFile) in MakeUnique() function in BPFLogReader
Dbpf_controller.cpp80 std::unique_ptr<BPFController> BPFController::MakeUnique(const BPFConfig& config) in MakeUnique() function in BPFController
336 bpfLogReader_ = BPFLogReader::MakeUnique(config_.BPFLogFile_); in ConfigBPFLogger()
351 libbpfLogger = LIBBPFLogger::MakeUnique(config_.LIBBPFLogFile_, config_.LIBBPFLogLevel_); in ConfigLIBBPFLogger()
388 std::unique_ptr<ElfFile> elfFile = ElfFile::MakeUnique(path); in GetSymOffset()
Delf_symbol_info.cpp27 std::unique_ptr<ElfFile> elfFile = ElfFile::MakeUnique(fileName); in GetSymbolTable()
Dhiebpf.cpp223 bpfController = BPFController::MakeUnique(GenBPFConfigFromFlags(cmd)); in main()