diff options
author | Than McIntosh <thanm@google.com> | 2015-03-05 11:05:02 -0500 |
---|---|---|
committer | Than McIntosh <thanm@google.com> | 2015-04-06 23:02:13 -0400 |
commit | 7e2f4e9d384d501cf86118ebac4b8de2b86eac53 (patch) | |
tree | 9e138d898fc2327e801c49b1a2bf4cd126e8470c /perfprofd/perf_data_converter.h | |
parent | d62c415953ebc69b179cc2d250965754917dccd9 (diff) | |
download | extras-7e2f4e9d384d501cf86118ebac4b8de2b86eac53.tar.gz |
Perf profile collection daemon.
Collects system-wide profiles via periodic invocation of
/system/bin/perf, placing the resulting data files in a destination
directory selected via config file. Behavior of the daemon, e.g how
often to profile, duration of profiling runs, etc, can also be
controlled with config file settings.
Change-Id: I7978cab62aa0c2507ecf8d70ba073e77db730120
Diffstat (limited to 'perfprofd/perf_data_converter.h')
-rw-r--r-- | perfprofd/perf_data_converter.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/perfprofd/perf_data_converter.h b/perfprofd/perf_data_converter.h new file mode 100644 index 00000000..fdbde009 --- /dev/null +++ b/perfprofd/perf_data_converter.h @@ -0,0 +1,15 @@ +#ifndef WIRELESS_ANDROID_LOGGING_AWP_PERF_DATA_CONVERTER_H_ +#define WIRELESS_ANDROID_LOGGING_AWP_PERF_DATA_CONVERTER_H_ + +#include "perf_profile.pb.h" + +#include <string> + +namespace wireless_android_logging_awp { + +wireless_android_play_playlog::AndroidPerfProfile +RawPerfDataToAndroidPerfProfile(const std::string &perf_file); + +} // namespace wireless_android_logging_awp + +#endif // WIRELESS_ANDROID_LOGGING_AWP_PERF_DATA_CONVERTER_H_ |