diff options
author | Yabin Cui <yabinc@google.com> | 2020-04-01 14:30:03 -0700 |
---|---|---|
committer | Yabin Cui <yabinc@google.com> | 2020-04-01 14:45:17 -0700 |
commit | 193f238678aae54d2c1f915f5c0e8aeb86acc434 (patch) | |
tree | 30ef0d6330f3a07e2bfc8076862223c569ceb2fe /simpleperf/record_file.h | |
parent | 4d1a421368e14e976de90ea0c40fb70c08d514a8 (diff) | |
download | extras-193f238678aae54d2c1f915f5c0e8aeb86acc434.tar.gz |
simpleperf inject: support branch-list output.
Bug: 151665001
Test: run simpleperf_unit_test.
Change-Id: I0c974ee48c145ce4fc8adf533f445fa614d60216
Diffstat (limited to 'simpleperf/record_file.h')
-rw-r--r-- | simpleperf/record_file.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/simpleperf/record_file.h b/simpleperf/record_file.h index a9fa1c32..0030b085 100644 --- a/simpleperf/record_file.h +++ b/simpleperf/record_file.h @@ -214,4 +214,8 @@ class RecordFileReader { DISALLOW_COPY_AND_ASSIGN(RecordFileReader); }; +namespace simpleperf { + bool IsPerfDataFile(const std::string& filename); +} + #endif // SIMPLE_PERF_RECORD_FILE_H_ |