mirror of
https://gitee.com/openharmony/developtools_hiperf
synced 2024-11-26 17:21:15 +00:00
fix stat pid not exist
Change-Id: Iff7582e6189bbc62851e273fb1544261e4bd1181 Signed-off-by: leiguangyu <leiguangyu@huawei.com>
This commit is contained in:
parent
95877614a6
commit
4329d3ae67
@ -650,8 +650,8 @@ bool SubCommandStat::OnSubCommand(std::vector<std::string> &args)
|
||||
HLOGV("CheckAppIsRunning() failed");
|
||||
return false;
|
||||
}
|
||||
if (!CheckOptionPidAndApp(selectPids_)) {
|
||||
HLOGV("CheckOptionPidAndApp() failed");
|
||||
if (!CheckOptionPid(selectPids_)) {
|
||||
HLOGV("CheckOptionPid() failed");
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user