summaryrefslogtreecommitdiff
path: root/perfprofd/config.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2018-03-29 10:08:19 -0700
committerAndreas Gampe <agampe@google.com>2018-03-29 20:53:25 -0700
commit0622a5d412780be13ef9b9fab63314e0780b3c3b (patch)
tree9ff491ce6561e9252f9c34c20786aab6864364a6 /perfprofd/config.h
parentf03e021c07fcd00618baa140b5d4023088d2e9ea (diff)
downloadextras-0622a5d412780be13ef9b9fab63314e0780b3c3b.tar.gz
Perfprofd: Move dropbox functionality into core
Move functionality into core, let cmdline version react to dropbox configuration. (cherry picked from commit 7f85bff629e68efd3f5127fc43edddcadfecb007) Bug: 73175642 Test: mmma system/extras/perfprofd Test: perfprofd_test Merged-In: I3415d7c15cf527afe70d93e4b4992a121d52164c Change-Id: I3415d7c15cf527afe70d93e4b4992a121d52164c
Diffstat (limited to 'perfprofd/config.h')
-rw-r--r--perfprofd/config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/perfprofd/config.h b/perfprofd/config.h
index 4c1f12b1..774f7e86 100644
--- a/perfprofd/config.h
+++ b/perfprofd/config.h
@@ -96,6 +96,9 @@ struct Config {
// If true, use libz to compress the output proto.
bool compress = true;
+ // If true, send the proto to dropbox instead to a file.
+ bool send_to_dropbox = false;
+
// Sleep for the given number of seconds.
virtual void Sleep(size_t seconds) = 0;