summaryrefslogtreecommitdiff
path: root/logd/LogStatistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'logd/LogStatistics.h')
-rw-r--r--logd/LogStatistics.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/logd/LogStatistics.h b/logd/LogStatistics.h
index d440a8c61b..e222d3f244 100644
--- a/logd/LogStatistics.h
+++ b/logd/LogStatistics.h
@@ -515,7 +515,8 @@ class LogStatistics {
}
public:
- LogStatistics(bool enable_statistics, bool track_total_size);
+ LogStatistics(bool enable_statistics, bool track_total_size,
+ std::optional<log_time> start_time = {});
void AddTotal(log_id_t log_id, uint16_t size) EXCLUDES(lock_);
@@ -556,6 +557,7 @@ class LogStatistics {
return SizesTotal;
}
+ std::string ReportInteresting() const EXCLUDES(lock_);
std::string Format(uid_t uid, pid_t pid, unsigned int logMask) const EXCLUDES(lock_);
const char* PidToName(pid_t pid) const EXCLUDES(lock_);