diff options
author | Yao Chen <yaochen@google.com> | 2018-05-02 09:23:05 -0700 |
---|---|---|
committer | Yao Chen <yaochen@google.com> | 2018-05-03 15:42:17 -0700 |
commit | 88e881017c473e77e6b462a27fdd47357573a035 (patch) | |
tree | 137ae18cceaf78dfc0a143ead97902771b280f14 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | dbeff868c3caa4aa4abe0a6ddb4e2a5afc18cf61 (diff) |
Support stats log in lmkd.
This CL changes the relevant cpp files to c files. And added functionalities to reset the log
context for reuse.
Background:
+ lmkd doesn't use the generated statslog code because:
1. lmkd doesn't want to create a 4K log context for each log. lmkd is single threaded and can
reuse the same log context.
2. lmkd is written in c, and the existing statslog.h/.cpp are not compatible
Bug: 78603347
Test: manually tested with alloc-stress
Change-Id: Ife6f5c69248ecf5af730269e67f229ba4c72f37f
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions