Repository navigation
trace: split out trace-soflogger.h and trace-boot.h - #9597
Conversation
The SOF trace.h is a bit hard to follow as it mixes frontend and backend definitions. The frontend definitions like tr_info() are needed by all SOF builds. The backends can vary and the application traces can be routed to SOF DMA trace (sof-logger), Zephyr logging subsystem or optionally compiled out when tracing is disabled. Improve readability of the header by moving all definitions related to the sof-logger backend to a separate trace-soflogger.h header file. Signed-off-by: Kai Vehmanen <[email protected]>
|
@kv2019i this should be a compilation-only change, i.e. if it compiles, it should work, but in principle it's also possible to damage code while copying, so that it still compiles but then fails to run. The CI had too many failures here like https://sof-ci.01.org/sofpr/PR9597/build8890/devicetest/index.html and https://sof-ci.01.org/sofpr/PR9597/build8888/devicetest/index.html (too many 8s supposedly), and the QB failed and https://sof-ci.01.org/sofpr/PR9597/build8889/devicetest/index.html only tested 1 device out of 3, so maybe we should re-test... |
|
SOFCI TEST |
The SOF trace.h is a bit hard to follow as it mixes frontend and backend definitions. The frontend definitions like tr_info() are needed by all SOF builds. The backends can vary and the application traces can be routed to SOF DMA trace (sof-logger), Zephyr logging subsystem or optionally compiled out when tracing is disabled.
Improve readability of the header by moving all definitions related to the sof-logger backend to a separate trace-soflogger.h header file.