Home
last modified time | relevance | path

Searched refs:LogStatistics (Results 1 – 24 of 24) sorted by relevance

/system/logging/logd/
DCommandListener.h30 CommandListener(LogBuffer* buf, LogTags* tags, PruneList* prune, LogStatistics* log_statistics);
39 LogStatistics* stats_;
53 LogStatistics* stats() const { return parent_->stats_; } \
DLogStatistics.cpp40 std::atomic<size_t> LogStatistics::SizesTotal;
66 LogStatistics::LogStatistics(bool enable_statistics, bool track_total_size, in LogStatistics() function in LogStatistics
90 return LogStatistics::sizesTotal(); in sizesTotal()
118 void LogStatistics::AddTotal(log_id_t log_id, uint16_t size) { in AddTotal()
126 void LogStatistics::Add(LogStatisticsElement element) { in Add()
202 void LogStatistics::Subtract(LogStatisticsElement element) { in Subtract()
253 void LogStatistics::Drop(LogStatisticsElement element) { in Drop()
290 void LogStatistics::Erase(LogStatisticsElement element) { in Erase()
327 const char* LogStatistics::UidToName(uid_t uid) const { in UidToName()
333 const char* LogStatistics::UidToNameLocked(uid_t uid) const { in UidToNameLocked()
[all …]
DLogKlog.h40 LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats);
52 LogStatistics* stats_;
DLogAudit.h34 LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats);
49 LogStatistics* stats_;
DSerializedLogBuffer.h42 SerializedLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats);
70 LogStatistics* stats_;
80 log_id_t log_id, LogStatistics* stats);
DSimpleLogBuffer.h32 SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats);
63 LogStatistics* stats() { return stats_; } in stats()
74 LogStatistics* stats_;
DLogBufferElement.h46 bool FlushTo(LogWriter* writer, LogStatistics* parent, bool lastSame);
62 size_t PopulateDroppedMessage(char*& buffer, LogStatistics* parent, bool lastSame);
DReplayMessages.cpp231 LogStatistics stats_simple_;
234 LogStatistics stats_chatty_;
237 LogStatistics stats_serialized_;
245 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
248 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
252 stats_.reset(new LogStatistics{false, true, first_log_timestamp}); in SingleBufferOperation()
280 std::unique_ptr<LogStatistics> stats_;
DRecordingLogBuffer.h31 RecordingLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats) in RecordingLogBuffer()
DLogStatistics.h46 class LogStatistics; variable
268 std::string format(const LogStatistics& stat, log_id_t id, uid_t uid) const;
318 std::string format(const LogStatistics& stat, log_id_t id, pid_t pid) const;
373 std::string format(const LogStatistics& stat, log_id_t id, pid_t pid) const;
402 std::string format(const LogStatistics& stat, log_id_t id, uint32_t) const;
433 std::string format(const LogStatistics& stat, log_id_t id, const std::string& key_name) const;
441 class LogStatistics {
518 LogStatistics(bool enable_statistics, bool track_total_size,
DChattyLogBuffer.h52 LogStatistics* stats);
DLogBufferElement.cpp183 size_t LogBufferElement::PopulateDroppedMessage(char*& buffer, LogStatistics* stats, in PopulateDroppedMessage()
270 bool LogBufferElement::FlushTo(LogWriter* writer, LogStatistics* stats, bool lastSame) { in FlushTo()
DSerializedLogBuffer.cpp52 log_id_t log_id, LogStatistics* stats) REQUIRES(logd_lock) { in ClearLogsByUid()
95 LogStatistics* stats) in SerializedLogBuffer()
DLogBufferTest.h180 LogStatistics stats_{false, true};
Dmain.cpp244 LogStatistics log_statistics(GetBoolPropertyEngSvelteDefault("logd.statistics"), in main()
DAndroid.bp68 "LogStatistics.cpp",
DCommandListener.cpp45 LogStatistics* stats) in CommandListener()
DSimpleLogBuffer.cpp24 SimpleLogBuffer::SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats) in SimpleLogBuffer()
DLogAudit.cpp51 LogAudit::LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats) in LogAudit()
DLogTags.cpp501 if (lastTotal && (LogStatistics::sizesTotal() - lastTotal) < rate_to_pmsg) { in WritePmsgEventLogTags()
671 lastTotal = LogStatistics::sizesTotal(); in WritePersistEventLogTags()
DSerializedLogBufferTest.cpp36 LogStatistics stats(false, true); in TEST()
DChattyLogBuffer.cpp44 LogStatistics* stats) in ChattyLogBuffer()
DLogKlog.cpp204 LogKlog::LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats) in LogKlog()
/system/logging/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp48 LogStatistics* stats) { in write_log_messages()
107 LogStatistics stats(true, true); in LLVMFuzzerTestOneInput()