diff options
| author | Tom Cherry <tomcherry@google.com> | 2020-05-13 09:28:37 -0700 |
|---|---|---|
| committer | Tom Cherry <tomcherry@google.com> | 2020-06-12 14:35:30 -0700 |
| commit | e0101f2f05a14bba40778c34707c3c9978bd9a9d (patch) | |
| tree | 6565260e0d1f5372178bf15482085726ec2f800b /logd/LogBufferTest.cpp | |
| parent | 5c22493e934b76d22a0f704a785722f4ce573d96 (diff) | |
logd: add a SerializedLogBuffer suitable for compression
Initial commit for a SerializedLogBuffer. The intention here is for
the serialized data to be compressed (currently using zlib) to allow
for substantially longer logs in the same memory footprint.
Test: unit tests
Change-Id: I2528e4e1ff1cf3bc91130173a107f371f04d911a
Diffstat (limited to 'logd/LogBufferTest.cpp')
| -rw-r--r-- | logd/LogBufferTest.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/logd/LogBufferTest.cpp b/logd/LogBufferTest.cpp index 412b6f1d74..47d2a2f920 100644 --- a/logd/LogBufferTest.cpp +++ b/logd/LogBufferTest.cpp @@ -455,4 +455,5 @@ TEST_P(LogBufferTest, clear_logs) { CompareLogMessages(after_clear_messages, read_log_messages_after_clear); } -INSTANTIATE_TEST_CASE_P(LogBufferTests, LogBufferTest, testing::Values("chatty", "simple")); +INSTANTIATE_TEST_CASE_P(LogBufferTests, LogBufferTest, + testing::Values("chatty", "serialized", "simple")); |
