• Kevin Marshall's avatar
    Fuchsia: Get kernel logs over SSH and and symbolize their stack traces. · 299b84f8
    Kevin Marshall authored
    Serial kernel logging is a deprecated feature of Zircon and should not
    be used anymore. This uses a long-running SSH invocation of "dlog"
    to pull the logs over the wire. It works equally well on QEMU and on
    devices.
    
    Created a stream multiplexer using "poll" to merge the kernel log and
    application log into a single stream, which is passed to the symbolizing
    filter.
    
    Modified the symbolizer regex rules to allow kernel log timestamps.
    Kernel log timestamps can be omitted from the output, but they seem
    to be helpful at visually distinguishing kernel output from app output.
    
    
    Bug: 838671
    Change-Id: Icd45f902a49983b4e4ee262de474d69fbef56860
    Reviewed-on: https://chromium-review.googlesource.com/1038423
    Commit-Queue: Kevin Marshall <kmarshall@chromium.org>
    Reviewed-by: default avatarFabrice de Gans-Riberi <fdegans@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#556170}
    299b84f8
symbolizer.py 8.5 KB