mirror of
https://github.com/u-boot/u-boot.git
synced 2025-04-18 02:44:37 +00:00
trace: Update test to tolerate different trace-cmd version
Some versions of trace-cmd (or some machines?) show one less dot in the CPU list. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
0f073e022d
commit
7f65e69c81
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@ import u_boot_utils as util
|
|||
TMPDIR = '/tmp/test_trace'
|
||||
|
||||
# Decode a function-graph line
|
||||
RE_LINE = re.compile(r'.*0\.\.\.\.\. \s*([0-9.]*): func.*[|](\s*)(\S.*)?([{};])$')
|
||||
RE_LINE = re.compile(r'.*0\.\.\.\.\.? \s*([0-9.]*): func.*[|](\s*)(\S.*)?([{};])$')
|
||||
|
||||
|
||||
def collect_trace(cons):
|
||||
|
|
Loading…
Add table
Reference in a new issue