commit | d0ec89550b71e2b989c09a6a6f79631a4f713019 | [log] [tgz] |
---|---|---|
author | Wiwit Rifa'i <wiwitrifai@google.com> | Mon Aug 14 16:26:30 2023 +0800 |
committer | Wiwit Rifa'i <wiwitrifai@google.com> | Thu Oct 12 16:26:59 2023 +0800 |
tree | db4d58bc4b5a6f4d8113ba0edebb973cf24f9c28 | |
parent | 616296359dc8e782ef4455b164dd93c818cd3d3a [diff] |
hwc: enable code coverage if CLANG_COVERAGE=true This will enable CLANG's source-based code coverage with continuous mode enabled (profile counter updates are continuously synced to a file). To set the output directory, we need to define environment variable LLVM_PROFILE_FILE to like /data/misc/trace/clang-hwc-%20m%c.profraw in HWC's init (.rc) file. Bug: 295827160 Test: builds Change-Id: I88fb597a85819a23491143e716cb08cc6152ff6a