commit | c4c464fc147fc812a38b1e104696ce4052197bf3 | [log] [tgz] |
---|---|---|
author | Hong-Mei Li <a21834@motorola.com> | Mon Apr 01 11:28:47 2013 +0800 |
committer | Hong-Mei Li <a21834@motorola.com> | Mon Apr 01 11:35:04 2013 +0800 |
tree | 73abdebf6405ad538064d27ae93d1ffd35930701 | |
parent | 26ebd81c1d73d7ce77e1c0cb5ac67c6d2ba4f004 [diff] |
procmem: fix procmem crash issue For the case pm_map_pagemap return error(e.g, maps[i]->start==maps[i]->end==0), the main loop continue without set mis[i] fields, and then mis[i]==0. So that the corresponding mi item is 0 for this case. Skip dumping this item to avoid crash. Change-Id: I7e1bea1abdccfd7594b9d904938b3462dc182a76 Signed-off-by: Hong-Mei Li <a21834@motorola.com>