forked from chromium/chromium
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Android: Code residency: Measure success rate of the measurements
Introduce a histogram reporting successes and failures at pulling code residency data from /proc/self/pagemap. Opening and reading /proc/self/pagemap can fail at fopen(3), fseek(3) and fread(3). We think that we can potentially mitigate errors at fopen, see the bug for details. The current code distinguishes two error kinds: 1. at fopen 2. at fseek or fread The histogram mirrors this separation. In the future the fopen errors can also be broken down into several errno values. At this point the extra detail seems unnecessary. Bug: 1070618 Change-Id: I2b88c24c0861b46845707dbf88b16b2e4817ae22 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2215856 Commit-Queue: Egor Pasko <pasko@chromium.org> Reviewed-by: Benoit L <lizeb@chromium.org> Reviewed-by: Primiano Tucci <primiano@chromium.org> Reviewed-by: Alex Ilin <alexilin@chromium.org> Cr-Commit-Position: refs/heads/master@{#772314}
- Loading branch information
Showing
4 changed files
with
47 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters