Merge "Prevent double-counting of kernel stack size in dumpsys reports" am: 9493f0ed0b am: a457a78ab7

Change-Id: I5454c8a0c92bd8b25956cf96b987199fffe3a898
This commit is contained in:
Automerger Merge Worker
2020-01-03 01:15:50 +00:00
3 changed files with 34 additions and 3 deletions

View File

@@ -2526,4 +2526,12 @@ public final class Debug
* @hide
*/
public static native long getIonMappedSizeKb();
/**
* Return whether virtually-mapped kernel stacks are enabled (CONFIG_VMAP_STACK).
* Note: caller needs config_gz read sepolicy permission
*
* @hide
*/
public static native boolean isVmapStack();
}