Searched refs:logbuf (Results 1 – 11 of 11) sorted by relevance
/system/core/liblog/ |
D | local_logger.c | 131 } logbuf = { variable 132 .head = { &logbuf.head, &logbuf.head }, .listLock = PTHREAD_RWLOCK_INITIALIZER, 248 log = &logbuf; in writeToLocalInit() 262 LogBufferFree(&logbuf); in writeToLocalReset() 335 return LogBufferLog(&logbuf, element); in writeToLocalWrite() 358 return transp->context.node = &logbuf.head; in writeToLocalNode() 364 for (node = list_head(&logbuf.head); node != &logbuf.head; node = node->next) { in writeToLocalNode() 386 pthread_rwlock_rdlock(&logbuf.listLock); in writeToLocalRead() 387 if (!logbuf.serviceName) { in writeToLocalRead() 388 pthread_rwlock_unlock(&logbuf.listLock); in writeToLocalRead() [all …]
|
/system/core/logd/ |
D | LogAudit.cpp | 45 logbuf(buf), in LogAudit() 280 logbuf->lock(); in logPrint() 281 uid = logbuf->pidToUid(pid); in logPrint() 282 logbuf->unlock(); in logPrint() 303 rc = logbuf->log(LOG_ID_EVENTS, now, uid, pid, tid, in logPrint() 325 logbuf->lock(); in logPrint() 326 comm = commfree = logbuf->pidToName(pid); in logPrint() 327 logbuf->unlock(); in logPrint() 356 rc = logbuf->log(LOG_ID_MAIN, now, uid, pid, tid, newstr, in logPrint()
|
D | LogReader.h | 30 explicit LogReader(LogBuffer* logbuf); 33 LogBuffer& logbuf(void) const { in logbuf() function
|
D | LogAudit.h | 29 LogBuffer* logbuf; variable 45 return logbuf->isMonotonic(); in isMonotonic()
|
D | LogKlog.h | 27 LogBuffer* logbuf; variable 48 return logbuf->isMonotonic(); in isMonotonic()
|
D | LogTimes.cpp | 91 LastLogTimes& times = reader.logbuf().mTimes; in threadStop() 130 LogBuffer& logbuf = me->mReader.logbuf(); in threadStart() local 156 logbuf.flushTo(client, start, nullptr, privileged, security, in threadStart() 160 start = logbuf.flushTo(client, start, me->mLastTid, privileged, in threadStart()
|
D | LogReader.cpp | 32 LogReader::LogReader(LogBuffer* logbuf) in LogReader() argument 33 : SocketListener(getLogSocket(), true), mLogbuf(*logbuf) { in LogReader() 183 logbuf().isMonotonic() && android::isMonotonic(start)); in onDataAvailable() 185 logbuf().flushTo(cli, sequence, nullptr, FlushCommand::hasReadLogs(cli), in onDataAvailable()
|
D | FlushCommand.cpp | 52 LastLogTimes& times = mReader.logbuf().mTimes; in runSocketCommand() 60 if (mReader.logbuf().isMonotonic()) { in runSocketCommand()
|
D | LogListener.cpp | 34 : SocketListener(getLogSocket(), false), logbuf(buf), reader(reader) { in LogListener() 105 if (logbuf->log((log_id_t)header->id, header->realtime, cred->uid, in onDataAvailable()
|
D | LogListener.h | 24 LogBuffer* logbuf; variable
|
D | LogKlog.cpp | 208 logbuf(buf), in LogKlog() 582 logbuf->lock(); in log() 583 uid = logbuf->pidToUid(pid); in log() 584 logbuf->unlock(); in log() 824 int rc = logbuf->log(LOG_ID_KERNEL, now, uid, pid, tid, newstr, in log()
|