Commit 4a40f90
app: prj.conf: use trigger threshold of 1 as default
Set CONFIG_LOG_PROCESS_TRIGGER_THRESHOLD=1 as the default behaviour.
Given most actions in the DSP FW happen every LL (msec) tick, having
defer logic of upto 100msec in the logging subsystem is not really
helpful. Logging thread should be preempted by higher priority threads
in any case.
This setting will cause the logger thread to be woken up (with a
semaphore) every time a log entry is printed and no timer is used at
all. The actual logging will not happen until logger thread gets to run,
but the wakeup request is immediate.
This setting works better with logging backends that have a limited
internal buffer (like mtrace and Zephyr winconsole) that are commonly
used with SOF targets.
Signed-off-by: Kai Vehmanen <kai.vehmanen@linux.intel.com>1 parent c3b8a95 commit 4a40f90
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
27 | 26 | | |
28 | 27 | | |
29 | 28 | | |
| |||
0 commit comments