Previously, a new API function to get log info from a single log source was added: https://codereview.chromium.org/2840103002/
I'd like to extend this to get info about USB (both device IDs and connectivity) and displays (connector type, model, manufacturer).
This is required by http://go/project-kondo.
sque: Is it easy to expose "lscpi -n" the same way? Will adding another switch make things break? Alternatively making "lspci -nn" the default would work too.
Yes, it should be straightforward. Things to be done:
1. Add the "lspci -n" to src/platform2/debugd/src/log_tool.cc
2. Add it as a supported type to SingleDebugDaemonLogSource.
2. Add it to the feedbackPrivate.readLogSource API function.
Comment 1 by sque@chromium.org
, Jun 21 2017