summaryrefslogtreecommitdiff
path: root/cmds/statsd/src/matchers/SimpleLogMatchingTracker.cpp
diff options
context:
space:
mode:
authorYao Chen <yaochen@google.com>2017-11-21 18:07:17 -0800
committerYao Chen <yaochen@google.com>2017-11-27 10:52:54 -0800
commitb356151e63140085cb96fa16804ee18b3862a4fc (patch)
treeecb892f399742cc0d7190b7700379b1a120bcb1e /cmds/statsd/src/matchers/SimpleLogMatchingTracker.cpp
parent16fd2e9a9a0a064491196d02957c7e94eaa870a7 (diff)
Add StatsdStats and guardrail.
+ StatsdStats is the global class that tracks the stats about statsd. + Added guardrail for classes that have a map which could potentially grow unboundedly with the number of logs. TODO: add unit tests & CTS for StatsdStats, and guardrail add stats for pulled atoms. Test: statsd_test Change-Id: I0ea562de4dd3f6162f7923a9c193420b482c1d51
Diffstat (limited to 'cmds/statsd/src/matchers/SimpleLogMatchingTracker.cpp')
-rw-r--r--cmds/statsd/src/matchers/SimpleLogMatchingTracker.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmds/statsd/src/matchers/SimpleLogMatchingTracker.cpp b/cmds/statsd/src/matchers/SimpleLogMatchingTracker.cpp
index b2c88a0d3013..ad37b010d1fb 100644
--- a/cmds/statsd/src/matchers/SimpleLogMatchingTracker.cpp
+++ b/cmds/statsd/src/matchers/SimpleLogMatchingTracker.cpp
@@ -19,8 +19,6 @@
#include "SimpleLogMatchingTracker.h"
-#include <log/logprint.h>
-
namespace android {
namespace os {
namespace statsd {