android_system_core/liblog/include
Tom Cherry 57c8eacee4 liblog: support extended logger_entry headers
logger_entry has a hdr_size field meant for backwards compatibility,
however there are a few checks that expect it to be a specific size.
More problematically, it has a variable length array element, msg[0]
at the end, that would be incorrect if the header size was not kept
static.

This change fixes up those issues to facilitate future additions.

Bug: 119867234
Test: logging works with extended size headers, logging unit tests
Test: newly added unit tests with extended size header
Merged-In: I14b2b0855d219d11f374b53a5aa8e05cd6a65eef
Change-Id: I14b2b0855d219d11f374b53a5aa8e05cd6a65eef
(cherry picked from commit d3ecc66b9c)
2020-04-10 11:48:06 -07:00
..
android liblog: correct new APIs per the API review 2020-03-16 15:31:52 -07:00
log liblog: support extended logger_entry headers 2020-04-10 11:48:06 -07:00
private liblog: fixup log_id_t 2019-10-18 09:58:08 -07:00