diff options
author | Tom Cherry <tomcherry@google.com> | 2020-07-27 16:53:29 -0700 |
---|---|---|
committer | Tom Cherry <tomcherry@google.com> | 2020-08-03 13:17:12 -0700 |
commit | d2743ef5c904f76dd7c388c28a8cd5d4fb7a5c94 (patch) | |
tree | 59e720550b3bc0f26481ff9f5e6263c95b6b588d /libutils/String8_fuzz.cpp | |
parent | fcaed0effab54fa6face42a1b55c26760df0a074 (diff) |
liblog: don't cache property size values and move to own file
Don't cache the property size values since they're only queried at the
start of logd and only once during dumpstate. Initializing
SerializedLogBuffer, which includes all of the logd queries, takes
under 100us without the cache, certainly fast enough that this cache
is unneeded.
Move these functions to their own file in preparation for removing
them from liblog.
Test: log sizes set appropriately
Change-Id: I15a2fd687dcffb4eab2f22ee0825ca86e40cdba3
Diffstat (limited to 'libutils/String8_fuzz.cpp')
0 files changed, 0 insertions, 0 deletions