mirror of
https://gitee.com/openharmony/developtools_profiler
synced 2024-11-26 16:41:00 +00:00
告警清理
Signed-off-by: zengxj <zengxiangjun8@h-partners.com> Change-Id: If0545407db48f0e28ba2dda7ae9ea11a98e4b998
This commit is contained in:
parent
06f6ba60e8
commit
a2ba8ec3d9
@ -63,7 +63,6 @@ void PrintUsage(const string& program)
|
||||
int ParseMapsLine(const string& line, MapInfo& mapping)
|
||||
{
|
||||
std::istringstream iss(line);
|
||||
std::string token;
|
||||
uint64_t start, end;
|
||||
|
||||
// 读取起始地址和结束地址
|
||||
@ -128,7 +127,7 @@ void PrintPage(const MapInfo& mapping, const PageInfo& page)
|
||||
bool IsValidPid(const string& pid_str)
|
||||
{
|
||||
if (pid_str.empty()) {
|
||||
return -1;
|
||||
return false;
|
||||
}
|
||||
bool ret = all_of(pid_str.begin(), pid_str.end(), [](char c) {
|
||||
return isdigit(c);
|
||||
|
Loading…
Reference in New Issue
Block a user