Commit 4871196
committed
app: scripts: Stop trace collection before stopping CMUX
When traces are collected with CMUX trace backend, trace process
needs to be stopped before stopping CMUX. If trace process is
not stopped, I/O activity on CMUX'ed UART may cause ldattach
process to enter uninterruptible sleep state instead of
terminating correctly. When this happens, SUB serial device
cannot be recovered without rebooting the Linux system.
Signed-off-by: Matti Oksanen <matti.oksanen@nordicsemi.no>1 parent 89894a8 commit 4871196
1 file changed
Lines changed: 6 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
17 | 23 | | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
0 commit comments