Merge "Register IonHeapSize puller only if supported" into rvc-dev am: bb26e42b19 am: f28dae923f am: 9eea2c2192
Change-Id: I9882eaec44066290a68397b314ab7e43094a4afe
This commit is contained in:
@@ -1468,6 +1468,9 @@ public class StatsPullAtomService extends SystemService {
|
||||
}
|
||||
|
||||
private void registerIonHeapSize() {
|
||||
if (!new File("/sys/kernel/ion/total_heaps_kb").exists()) {
|
||||
return;
|
||||
}
|
||||
int tagId = FrameworkStatsLog.ION_HEAP_SIZE;
|
||||
mStatsManager.registerPullAtomCallback(
|
||||
tagId,
|
||||
|
||||
Reference in New Issue
Block a user