Commit a4e370e
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 CMUUX'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 a4e370e
1 file changed
Lines changed: 7 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
11 | 18 | | |
12 | 19 | | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
16 | 23 | | |
17 | | - | |
18 | 24 | | |
19 | 25 | | |
20 | 26 | | |
21 | 27 | | |
22 | 28 | | |
23 | 29 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
0 commit comments