Skip to content
Snippets Groups Projects
Commit ac9c9c8c authored by Patrick Daly's avatar Patrick Daly
Browse files

lrdp-v2: Add error recovery capablity for kernel logbuf

Requires CONFIG_LOG_BUF_MAGIC; otherwise no error checking will be
performed.

A log record is valid if:
1) The magic value matches
2) the length recorded in the header matches the sum of the lengths of the
subelements.

If a log record fails this check, perform a linear search
to find the next matching log record.

Change-Id: I584350c8bc1bf93c2d956fa1e05db8207cc2d40d
parent 333199e1
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment