mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-31 02:01:16 +00:00
NetStat: Updated Regex to match logcat format in android 6.0
Android marshmallow uses a different default view for logcat therefore prevented output from being extracted. The regex expression has been updated to include matching the new format.
This commit is contained in:
parent
d493b1e790
commit
3e4d068eff
@ -16,7 +16,7 @@ from wlauto.utils.types import list_of_strings
|
||||
|
||||
THIS_DIR = os.path.dirname(__file__)
|
||||
|
||||
NETSTAT_REGEX = re.compile(r'I/(?P<tag>netstats-\d+)\(\s*\d*\): (?P<ts>\d+) '
|
||||
NETSTAT_REGEX = re.compile(r'I[\/ ](?P<tag>netstats-\d+).*?: (?P<ts>\d+) '
|
||||
r'"(?P<package>[^"]+)" TX: (?P<tx>\S+) RX: (?P<rx>\S+)')
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user