android_system_core/liblog/include/log
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
..
event_tag_map.h liblog: remove unneeded checks and includes from headers 2019-10-14 16:11:12 -07:00
log.h liblog: remove unneeded checks and includes from headers 2019-10-14 16:11:12 -07:00
log_event_list.h liblog: remove unneeded checks and includes from headers 2019-10-14 16:11:12 -07:00
log_id.h liblog: fixup log_id_t 2019-10-18 09:58:08 -07:00
log_main.h Allow LOG_ALWAYS_FATAL_IF in constexpr functions 2020-01-30 09:39:50 -08:00
log_properties.h Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_radio.h Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_read.h liblog: support extended logger_entry headers 2020-04-10 11:48:06 -07:00
log_safetynet.h Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_system.h Use #pragma one for all liblog includes 2019-01-16 10:49:45 -08:00
log_time.h Merge "liblog: remove unneeded checks and includes from headers" 2019-10-16 13:51:42 +00:00
logprint.h liblog: remove unneeded checks and includes from headers 2019-10-14 16:11:12 -07:00