commit | cdab923e62a7c3f3edd48214f8ad24222cee8ead | [log] [tgz] |
---|---|---|
author | Jin Qian <jinqian@google.com> | Tue Aug 29 11:42:06 2017 -0700 |
committer | Jin Qian <jinqian@google.com> | Thu Sep 28 11:29:51 2017 -0700 |
tree | b8fd09e24aa6bff61715d6b6cbe4ceda345060ea | |
parent | 5dff2e5eea84b970c27c35753ad2f8dd45bc5b3d [diff] |
storaged: fix task io stats parsing comm field in task io stats string can have comma since this field includes task arguments. As a result, splitting the string by comma doesn't always give 13 fields. Parse the string in following way to fix that. last 11 fields -> pid and io stats Second field to 12th from last -> comm Bug: 63739275 Change-Id: I6a2418260444c71d6492fc6cbd639d3cc54ceaed