A related piece of confusion is that when I dump my saved kernel log to the console, in general (as long as none are out of order), the timestamps and sequence numbers do advance from the beginning of the log all the way to the end, even though I created it using the overwrite option. My expectation was that somewhere in the middle of the log the sequence numbers and timestamps would switch to an earlier value/time and advance from there. Not being an ARM ASM expert, I haven't figured out whether or not this is the expected behavior for the overwrite feature. I was expecting circular FIFO type behavior. Was my expectation incorrect?
memset(kloginfo, 0xEE, sizeof(kloginfo));
result = _klog_create_at(sizeof(kloginfo), LOG_OVERWRITE, static_cast<void*>(kloginfo));