diff options
Diffstat (limited to 'simpleperf/record_file.h')
-rw-r--r-- | simpleperf/record_file.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/simpleperf/record_file.h b/simpleperf/record_file.h index 0030b085..1182b08c 100644 --- a/simpleperf/record_file.h +++ b/simpleperf/record_file.h @@ -36,6 +36,8 @@ #include "record_file_format.h" #include "thread_tree.h" +namespace simpleperf { + // RecordFileWriter writes to a perf record file, like perf.data. // User should call RecordFileWriter::Close() to finish writing the file, otherwise the file will // be removed in RecordFileWriter::~RecordFileWriter(). @@ -214,8 +216,8 @@ class RecordFileReader { DISALLOW_COPY_AND_ASSIGN(RecordFileReader); }; -namespace simpleperf { - bool IsPerfDataFile(const std::string& filename); -} +bool IsPerfDataFile(const std::string& filename); + +} // namespace simpleperf #endif // SIMPLE_PERF_RECORD_FILE_H_ |