Home
last modified time | relevance | path

Searched refs:cpuUsagePid_ (Results 1 – 12 of 12) sorted by relevance

/base/hiviewdfx/hidumper/frameworks/native/src/executor/
Dcpu_dumper.cpp38 cpuUsagePid_ = (parameter->GetOpts()).cpuUsagePid_; in PreExecute()
39 if (cpuUsagePid_ != -1) { in PreExecute()
74 if (cpuUsagePid_ != -1) { in AfterExecute()
87 dumpCpu.cpuUsagePid_ = cpuUsagePid_; in GetDumpCpuData()
/base/hiviewdfx/hidumper/frameworks/native/src/common/
Ddumper_opts.cpp43 cpuUsagePid_ = -1; in Reset()
74 cpuUsagePid_ = opts.cpuUsagePid_; in operator =()
157 if (cpuUsagePid_ < -1) { in CheckOptions()
158 errStr = std::to_string(cpuUsagePid_); in CheckOptions()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_manager_cpu_service.cpp241 cpuUsagePid_ = dumpCpuData.cpuUsagePid_; in InitParam()
242 if (cpuUsagePid_ != INVALID_PID) { in InitParam()
257 if (cpuUsagePid_ != INVALID_PID) { in ResetParam()
274 if (cpuUsagePid_ != INVALID_PID) { in DumpCpuUsageData()
314 if (!DumpCpuInfoUtil::GetInstance().GetOldSpecProcInfo(cpuUsagePid_, oldSpecProc_)) { in GetProcCPUInfo()
316 if (!DumpCpuInfoUtil::GetInstance().GetOldSpecProcInfo(cpuUsagePid_, oldSpecProc_)) { in GetProcCPUInfo()
317 … DUMPER_HILOGE(MODULE_CPU_SERVICE, "Get old process %{public}d info failed!.", cpuUsagePid_); in GetProcCPUInfo()
329 if (!DumpCpuInfoUtil::GetInstance().GetCurSpecProcInfo(cpuUsagePid_, curSpecProc_)) { in GetProcCPUInfo()
330 … DUMPER_HILOGE(MODULE_CPU_SERVICE, "Get current process %{public}d info failed!.", cpuUsagePid_); in GetProcCPUInfo()
391 if (cpuUsagePid_ != INVALID_PID) { in CreateCPUStatString()
[all …]
Ddump_cpu_data.cpp24 … : startTime_(startTime), endTime_(endTime), cpuUsagePid_(cpuUsagePid), dumpCPUDatas_(dumpCPUDatas) in DumpCpuData()
36 RETURN_PARCEL_WRITE_HELPER_RET(parcel, Int32, cpuUsagePid_, false); in Marshalling()
63 RETURN_PARCEL_READ_HELPER_RET(parcel, Int32, cpuUsagePid_, false); in ReadFromParcel()
/base/hiviewdfx/hidumper/frameworks/native/include/common/
Ddumper_opts.h24 int cpuUsagePid_; member
/base/hiviewdfx/hidumper/frameworks/native/include/executor/
Dcpu_dumper.h37 int cpuUsagePid_ = -1; variable
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/
Ddump_cpu_data.h55 int cpuUsagePid_ = -1; variable
/base/hiviewdfx/hidumper/services/native/include/
Ddump_manager_cpu_service.h82 int cpuUsagePid_{-1};
/base/hiviewdfx/hidumper/frameworks/native/src/manager/
Ddump_implement.cpp155 opts.cpuUsagePid_ = clientPid; in CmdParse()
259 status = SetCmdIntegerParameter(argv[optind - 1], opts_.cpuUsagePid_); in SetCmdParameter()
652 if ((opts_.cpuUsagePid_ > -1) && !DumpUtils::CheckProcessAlive(opts_.cpuUsagePid_)) { in CheckProcessAlive()
653 SendPidErrorMessage(opts_.cpuUsagePid_); in CheckProcessAlive()
/base/hiviewdfx/hidumper/test/unittest/common/
Dhidumper_innerkits_test.cpp213 opts.cpuUsagePid_ = g_pid;
Dhidumper_dumpers_test.cpp121 opts.cpuUsagePid_ = pid; in HandleCpuDumperTest()
/base/hiviewdfx/hidumper/frameworks/native/src/util/
Dconfig_utils.cpp312 isDumpSystemSystem, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage()
313 if (isDumpSystemSystem && (dumperOpts.cpuUsagePid_ < 0)) { in HandleDumpCpuUsage()
320 MergePidInfos(currentPidInfos_, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage()