mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-09-06 05:12:36 +01:00
Merge pull request #443 from setrofim/master
utils/trace_cmd: fix event parsing
This commit is contained in:
@@ -308,7 +308,7 @@ class TraceCmdTrace(object):
|
|||||||
if not found:
|
if not found:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
thread_string, rest = parts[0].split(' [')
|
thread_string, rest = parts[0].rsplit(' [', 1)
|
||||||
cpu_id, ts_string = rest.split('] ')
|
cpu_id, ts_string = rest.split('] ')
|
||||||
body = parts[2].strip()
|
body = parts[2].strip()
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user