Home
last modified time | relevance | path

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

/system/core/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_;
DSimpleLogBuffer.h32 SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats);
61 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.cpp220 LogStatistics stats_simple_;
223 LogStatistics stats_chatty_;
226 LogStatistics stats_serialized_;
234 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
237 stats_.reset(new LogStatistics{false, false, first_log_timestamp}); in SingleBufferOperation()
241 stats_.reset(new LogStatistics{false, true, first_log_timestamp}); in SingleBufferOperation()
269 std::unique_ptr<LogStatistics> stats_;
DSerializedLogBuffer.h39 SerializedLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats);
68 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,
DSerializedLogChunk.h36 bool ClearUidLogs(uid_t uid, log_id_t log_id, LogStatistics* stats);
DChattyLogBuffer.h53 LogStatistics* stats);
DLogBufferTest.h90 LogStatistics stats_{false, true};
DSerializedLogChunk.cpp56 bool SerializedLogChunk::ClearUidLogs(uid_t uid, log_id_t log_id, LogStatistics* stats) { in ClearUidLogs()
DLogBufferElement.cpp183 size_t LogBufferElement::PopulateDroppedMessage(char*& buffer, LogStatistics* stats, in PopulateDroppedMessage()
270 bool LogBufferElement::FlushTo(LogWriter* writer, LogStatistics* stats, bool lastSame) { in FlushTo()
DAndroid.bp60 "LogStatistics.cpp",
DCommandListener.cpp44 LogStatistics* stats) in CommandListener()
Dmain.cpp274 LogStatistics log_statistics(GetBoolPropertyEngSvelteDefault("logd.statistics"), in main()
DSimpleLogBuffer.cpp23 SimpleLogBuffer::SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats) in SimpleLogBuffer()
DSerializedLogBuffer.cpp30 LogStatistics* stats) in SerializedLogBuffer()
DLogAudit.cpp49 LogAudit::LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats) in LogAudit()
DLogTags.cpp500 if (lastTotal && (LogStatistics::sizesTotal() - lastTotal) < rate_to_pmsg) { in WritePmsgEventLogTags()
670 lastTotal = LogStatistics::sizesTotal(); in WritePersistEventLogTags()
DChattyLogBuffer.cpp44 LogStatistics* stats) in ChattyLogBuffer()
DLogKlog.cpp204 LogKlog::LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats) in LogKlog()
/system/core/logd/fuzz/
Dlog_buffer_log_fuzzer.cpp58 LogStatistics* stats) { in write_log_messages()
117 LogStatistics stats(true, true); in LLVMFuzzerTestOneInput()