You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moved trace filtering details to a dedicated section and
rephrased third sub-point.
Own section for 'power gating' notes plus re-wording of first
two sentences.
Signed-off-by: Alexander Boehm <[email protected]>
The logger trace filtering affects only traces sent after the filter setup,
238
-
so traces already stored on the kernel side are not affected.
239
242
240
-
Filters are set up incrementally, so when loggers are run twice with
241
-
different settings, then filters from the first run will not be restored to
242
-
the default state but will be replaced by a new one. To reset filters to the
243
-
default state, a firmware reset is needed.
244
243
245
-
Detailed description
246
-
--------------------
244
+
Trace filtering details
245
+
-----------------------
246
+
247
+
* The filtering mechanism occurs on the firmware side so, after changing the
248
+
log level to verbose for each component, the DSP can be overwhelmed by
249
+
tracing.
250
+
251
+
* Core functionality is provided by the DSP, so filtering does not work in
252
+
offline mode - during conversion in a previously saved input file.
247
253
248
-
The filtering mechanism occurs on the firmware side so, after changing the
249
-
log level to verbose for each component, the DSP can be overwhelmed by
250
-
tracing.
254
+
* The trace filtering affects only traces sent after the filter setup,
255
+
so traces already stored on the kernel side are not affected. If a certain log level is needed before a filter has been setup the DECLARE_TR_CTX()
256
+
macro at the beginning of the respective component's source file can be adapted.
251
257
252
-
Core functionality is provided by the DSP, so filtering does not work in
253
-
offline mode - during conversion in a previously saved input file.
258
+
* Filters are set up incrementally, so when loggers are run twice with
259
+
different settings, then filters from the first run will not be restored to
260
+
the default state but will be replaced by a new one. Active trace filters are stored in the firmware runtime memory. To reset the filters to the
261
+
default state, a firmware reset is needed.
254
262
255
-
Communication between the firmware and logger is occurs through driver
256
-
debug file systems. The logger writes new trace settings to ``sys/kernel/debug/sof/filter``. These will be used to create *IPC* messages with new
257
-
trace levels. A simple text data format is used:
263
+
* Communication between the firmware and logger occurs through the kernel debugfs. The logger writes new trace settings to ``sys/kernel/debug/sof/filter``.
264
+
These will be used to create *IPC* messages with new trace levels. A simple text data format is used:
0 commit comments