diff options
author | Julius Werner <jwerner@chromium.org> | 2017-04-28 16:31:46 -0700 |
---|---|---|
committer | Julius Werner <jwerner@chromium.org> | 2017-05-02 21:29:42 +0200 |
commit | b7b64a9f682edce18b984e5c0c7e0f31d5d7bd2f (patch) | |
tree | bffea2a40a088345e25ae3febf1c296da92053e4 /src/include/stdlib.h | |
parent | e70142c9c2e2b7b4fbf8883790df72b6d5536c19 (diff) |
cbmem: Add new command line flag to dump console for one boot only
Even though the persistent CBMEM console is obviously awesome, there may
be cases where we only want to look at console output from the last boot.
It's easy to tell where one boot ends and another begins from the banner
message that coreboot prints at the start of every stage, but in order
to make it easier to find that point (especially for external tools),
let's put that functionality straight into the cbmem utility with a new
command line flag. Use the POSIX/libc regular expression API to find the
banner string for maximum compatilibity, even though it's kinda icky.
Change-Id: Ic17383507a884d84de9a2a880380cb15b25708a1
Signed-off-by: Julius Werner <jwerner@chromium.org>
Reviewed-on: https://review.coreboot.org/19497
Tested-by: build bot (Jenkins)
Reviewed-by: Aaron Durbin <adurbin@chromium.org>
Reviewed-by: Furquan Shaikh <furquan@google.com>
Reviewed-by: Philippe Mathieu-Daudé <philippe.mathieu.daude@gmail.com>
Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com>
Diffstat (limited to 'src/include/stdlib.h')
0 files changed, 0 insertions, 0 deletions