diff options
author | Ruben Rodriguez Buchillon <coconutruben@chromium.org> | 2019-07-03 15:46:42 -0700 |
---|---|---|
committer | Commit Bot <commit-bot@chromium.org> | 2019-08-06 00:37:39 +0000 |
commit | f5325b8281c5b5dd8ce5d3c0ff9658b7c0b1891b (patch) | |
tree | fc6d50e2ce8dab5166074291f537a7aa871ab6da /board/atlas | |
parent | 6b6fd843dbc3e04697992a1717950294cd53e64b (diff) | |
download | chrome-ec-f5325b8281c5b5dd8ce5d3c0ff9658b7c0b1891b.tar.gz |
ec3po: make debug logs more user-friendly to read
This change does two things:
(1) it adds by default that both directions i.e. user to EC and EC to
user get logged to debug at full lines (or line limit)
(2) it hides the per interrupt print statements behind a command:
raw-debug
This is to allow servod logs to easily contain the MCU logs for all
connected devices: servo(s), Cr50, EC, and more.
BUG=chromium:932820
TEST=manual testing
sudo servod -s 19 -d | grep LogConsole
// observe console output (with logger overhead as prefix)
with crrev.com/c/1688610:
dut-control ec_uart_raw_debug:on
// observe in the logs how messages like below return
[...] - |DBG|-i->'an 0'
Change-Id: I864ac3411a002385505a192db3f300eb7bd71b47
Signed-off-by: Ruben Rodriguez Buchillon <coconutruben@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/1688363
Reviewed-by: Aseda Aboagye <aaboagye@chromium.org>
Reviewed-by: Mary Ruthven <mruthven@chromium.org>
Diffstat (limited to 'board/atlas')
0 files changed, 0 insertions, 0 deletions