Home
last modified time | relevance | path

Searched refs:pidStr (Results 1 - 6 of 6) sorted by relevance

/developtools/profiler/host/smartperf/client/client_command/
H A Dsmartperf_command.cpp40 std::string pidStr = sd.GetPidByPkg("SP_daemon"); in SmartPerfCommand() local
43 SPUtils::LoadCmd(cmdStr + pidStr, result); in SmartPerfCommand()
91 std::string pidStr = sd.GetPidByPkg("SP_daemon"); in HelpCommand() local
94 SPUtils::LoadCmd(cmdStr + pidStr, result); in HelpCommand()
/developtools/smartperf_host/trace_streamer/src/parser/ptreader_parser/hilog_parser/
H A Dptreader_hilog_parser.cpp100 std::string pidStr = matcheLine[HILOG_MATCH_SEQ_PID].str(); in ParseHilogDataItem() local
101 std::optional<uint32_t> optionalPid = base::StrToInt<uint32_t>(pidStr); in ParseHilogDataItem()
103 TS_LOGD("Illegal pid: %s", pidStr.c_str()); in ParseHilogDataItem()
/developtools/profiler/device/plugins/ftrace_plugin/src/
H A Dftrace_parser.cpp507 auto pidStr = line.substr(0, pos); in ParseSavedCmdlines() local
508 pid = COMMON::IsNumeric(pidStr) ? std::stoi(pidStr) : 0; in ParseSavedCmdlines()
/developtools/profiler/hidebug/frameworks/native/src/
H A Dhidebug_native_interface_impl.cpp251 std::string pidStr = line.substr(line.find(":") + 1); in IsDebuggerConnected() local
252 return std::atoi(pidStr.c_str()) != 0; in IsDebuggerConnected()
/developtools/profiler/device/base/src/
H A Dcommon.cpp118 std::string pidStr = std::to_string(getpid()); in IsProcessRunning() local
119 auto nbytes = write(fd, pidStr.data(), pidStr.size()); in IsProcessRunning()
121 CHECK_TRUE(static_cast<size_t>(nbytes) == pidStr.size(), false, "write pid FAILED!"); in IsProcessRunning()
/developtools/smartperf_host/trace_streamer/test/unittest/ptreader_parser/
H A Devent_parser_test.cpp167 bytraceLine.pidStr = "12"; in HWTEST_F()

Completed in 7 milliseconds