diff options
author | Pirama Arumuga Nainar <pirama@google.com> | 2019-06-05 14:19:04 -0700 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2019-06-05 14:19:04 -0700 |
commit | e9ddbdf4a8dadec90a29b33fba663901563a2e17 (patch) | |
tree | 7cb4b251872f8ec8e56afdbca95065bdd2b3a66d | |
parent | c3961e7d74734c7632fc6157ad82ef6e3bca4abc (diff) | |
parent | baedc8e8815de4e5ec0060ce7a9292560422b268 (diff) | |
download | extras-e9ddbdf4a8dadec90a29b33fba663901563a2e17.tar.gz |
Prefix sysprop for flushing coverage with 'debug.'
am: baedc8e881
Change-Id: I126ba230b198665a5d1113d383cf2bc5a1470b15
-rw-r--r-- | toolchain-extras/profile-extras-test.cpp | 2 | ||||
-rw-r--r-- | toolchain-extras/profile-extras.cpp | 2 |
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". |