|
| void | log_buffer_write (const log_buffer_header_t *lb_header, const uint8_t *buffer, bool *was_empty) |
| | Add data to the circular buffer with updating the write index.
|
| |
| void | log_buffer_init (log_memory_region_section_t logsec) |
| | Initialize the log buffer module to log in the given log memory region section.
|
| |
| log_ret_t | log_buffer_get_available_for_next_message (uint32_t *av) |
| | Get the available space for the next message
|
| |
| log_ret_t | compress_log_write (const uint8_t *data, uint32_t length) |
| |
| void | mass_buffer_init (mass_data_memory_region_section_t sec) |
| | init the mass share mem.
|
| |
| void | chr_record_ue (uint8_t eid, uint8_t sub_eid, uint8_t code, uint32_t sub_code) |
| | record the system event
|
| |
| uint32_t | massdata_triger_queue (const uint8_t *pay_i, uint32_t type) |
| | triger mass data to flush by queue.
|
| |
| void | massdata_record_system_error (uint8_t event_id, uint8_t info1, uint8_t info2, uint32_t info3) |
| | record the system error.
|
| |
| void | massdata_record_system_event (uint8_t event_id, uint8_t info1, uint8_t info2, uint32_t info3) |
| | record the system event.
|
| |
| uint32_t | mass_data_write_roll_buffer (const uint8_t *data, uint32_t length) |
| | write seg in the mass share mem.
|
| |
| void | log_buffer_record_system_event (uint32_t chr_event) |
| | Record chr event
|
| |
| void | log_buffer_record_system_error (uint32_t chr_error) |
| | Record chr error
|
| |