commit | 0e02687d3f0314a24f1a4564ba505ef4f7d27264 | [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 | e9a1339f8b42cc4f43a9a86e4dde197fc0179faf [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