Merge "Debug: Initialize local to false" am: 33d404efb0
am: 3327b49429
Change-Id: Ie60b97b1d3e97e1461953fe34ca3d181d323e315
This commit is contained in:
@@ -430,6 +430,8 @@ static void load_maps(int pid, stats_t* stats, bool* foundSwapPss)
|
|||||||
char tmp[128];
|
char tmp[128];
|
||||||
FILE *fp;
|
FILE *fp;
|
||||||
|
|
||||||
|
*foundSwapPss = false;
|
||||||
|
|
||||||
sprintf(tmp, "/proc/%d/smaps", pid);
|
sprintf(tmp, "/proc/%d/smaps", pid);
|
||||||
fp = fopen(tmp, "r");
|
fp = fopen(tmp, "r");
|
||||||
if (fp == 0) return;
|
if (fp == 0) return;
|
||||||
|
|||||||
Reference in New Issue
Block a user