Home | History | Annotate | Download | only in Linux

Lines Matching refs:log

87     Log *verbose_log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (
144 // Wrapper for ptrace to catch errors and log calls.
152 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PTRACE));
154 if (log)
155 log->Printf("ptrace(%s, %lu, %p, %p, %zu) called from file %s line %d",
168 if (log && errno != 0)
179 log->Printf("ptrace() failed; errno=%d (%s)", errno, str);
221 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_ALL));
222 if (log)
224 if (log && ProcessPOSIXLog::AtTopNestLevel() && log->GetMask().Test(POSIX_LOG_MEMORY))
225 log->Printf ("ProcessMonitor::%s(%" PRIu64 ", %d, %p, %p, %zd, _)", __FUNCTION__,
236 if (log)
248 if (log && ProcessPOSIXLog::AtTopNestLevel() &&
249 (log->GetMask().Test(POSIX_LOG_MEMORY_DATA_LONG) ||
250 (log->GetMask().Test(POSIX_LOG_MEMORY_DATA_SHORT) &&
254 // Format bytes from data by moving into print_dst for log output
257 log->Printf ("ProcessMonitor::%s() [%p]:0x%lx (0x%lx)", __FUNCTION__,
265 if (log)
280 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_ALL));
281 if (log)
283 if (log && ProcessPOSIXLog::AtTopNestLevel() && log->GetMask().Test(POSIX_LOG_MEMORY))
284 log->Printf ("ProcessMonitor::%s(%" PRIu64 ", %d, %p, %p, %zd, _)", __FUNCTION__,
299 if (log && ProcessPOSIXLog::AtTopNestLevel() &&
300 (log->GetMask().Test(POSIX_LOG_MEMORY_DATA_LONG) ||
301 (log->GetMask().Test(POSIX_LOG_MEMORY_DATA_SHORT) &&
303 log->Printf ("ProcessMonitor::%s() [%p]:0x%lx (0x%lx)", __FUNCTION__,
309 if (log)
320 if (log)
330 if (log)
335 if (log && ProcessPOSIXLog::AtTopNestLevel() &&
336 (log->GetMask().Test(POSIX_LOG_MEMORY_DATA_LONG) ||
337 (log->GetMask().Test(POSIX_LOG_MEMORY_DATA_SHORT) &&
339 log->Printf ("ProcessMonitor::%s() [%p]:0x%lx (0x%lx)", __FUNCTION__,
346 if (log)
477 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_REGISTERS));
489 if (log)
490 log->Printf ("ProcessMonitor::%s() reg %s: 0x%" PRIx64, __FUNCTION__,
520 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_REGISTERS));
528 if (log)
529 log->Printf ("ProcessMonitor::%s() reg %s: %p", __FUNCTION__, m_reg_name, buf);
733 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));
735 if (log)
736 log->Printf ("ResumeOperation (%" PRIu64 ") failed: %s", m_tid, strerror(errno));
1101 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));
1236 if (log)
1237 log->Printf ("ProcessMonitor::%s() adding pid = %" PRIu64, __FUNCTION__, pid);
1296 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));
1362 if (log)
1363 log->Printf ("ProcessMonitor::%s() adding tid = %" PRIu64, __FUNCTION__, tid);
1423 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));
1427 if (log)
1428 log->Printf ("ProcessMonitor::%s() got exit signal, tid = %" PRIu64, __FUNCTION__, pid);
1436 if (log)
1437 log->Printf ("ProcessMonitor::%s() resuming from group-stop", __FUNCTION__);
1447 if (log)
1448 log->Printf ("ProcessMonitor::%s() GetSignalInfo failed: %s, tid = %" PRIu64 ", signal = %d, status = %d",
1478 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));
1496 if (log)
1497 log->Printf ("ProcessMonitor::%s() received thread creation event, code = %d", __FUNCTION__, info->si_code ^ SIGTRAP);
1519 if (log)
1520 log->Printf ("ProcessMonitor::%s() received limbo event, data = %lx, pid = %" PRIu64, __FUNCTION__, data, pid);
1527 if (log)
1528 log->Printf ("ProcessMonitor::%s() received trace event, pid = %" PRIu64, __FUNCTION__, pid);
1534 if (log)
1535 log->Printf ("ProcessMonitor::%s() received breakpoint event, pid = %" PRIu64, __FUNCTION__, pid);
1540 if (log)
1541 log->Printf ("ProcessMonitor::%s() received watchpoint event, pid = %" PRIu64, __FUNCTION__, pid);
1547 if (log)
1548 log->Printf ("ProcessMonitor::%s() received system call stop event, pid = %" PRIu64, __FUNCTION__, pid);
1563 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));
1575 if (log)
1576 log->Printf ("ProcessMonitor::%s() received signal %s with code %s, pid = %d",
1588 if (log)
1589 log->Printf ("ProcessMonitor::%s() received signal %s", __FUNCTION__, monitor->m_process->GetUnixSignals().GetSignalAsCString (signo));
1623 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));
1627 if (log)
1628 log->Printf ("ProcessMonitor::%s(bp) stopping thread, tid = %" PRIu64 ", ret = %d", __FUNCTION__, tid, ret);
1639 if (log)
1640 log->Printf ("ProcessMonitor::%s(bp) waitpid...", __FUNCTION__);
1642 if (log)
1643 log->Printf ("ProcessMonitor::%s(bp) waitpid, pid = %" PRIu64 ", status = %d", __FUNCTION__, wait_pid, status);
1668 if (log)
1670 log->Printf ("ProcessMonitor::%s() GetSignalInfo failed.", __FUNCTION__);
1674 log->Printf ("ProcessMonitor::%s() in group-stop", __FUNCTION__);
1680 if (log)
1681 log->Printf ("ProcessMonitor::%s(bp) handling event, tid == %" PRIu64, __FUNCTION__, wait_pid);
1714 if (log)
1715 log->Printf ("ProcessMonitor::%s(bp) handling message", __FUNCTION__);
1726 if (log)
1727 log->Printf ("ProcessMonitor::%s(bp) handling message", __FUNCTION__);
1750 if (log)
1751 log->Printf ("ProcessMonitor::%s(bp) received signal, done waiting", __FUNCTION__);
1761 if (log)
1762 log->Printf ("ProcessMonitor::%s(bp) handling message", __FUNCTION__);
2089 Log *log (ProcessPOSIXLog::GetLogIfAllCategoriesSet (POSIX_LOG_PROCESS));
2091 if (log)
2092 log->Printf ("ProcessMonitor::%s() resuming thread = %" PRIu64 " with signal %s", __FUNCTION__, tid,
2096 if (log)
2097 log->Printf ("ProcessMonitor::%s() resuming result = %s", __FUNCTION__, result ? "true" : "false");