summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPirama Arumuga Nainar <pirama@google.com>2019-06-05 14:19:04 -0700
committerandroid-build-merger <android-build-merger@google.com>2019-06-05 14:19:04 -0700
commite9ddbdf4a8dadec90a29b33fba663901563a2e17 (patch)
tree7cb4b251872f8ec8e56afdbca95065bdd2b3a66d
parentc3961e7d74734c7632fc6157ad82ef6e3bca4abc (diff)
parentbaedc8e8815de4e5ec0060ce7a9292560422b268 (diff)
downloadextras-e9ddbdf4a8dadec90a29b33fba663901563a2e17.tar.gz
Prefix sysprop for flushing coverage with 'debug.'
am: baedc8e881 Change-Id: I126ba230b198665a5d1113d383cf2bc5a1470b15
-rw-r--r--toolchain-extras/profile-extras-test.cpp2
-rw-r--r--toolchain-extras/profile-extras.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/toolchain-extras/profile-extras-test.cpp b/toolchain-extras/profile-extras-test.cpp
index 0cc4cef8..5e48a646 100644
--- a/toolchain-extras/profile-extras-test.cpp
+++ b/toolchain-extras/profile-extras-test.cpp
@@ -28,7 +28,7 @@ void __gcov_flush() {
}
}
-static const char kCoveragePropName[] = "coverage.flush";
+static const char kCoveragePropName[] = "debug.coverage.flush";
TEST(profile_extras, smoke) {
flush_count = 0;
diff --git a/toolchain-extras/profile-extras.cpp b/toolchain-extras/profile-extras.cpp
index 3af46a10..1b1393b7 100644
--- a/toolchain-extras/profile-extras.cpp
+++ b/toolchain-extras/profile-extras.cpp
@@ -33,7 +33,7 @@ static void gcov_signal_handler(__unused int signum) {
__gcov_flush();
}
-static const char kCoveragePropName[] = "coverage.flush";
+static const char kCoveragePropName[] = "debug.coverage.flush";
// In a loop, wait for any change to sysprops and trigger a __gcov_flush when
// <kCoveragePropName> sysprop transistions to "1" after a transistion to "0".