Home
last modified time | relevance | path

Searched refs:CHECK_NOTNULL (Results 1 – 25 of 56) sorted by relevance

123

/developtools/profiler/device/plugins/api/src/
Dplugin_module.cpp122 CHECK_NOTNULL(structPtr_, false, "structPtr_ is nullptr"); in GetPluginName()
132 CHECK_NOTNULL(structPtr_, false, "structPtr_ is nullptr"); in GetBufferSizeHint()
142 CHECK_NOTNULL(structPtr_, false, "structPtr_ is nullptr"); in GetStandaloneFileData()
151 CHECK_NOTNULL(structPtr_, false, "structPtr_ is nullptr"); in GetOutFileName()
179 CHECK_NOTNULL(structPtr_, "", "structPtr_ is nullptr"); in GetPluginName()
198 CHECK_NOTNULL(handle_, false, "%s:plugin not load", __func__); in BindFunctions()
224 CHECK_NOTNULL(handle_, false, "%s:plugin not load", __func__); in StartSession()
237 CHECK_NOTNULL(handle_, false, "%s:plugin not load", __func__); in StopSession()
250 CHECK_NOTNULL(handle_, false, "%s:plugin not load", __func__); in ReportBasicData()
254 CHECK_NOTNULL(write, false, "%s:get write falied!", __func__); in ReportBasicData()
[all …]
Dcommand_poller.cpp52 CHECK_NOTNULL(pluginManager, false, "promote FAILED!"); in OnCreateSessionCmd()
83 CHECK_NOTNULL(pluginManager, false, "promote FAILED!"); in OnDestroySessionCmd()
103 CHECK_NOTNULL(pluginManager, false, "promote FAILED!"); in OnStartSessionCmd()
118 CHECK_NOTNULL(pluginManager, false, "promote FAILED!"); in OnStopSessionCmd()
132 CHECK_NOTNULL(pluginManager, false, "promote FAILED!"); in OnReportBasicDataCmd()
Dmain.cpp81 CHECK_NOTNULL(pluginManager, 1, "create PluginManager FAILED!"); in main()
84 CHECK_NOTNULL(commandPoller, 1, "create CommandPoller FAILED!"); in main()
/developtools/profiler/device/plugins/ftrace_plugin/src/
Dflow_controller.cpp87 CHECK_NOTNULL(writer, -1, "writer null!"); in SetWriter()
89 CHECK_NOTNULL(transmiter, -1, "create ResultTransporter FAILED!"); in SetWriter()
97 CHECK_NOTNULL(traceOps, -1, "get trace ops failed!"); in SetWriter()
100 CHECK_NOTNULL(ftraceParser_, 0, "FtraceParser create FAILED!"); in SetWriter()
104 CHECK_NOTNULL(ksymsParser_, 0, "KernelSymbolsParser create FAILED!"); in SetWriter()
121 CHECK_NOTNULL(reader, false, "create reader %d FAILED!", i); in CreateRawDataReaders()
139 CHECK_NOTNULL(memPool_, false, "create PagedMemPool FAILED!"); in CreatePagedMemoryPool()
149 CHECK_NOTNULL(buffer, false, "create buffer %d failed!", i); in CreateRawDataBuffers()
185 CHECK_NOTNULL(ftraceParser_, -1, "create FtraceParser FAILED!"); in StartCapture()
186 CHECK_NOTNULL(ksymsParser_, -1, "create KernelSymbolsParser FAILED!"); in StartCapture()
[all …]
Dftrace_module.cpp45 CHECK_NOTNULL(g_mainController, -1, "no FlowController created!"); in TracePluginStartSession()
60 CHECK_NOTNULL(g_mainController, -1, "no FlowController created!"); in TracePluginReportBasicData()
71 CHECK_NOTNULL(g_mainController, -1, "no FlowController created!"); in TracePluginStopSession()
/developtools/profiler/device/plugins/hilog_plugin/src/
Dfile_cache.cpp36 CHECK_NOTNULL(fp_, false, "FileCache: open(%s) Failed, errno(%d)", targetFile.c_str(), errno); in Open()
43 CHECK_NOTNULL(fp_, -1, "FileCache:%s fp_ invalid!", __func__); in Write()
59 CHECK_NOTNULL(content, -1, "FileCache:%s param invalid!", __func__); in Read()
60 CHECK_NOTNULL(fp_, -1, "FileCache:%s fp_ invalid!", __func__); in Read()
82 CHECK_NOTNULL(fp_, false, "FileCache: %s fp is null", __func__); in Close()
Dhilog_plugin.cpp85 CHECK_NOTNULL(fp, -1, "%s:clear hilog error", __func__); in Start()
91CHECK_NOTNULL(fp_.get(), -1, "HilogPlugin: open(%s) Failed, errno(%d)", fullCmd_.c_str(), errno); in Start()
96 CHECK_NOTNULL(resultWriter_, -1, "HilogPlugin: Writer is no set!!"); in Start()
97 CHECK_NOTNULL(resultWriter_->write, -1, "HilogPlugin: Writer.write is no set!!"); in Start()
98 CHECK_NOTNULL(resultWriter_->flush, -1, "HilogPlugin: Writer.flush is no set!!"); in Start()
348 CHECK_NOTNULL(*p, false, "HilogPlugin:%s", __func__); in FindFirstNum()
360 CHECK_NOTNULL(*p, false, "HilogPlugin:%s", __func__); in RemoveSpaces()
375 CHECK_NOTNULL(*p, false, "HilogPlugin:%s", __func__); in FindFirstSpace()
448 CHECK_NOTNULL(psDateTime, -1, "HilogPlugin:%s param invalid", __func__); in GetDateTime()
527 CHECK_NOTNULL(fp, -1, "HilogPlugin:%s fp is null", __func__); in CustomPclose()
Dhilog_module.cpp31 CHECK_NOTNULL(g_plugin, -1, "start hilog session FAILED!"); in HilogPluginSessionStart()
/developtools/profiler/device/services/plugin_service/src/
Dplugin_service.cpp51 CHECK_NOTNULL(eventPoller_, NO_RETVAL, "create event poller FAILED!"); in PluginService()
116 CHECK_NOTNULL(pluginCtx, false, "get PluginContext failed!"); in CreatePluginSession()
132 CHECK_NOTNULL(notifier, false, "create EventNotifier for %s failed!", pluginName.c_str()); in CreatePluginSession()
162 CHECK_NOTNULL(pluginCtx, false, "get PluginContext failed!"); in CreatePluginSession()
183 CHECK_NOTNULL(pluginCtx, false, "get PluginContext failed!"); in StartPluginSession()
199 CHECK_NOTNULL(pluginCtx, false, "get PluginContext failed!"); in StopPluginSession()
208 CHECK_NOTNULL(sem, false, "create Semaphore for stop %s FAILED!", pluginName.c_str()); in StopPluginSession()
235 CHECK_NOTNULL(pluginCtx, false, "get PluginContext failed!"); in DestroyPluginSession()
261 CHECK_NOTNULL(pluginCtx, false, "get PluginContext failed!"); in RefreshPluginSession()
274 CHECK_NOTNULL(pluginCtx, false, "get PluginContext failed!"); in RemovePluginSessionCtx()
[all …]
Dplugin_session.cpp60CHECK_NOTNULL(pluginService, false, "PluginSession::%s pluginService promote failed!", __func__); in Create()
85CHECK_NOTNULL(pluginService, false, "PluginSession::%s pluginService promote failed!", __func__); in Destroy()
125CHECK_NOTNULL(pluginService, false, "PluginSession::%s pluginService promote failed!", __func__); in Start()
142CHECK_NOTNULL(pluginService, false, "PluginSession::%s pluginService promote failed!", __func__); in Refresh()
163CHECK_NOTNULL(pluginService, false, "PluginSession::%s pluginService promote failed!", __func__); in StopLocked()
Dplugin_session_manager.cpp40 CHECK_NOTNULL(pluginSvc, false, "plugin service null!"); in CheckPluginSha256()
62 CHECK_NOTNULL(session, nullptr, "allocate plugin session for %s failed!", name.c_str()); in CreatePluginSession()
75 CHECK_NOTNULL(session, nullptr, "allocate plugin session for %s failed!", name.c_str()); in CreatePluginSession()
92 CHECK_NOTNULL(session, false, "create plugin-%zu session failed!", i); in CreatePluginSessions()
112 CHECK_NOTNULL(session, false, "create plugin-%zu session without shmem buffer failed!", i); in CreatePluginSessions()
/developtools/profiler/device/plugins/hisysevent_plugin/src/
Dhisysevent_plugin.cpp54 CHECK_NOTNULL(configData, -1, "NOTE %s: param invalid", __func__); in Start()
68 CHECK_NOTNULL(fp_.get(), -1, "HisyseventPlugin: fullCmd_ Failed, errno(%d)", errno); in Start()
69 CHECK_NOTNULL(resultWriter_, -1, "HisyseventPlugin: Writer is no set!!"); in Start()
70 CHECK_NOTNULL(resultWriter_->write, -1, "HisyseventPlugin: Writer.write is no set!!"); in Start()
71 CHECK_NOTNULL(resultWriter_->flush, -1, "HisyseventPlugin: Writer.flush is no set!!"); in Start()
Dhisysevent_module.cpp30 CHECK_NOTNULL(g_plugin, -1, "start Hisysevent session FAILED!"); in HisyseventSessionStart()
/developtools/profiler/device/plugins/hidump_plugin/src/
Dhidump_plugin.cpp77 CHECK_NOTNULL(resultWriter_, -1, "HidumpPlugin: Writer is no set!"); in Start()
78 CHECK_NOTNULL(resultWriter_->write, -1, "HidumpPlugin: Writer.write is no set!"); in Start()
79 CHECK_NOTNULL(resultWriter_->flush, -1, "HidumpPlugin: Writer.flush is no set!"); in Start()
157 CHECK_NOTNULL(tmp, false, "format error. %s", buf); in ParseHidumpInfo()
222 CHECK_NOTNULL(fp, -1, "HidumpPlugin:%s fp is null", __func__); in CustomPclose()
247 CHECK_NOTNULL(test_cmd, -1, "HidumpPlugin:%s test_cmd is null", __func__); in SetTestCmd()
Dhidump_module.cpp30 CHECK_NOTNULL(g_plugin, -1, "start Hidump session FAILED!"); in HidumpSessionStart()
/developtools/profiler/hiebpf/src/
Delf_symbol_info.cpp28 CHECK_NOTNULL(elfFile, false, "elf '%s' load failed\n", fileName.c_str()); in GetSymbolTable()
48 CHECK_NOTNULL(data, false, "get section data failed"); in GetSymbolTable()
58 CHECK_NOTNULL(data, false, "get section data failed"); in GetSymbolTable()
67 CHECK_NOTNULL(data, false, "get section data failed"); in GetSymbolTable()
77 CHECK_NOTNULL(data, false, "get section data failed"); in GetSymbolTable()
Delf_file.cpp58 CHECK_NOTNULL(file, nullptr, "Error in ElfFile::MakeUnique(): ElfFile::ElfFile() failed"); in MakeUnique()
96 CHECK_NOTNULL(phdrsBuf, false, "Error in ELF::ElfFile::ParsePrgHeaders(): new failed"); in ParsePrgHeaders()
133 CHECK_NOTNULL(shdrBuf, false, "Error in ElfFile::ParseSecNamesStr(): new failed"); in ParseSecNamesStr()
160CHECK_NOTNULL(secNamesBuf, false, "Error in ElfFile::ParseSecNamesStr(): new secNamesBuf failed"); in ParseSecNamesStr()
183 CHECK_NOTNULL(shdrsBuf, false, "Error in ELF::ElfFile::ParseSecHeaders(): new failed"); in ParseSecHeaders()
234 CHECK_NOTNULL(ehdr, nullptr, "ElfHeader() failed"); in MakeUnique()
459 CHECK_NOTNULL(phdr, nullptr, "ProgramHeader() failed"); in MakeUnique()
/developtools/profiler/device/plugins/native_daemon/src/
Delf_symbol.cpp27 CHECK_NOTNULL(sym, nullptr, "Error in ElfSymbol::MakeUnique(): ElfSymbol::ElfSymbol() failed"); in MakeUnique()
80CHECK_NOTNULL(symTable, nullptr, "Error in SymbleTable::MakeUnique(): SymbleTable::SymbolTable() f… in MakeUnique()
110CHECK_NOTNULL(sym, nullptr, "Error in SymbolTable::MakeUnique(): ElfSymbol::MakeUnique() failed"); in MakeUnique()
Delf_file.cpp65 CHECK_NOTNULL(file, nullptr, "Error in ElfFile::MakeUnique(): ElfFile::ElfFile() failed"); in MakeUnique()
103 CHECK_NOTNULL(phdrsBuf, false, "Error in ELF::ElfFile::ParsePrgHeaders(): new failed"); in ParsePrgHeaders()
139 CHECK_NOTNULL(shdrBuf, false, "Error in ElfFile::ParseSecNamesStr(): new failed"); in ParseSecNamesStr()
191 CHECK_NOTNULL(shdrsBuf, false, "Error in ELF::ElfFile::ParseSecHeaders(): new failed"); in ParseSecHeaders()
240 CHECK_NOTNULL(secBuf, false, "Error in EFL::ElfFile::ParseSymTable(): new failed"); in ParseSymTable()
265 CHECK_NOTNULL(secBuf, false, "Error in ElfFile::ParsesymNamesStr(): new failed"); in ParseSymNamesStr()
294 CHECK_NOTNULL(secBuf, false, "Error in EFL::ElfFile::ParseDynSymTable(): new failed"); in ParseDynSymTable()
/developtools/profiler/device/services/shared_memory/src/
Dshare_memory_block.cpp171 CHECK_NOTNULL(header_, nullptr, "header not ready!"); in GetCurrentFreeMemory()
218 CHECK_NOTNULL(header_, false, "header not ready!"); in PutRaw()
238 CHECK_NOTNULL(header_, false, "header not ready!"); in PutRawTimeout()
271 CHECK_NOTNULL(header_, false, "header not ready!"); in PutWithPayloadTimeout()
307 CHECK_NOTNULL(header_, false, "header not ready!"); in PutMessage()
329 CHECK_NOTNULL(header_, false, "header not ready!"); in TakeData()
397 CHECK_NOTNULL(header_, false, "header not ready!"); in PutWithPayloadSync()
Dshare_memory_allocator.cpp43 CHECK_NOTNULL(pmb, false, "FAIL %s", name.c_str()); in ReleaseMemoryBlockLocal()
53 CHECK_NOTNULL(pmb, false, "FAIL %s", name.c_str()); in ReleaseMemoryBlockRemote()
/developtools/profiler/device/services/profiler_service/src/
Dmain.cpp39 CHECK_NOTNULL(service, -1, "ProfilerService create failed!"); in main()
/developtools/profiler/device/base/src/
Depoll_event_poller.cpp48 CHECK_NOTNULL(ctx, false, "create EventContext FAILED!"); in AddFileDescriptor()
65 CHECK_NOTNULL(ctx, false, "ctx null!"); in RemoveFileDescriptor()
182 CHECK_NOTNULL(eventFdCtx, false, "create EventContext failed!"); in Init()
/developtools/profiler/device/plugins/cpu_plugin/src/
Dcpu_module.cpp37 CHECK_NOTNULL(g_plugin, -1, "g_plugin is nullptr"); in CpuPluginReportResult()
/developtools/profiler/device/plugins/diskio_plugin/src/
Ddiskio_module.cpp37 CHECK_NOTNULL(g_plugin, -1, "g_plugin -s nullptr"); in DiskioPluginReportResult()

123