summaryrefslogtreecommitdiff
path: root/tools/dump-coverage/README.md
diff options
context:
space:
mode:
authorOliver Nguyen <olivernguyen@google.com>2019-07-16 14:09:38 -0700
committerOliver Nguyen <olivernguyen@google.com>2019-07-18 10:46:05 -0700
commit05b1c06a91b54321bd2b329916ea0702a020d12e (patch)
treea45bad46f3bd94729a526a96ad868ac2cfc7f564 /tools/dump-coverage/README.md
parent3a54f81a362131e5daa0ebc0a2c03c100875afef (diff)
Change coverage dump to specify the output file instead of directory.
Bug: 137857876 Test: manual Change-Id: I2d835856d7a1b6b1ded561eca923f455b39317e4
Diffstat (limited to 'tools/dump-coverage/README.md')
-rw-r--r--tools/dump-coverage/README.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/dump-coverage/README.md b/tools/dump-coverage/README.md
index 2bab4bc8c984..d1c10bc2e520 100644
--- a/tools/dump-coverage/README.md
+++ b/tools/dump-coverage/README.md
@@ -16,7 +16,7 @@ adb shell 'mkdir /data/data/com.android.deskclock/folder-to-use'
Then we can run the command to dump the data:
```
-adb shell 'am attach-agent com.android.deskclock /system/lib/libdumpcoverage.so=dump:/data/data/com.android.deskclock/folder-to-use'
+adb shell 'am attach-agent com.android.deskclock /system/lib/libdumpcoverage.so=dump:/data/data/com.android.deskclock/folder-to-use/coverage-file.ec'
```
We can also reset the coverage information with
@@ -28,10 +28,10 @@ adb shell 'am attach-agent com.android.deskclock /system/lib/libdumpcoverage.so=
then perform more actions, then dump the data again. To get the files, we can get
```
-adb pull /data/data/com.android.deskclock/folder-to-use ~/path-on-your-computer
+adb pull /data/data/com.android.deskclock/folder-to-use/coverage-file.ec ~/path-on-your-computer
```
-And you should have timestamped `.exec` files on your machine under the folder `~/path-on-your-computer`
+And you should have `coverage-file.ec` on your machine under the folder `~/path-on-your-computer`
# Details