diff options
Diffstat (limited to 'perfprofd/perfprofdcore.h')
-rw-r--r-- | perfprofd/perfprofdcore.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/perfprofd/perfprofdcore.h b/perfprofd/perfprofdcore.h index 6ea24ab1..73a9c567 100644 --- a/perfprofd/perfprofdcore.h +++ b/perfprofd/perfprofdcore.h @@ -21,11 +21,9 @@ #include <functional> #include <memory> -struct Config; +#include "perfprofd_record-fwd.h" -namespace wireless_android_play_playlog { -class AndroidPerfProfile; -} +struct Config; namespace perfprofd { struct Symbolizer; @@ -84,10 +82,7 @@ PROFILE_RESULT encode_to_proto(const std::string &data_file_path, unsigned cpu_utilization, perfprofd::Symbolizer* symbolizer); -PROFILE_RESULT SerializeProtobuf(wireless_android_play_playlog::AndroidPerfProfile* encodedProfile, - const char* encoded_file_path); - -using HandlerFn = std::function<bool(wireless_android_play_playlog::AndroidPerfProfile* proto, +using HandlerFn = std::function<bool(android::perfprofd::PerfprofdRecord* proto, Config* config)>; void ProfilingLoop(Config& config, HandlerFn handler); |