Searched refs:logbuf (Results 1 – 10 of 10) sorted by relevance
/system/core/logd/ |
D | LogListener.cpp | 36 : SocketListener(getLogSocket(), false), logbuf(buf), reader(reader) { in LogListener() 111 cred->pid = logbuf ? logbuf->tidToPid(header->tid) in onDataAvailable() 122 logbuf ? logbuf->pidToUid(cred->pid) : android::pidToUid(cred->pid); in onDataAvailable() 124 uid = logbuf ? logbuf->pidToUid(header->tid) in onDataAvailable() 136 if (logbuf != nullptr) { in onDataAvailable() 137 int res = logbuf->log( in onDataAvailable()
|
D | LogReader.h | 32 explicit LogReader(LogBuffer* logbuf); 35 LogBuffer& logbuf(void) const { in logbuf() function
|
D | LogAudit.h | 29 LogBuffer* logbuf; variable 40 return logbuf->isMonotonic(); in isMonotonic()
|
D | LogTimes.cpp | 75 LogBuffer& logbuf = me->mReader.logbuf(); in threadStart() local 101 logbuf.flushTo(client, start, nullptr, privileged, security, in threadStart() 105 start = logbuf.flushTo(client, start, me->mLastTid, privileged, in threadStart() 132 LastLogTimes& times = reader.logbuf().mTimes; in threadStart()
|
D | LogAudit.cpp | 50 logbuf(buf), in LogAudit() 218 logbuf->wrlock(); in logPrint() 219 uid = logbuf->pidToUid(pid); in logPrint() 220 logbuf->unlock(); in logPrint() 351 rc = logbuf->log( in logPrint() 373 logbuf->wrlock(); in logPrint() 374 comm = commfree = logbuf->pidToName(pid); in logPrint() 375 logbuf->unlock(); in logPrint() 407 rc = logbuf->log( in logPrint()
|
D | LogKlog.h | 27 LogBuffer* logbuf; variable 48 return logbuf->isMonotonic(); in isMonotonic()
|
D | FlushCommand.cpp | 40 LastLogTimes& times = mReader.logbuf().mTimes; in runSocketCommand() 52 if (mReader.logbuf().isMonotonic()) { in runSocketCommand()
|
D | LogReader.cpp | 33 LogReader::LogReader(LogBuffer* logbuf) in LogReader() argument 34 : SocketListener(getLogSocket(), true), mLogbuf(*logbuf) { in LogReader() 197 logbuf().isMonotonic() && android::isMonotonic(start)); in onDataAvailable() 199 logbuf().flushTo(cli, sequence, nullptr, FlushCommand::hasReadLogs(cli), in onDataAvailable()
|
D | LogListener.h | 34 LogBufferInterface* logbuf; variable
|
D | LogKlog.cpp | 207 logbuf(buf), in LogKlog() 576 logbuf->wrlock(); in log() 577 uid = logbuf->pidToUid(pid); in log() 578 logbuf->unlock(); in log() 818 int rc = logbuf->log(LOG_ID_KERNEL, now, uid, pid, tid, newstr, (uint16_t)n); in log()
|