Commit dfa6fd0
Jyri Sarha
tools: debug_stream.py: Cut text msg when first '\0' is encountered
The utf-8 decoder does not appear to be sensitive to '\0' in the
buffer so cut from word boundary may produce unwanted characters at
the end of the message.
Make also the text message always start from the beginning of the line
and not from the same line with "CPU X:" tag.
Signed-off-by: Jyri Sarha <jyri.sarha@linux.intel.com>1 parent 021e2c6 commit dfa6fd0
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
166 | | - | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
167 | 168 | | |
168 | 169 | | |
169 | 170 | | |
| |||
0 commit comments