/system/core/logd/ |
D | CommandListener.h | 30 CommandListener(LogBuffer* buf, LogTags* tags, PruneList* prune, LogStatistics* log_statistics); 39 LogStatistics* stats_; 53 LogStatistics* stats() const { return parent_->stats_; } \
|
D | LogStatistics.cpp | 40 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 …]
|
D | LogKlog.h | 40 LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats); 52 LogStatistics* stats_;
|
D | LogAudit.h | 34 LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats); 49 LogStatistics* stats_;
|
D | SimpleLogBuffer.h | 32 SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats); 61 LogStatistics* stats() { return stats_; } in stats() 74 LogStatistics* stats_;
|
D | LogBufferElement.h | 46 bool FlushTo(LogWriter* writer, LogStatistics* parent, bool lastSame); 62 size_t PopulateDroppedMessage(char*& buffer, LogStatistics* parent, bool lastSame);
|
D | ReplayMessages.cpp | 220 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_;
|
D | SerializedLogBuffer.h | 39 SerializedLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats); 68 LogStatistics* stats_;
|
D | RecordingLogBuffer.h | 31 RecordingLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats) in RecordingLogBuffer()
|
D | LogStatistics.h | 46 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,
|
D | SerializedLogChunk.h | 36 bool ClearUidLogs(uid_t uid, log_id_t log_id, LogStatistics* stats);
|
D | ChattyLogBuffer.h | 53 LogStatistics* stats);
|
D | LogBufferTest.h | 90 LogStatistics stats_{false, true};
|
D | SerializedLogChunk.cpp | 56 bool SerializedLogChunk::ClearUidLogs(uid_t uid, log_id_t log_id, LogStatistics* stats) { in ClearUidLogs()
|
D | LogBufferElement.cpp | 183 size_t LogBufferElement::PopulateDroppedMessage(char*& buffer, LogStatistics* stats, in PopulateDroppedMessage() 270 bool LogBufferElement::FlushTo(LogWriter* writer, LogStatistics* stats, bool lastSame) { in FlushTo()
|
D | Android.bp | 60 "LogStatistics.cpp",
|
D | CommandListener.cpp | 44 LogStatistics* stats) in CommandListener()
|
D | main.cpp | 274 LogStatistics log_statistics(GetBoolPropertyEngSvelteDefault("logd.statistics"), in main()
|
D | SimpleLogBuffer.cpp | 23 SimpleLogBuffer::SimpleLogBuffer(LogReaderList* reader_list, LogTags* tags, LogStatistics* stats) in SimpleLogBuffer()
|
D | SerializedLogBuffer.cpp | 30 LogStatistics* stats) in SerializedLogBuffer()
|
D | LogAudit.cpp | 49 LogAudit::LogAudit(LogBuffer* buf, int fdDmesg, LogStatistics* stats) in LogAudit()
|
D | LogTags.cpp | 500 if (lastTotal && (LogStatistics::sizesTotal() - lastTotal) < rate_to_pmsg) { in WritePmsgEventLogTags() 670 lastTotal = LogStatistics::sizesTotal(); in WritePersistEventLogTags()
|
D | ChattyLogBuffer.cpp | 44 LogStatistics* stats) in ChattyLogBuffer()
|
D | LogKlog.cpp | 204 LogKlog::LogKlog(LogBuffer* buf, int fdWrite, int fdRead, bool auditd, LogStatistics* stats) in LogKlog()
|
/system/core/logd/fuzz/ |
D | log_buffer_log_fuzzer.cpp | 58 LogStatistics* stats) { in write_log_messages() 117 LogStatistics stats(true, true); in LLVMFuzzerTestOneInput()
|