Searched refs:cpuUsagePid_ (Results 1 – 12 of 12) sorted by relevance
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | cpu_dumper.cpp | 38 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/ |
D | dumper_opts.cpp | 43 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/ |
D | dump_manager_cpu_service.cpp | 241 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 …]
|
D | dump_cpu_data.cpp | 24 … : 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/ |
D | dumper_opts.h | 24 int cpuUsagePid_; member
|
/base/hiviewdfx/hidumper/frameworks/native/include/executor/ |
D | cpu_dumper.h | 37 int cpuUsagePid_ = -1; variable
|
/base/hiviewdfx/hidumper/interfaces/native/innerkits/include/ |
D | dump_cpu_data.h | 55 int cpuUsagePid_ = -1; variable
|
/base/hiviewdfx/hidumper/services/native/include/ |
D | dump_manager_cpu_service.h | 82 int cpuUsagePid_{-1};
|
/base/hiviewdfx/hidumper/frameworks/native/src/manager/ |
D | dump_implement.cpp | 155 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/ |
D | hidumper_innerkits_test.cpp | 213 opts.cpuUsagePid_ = g_pid;
|
D | hidumper_dumpers_test.cpp | 121 opts.cpuUsagePid_ = pid; in HandleCpuDumperTest()
|
/base/hiviewdfx/hidumper/frameworks/native/src/util/ |
D | config_utils.cpp | 312 isDumpSystemSystem, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage() 313 if (isDumpSystemSystem && (dumperOpts.cpuUsagePid_ < 0)) { in HandleDumpCpuUsage() 320 MergePidInfos(currentPidInfos_, dumperOpts.cpuUsagePid_); in HandleDumpCpuUsage()
|