commit | 4ff9c6fd83baa05effade39a2a000b1b233fa371 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Tue Nov 29 12:54:50 2016 -0800 |
committer | Yabin Cui <yabinc@google.com> | Wed Nov 30 09:40:05 2016 -0800 |
tree | e50ea562189f3dc0deeac6acd34c067d7aeb4818 | |
parent | c11a58e7013e0f8cc59eb6eb02fe3366e625665a [diff] |
simpleperf: improve script interface. 1. In ReportLib, return structure instead of pointer to structure. So users can use 'sample' instead of 'sample[0]', as in report_sample.py. 2. For python3, convert char pointer to str type. Because str is more convenient to use. Bug: http://b/32834638 Test: run simpleperf_report_lib.py and report_sample.py. Change-Id: Iee8c3570e82104c5dd02f3f657ac143d1fdc2233