Home
last modified time | relevance | path

Searched refs:fullCmd_ (Results 1 – 4 of 4) sorted by relevance

/developtools/profiler/device/plugins/hisysevent_plugin/src/
Dhisysevent_plugin.cpp64 COMMON::CustomPopen(fullCmd_, "r", pipeFds_, childPid_, true), [this](FILE* fp) -> int { in Start()
133 if (!fullCmd_.empty()) { in GetFullCmd()
135 for (size_t cmdSize = fullCmd_.size() - 1; i < cmdSize; i++) { in GetFullCmd()
136 cmd.append(fullCmd_[i]).append(" "); in GetFullCmd()
138 cmd.append(fullCmd_[i]); in GetFullCmd()
146 if (!fullCmd_.empty()) { in InitHisyseventCmd()
148 fullCmd_.clear(); in InitHisyseventCmd()
151 fullCmd_.emplace_back("/bin/hisysevent"); // exe file path in InitHisyseventCmd()
152 fullCmd_.emplace_back("hisysevent"); // exe file name in InitHisyseventCmd()
153 fullCmd_.emplace_back("-rd"); in InitHisyseventCmd()
/developtools/profiler/device/plugins/hilog_plugin/src/
Dhilog_plugin.cpp76 fullCmd_ = ClearHilog(); in Start()
77 CHECK_TRUE(!fullCmd_.empty(), -1, "HilogPlugin: fullCmd_ is empty"); in Start()
79 COMMON::SplitString(fullCmd_, " ", cmdArg); in Start()
90 fp_ = std::unique_ptr<FILE, int (*)(FILE*)>(CustomPopen(fullCmd_.c_str(), "r"), CustomPclose); in Start()
91 … CHECK_NOTNULL(fp_.get(), -1, "HilogPlugin: open(%s) Failed, errno(%d)", fullCmd_.c_str(), errno); in Start()
178 fullCmd_ = "hilog"; in InitHilogCmd()
180 fullCmd_ += " -P "; in InitHilogCmd()
181 fullCmd_ += GetPidCmd(); in InitHilogCmd()
184 fullCmd_ += " -L "; in InitHilogCmd()
185 fullCmd_ += GetlevelCmd(); in InitHilogCmd()
[all …]
/developtools/profiler/device/plugins/hilog_plugin/include/
Dhilog_plugin.h66 return fullCmd_; in GetFullCmd()
79 std::string fullCmd_; variable
/developtools/profiler/device/plugins/hisysevent_plugin/include/
Dhisysevent_plugin.h50 std::vector<std::string> fullCmd_; variable