告警清理

Signed-off-by: zengxj <zengxiangjun8@h-partners.com>
Change-Id: If0545407db48f0e28ba2dda7ae9ea11a98e4b998
This commit is contained in:
zengxj 2024-10-25 11:47:58 +08:00
parent 06f6ba60e8
commit a2ba8ec3d9

View File

@ -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);