logger.h: reduce maximum payload so sum is page size
Reduce maximum log payload so that the sum with the maximum length header logger_entry_v4 is a page size. This is a performance measure. Expect side effects, truncates messages 8 bytes earlier. The length has a long history (2008) so there may be non-C code somewhere that has it hard-coded rather than reflecting this header. CTS tests may need to be adjusted. Bug: 25996918 Change-Id: I598c8c5cc78f6b0afc2c1f30cc6f3c18eb8c4c9d
This commit is contained in:
parent
42ae82742b
commit
b6a8d41e2a
1 changed files with 1 additions and 1 deletions
|
|
@ -81,7 +81,7 @@ struct logger_entry_v4 {
|
|||
* written to the logger. An attempt to write more than
|
||||
* this amount will result in a truncated log entry.
|
||||
*/
|
||||
#define LOGGER_ENTRY_MAX_PAYLOAD 4076
|
||||
#define LOGGER_ENTRY_MAX_PAYLOAD 4068
|
||||
|
||||
/*
|
||||
* The maximum size of a log entry which can be read from the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue