diff options
author | Yabin Cui <yabinc@google.com> | 2016-02-05 17:32:08 -0800 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2016-02-08 19:10:28 -0800 |
commit | 569f64afd3db2b43003978765b833669f99477d2 (patch) | |
tree | d4e3a497836b0490d0399a45a5cecb36896612f8 /simpleperf/utils.h | |
parent | 4a5dafcc3093d55fc9d135b9a18c73bd96bcf3b1 (diff) | |
download | extras-569f64afd3db2b43003978765b833669f99477d2.tar.gz |
simpleperf: port read_apk and read_apk/read_elf tests to nonlinux.
Also make following small changes:
1. Manage testdata files like libziparchive.
2. Replace StringToPid() with android::base::ParseInt().
3. Add tests in read_elf_test.
Bug: 26962895
Change-Id: I6603e9f3cea3a013e2618ea003790d102739f843
Diffstat (limited to 'simpleperf/utils.h')
-rw-r--r-- | simpleperf/utils.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/simpleperf/utils.h b/simpleperf/utils.h index c63ac6c2..2ce0726d 100644 --- a/simpleperf/utils.h +++ b/simpleperf/utils.h @@ -66,6 +66,5 @@ void GetEntriesInDir(const std::string& dirpath, std::vector<std::string>* files std::vector<std::string>* subdirs); bool IsDir(const std::string& dirpath); bool IsRegularFile(const std::string& filename); -bool StringToPid(const std::string& s, int* pid); #endif // SIMPLE_PERF_UTILS_H_ |