Home
last modified time | relevance | path

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

/system/core/liblog/
Dlocal_logger.c131 } 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/
DLogAudit.cpp45 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()
DLogReader.h30 explicit LogReader(LogBuffer* logbuf);
33 LogBuffer& logbuf(void) const { in logbuf() function
DLogAudit.h29 LogBuffer* logbuf; variable
45 return logbuf->isMonotonic(); in isMonotonic()
DLogKlog.h27 LogBuffer* logbuf; variable
48 return logbuf->isMonotonic(); in isMonotonic()
DLogTimes.cpp91 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()
DLogReader.cpp32 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()
DFlushCommand.cpp52 LastLogTimes& times = mReader.logbuf().mTimes; in runSocketCommand()
60 if (mReader.logbuf().isMonotonic()) { in runSocketCommand()
DLogListener.cpp34 : SocketListener(getLogSocket(), false), logbuf(buf), reader(reader) { in LogListener()
105 if (logbuf->log((log_id_t)header->id, header->realtime, cred->uid, in onDataAvailable()
DLogListener.h24 LogBuffer* logbuf; variable
DLogKlog.cpp208 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()