commit | d8419c29e3a32cf9eebed8ef7f34e27fa756b17e | [log] [tgz] |
---|---|---|
author | Stephane Gasparini <stephane.gasparini@intel.com> | Wed Mar 02 13:45:15 2016 +0100 |
committer | Zhiquan Liu <zhiquan.liu@intel.com> | Wed Apr 20 16:06:32 2016 +0800 |
tree | ea0a39ff0a1830286f1934a185d6ca7f5620c002 | |
parent | 33dcaf9b52649785bff0c56b48f84a8218354888 [diff] |
Atrace:use ReadFileToString to read file Since wildcard support was added to atrace, it can happen very easily that file size is large than 4096 resulting in bad status that atrace cannot find kernel function This patch use android::base::ReadFileToString to read file which doesn't have size limitation. Signed-off-by: Stephane Gasparini <stephane.gasparini@intel.com> Change-Id: Ic24a9267053302a03ff04c8b2afeb143e5b94c84 Signed-off-by: Zhiquan Liu <zhiquan.liu@intel.com>