Home
last modified time | relevance | path

Searched refs:logbuf (Results 1 – 10 of 10) sorted by relevance

/system/core/logd/
DLogListener.cpp36 : 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()
DLogReader.h32 explicit LogReader(LogBuffer* logbuf);
35 LogBuffer& logbuf(void) const { in logbuf() function
DLogAudit.h29 LogBuffer* logbuf; variable
40 return logbuf->isMonotonic(); in isMonotonic()
DLogTimes.cpp75 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()
DLogAudit.cpp50 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()
DLogKlog.h27 LogBuffer* logbuf; variable
48 return logbuf->isMonotonic(); in isMonotonic()
DFlushCommand.cpp40 LastLogTimes& times = mReader.logbuf().mTimes; in runSocketCommand()
52 if (mReader.logbuf().isMonotonic()) { in runSocketCommand()
DLogReader.cpp33 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()
DLogListener.h34 LogBufferInterface* logbuf; variable
DLogKlog.cpp207 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()