CygTlsLog 91 tools/cygprofile/cygprofile.cc CygTlsLog() CygTlsLog 99 tools/cygprofile/cygprofile.cc static void AddNewLog(CygTlsLog* newlog); CygTlsLog 143 tools/cygprofile/cygprofile.cc DISALLOW_COPY_AND_ASSIGN(CygTlsLog); CygTlsLog 149 tools/cygprofile/cygprofile.cc std::vector<CygTlsLog*> logs; CygTlsLog 156 tools/cygprofile/cygprofile.cc static __thread CygTlsLog* tls_current_log = NULL; CygTlsLog 161 tools/cygprofile/cygprofile.cc CygTlsLog* const kMagicBeingConstructed = reinterpret_cast<CygTlsLog*>(1); CygTlsLog 165 tools/cygprofile/cygprofile.cc const int CygTlsLog::kBufMaxSize = 3000; CygTlsLog 168 tools/cygprofile/cygprofile.cc const char CygTlsLog::kLogFileNamePrefix[] = CygTlsLog 171 tools/cygprofile/cygprofile.cc const char CygTlsLog::kLogFileNamePrefix[] = "/var/log/chrome/"; CygTlsLog 175 tools/cygprofile/cygprofile.cc const char CygTlsLog::kLogFilenameFmt[] = "%scyglog.%d.%d.%ld-%d"; CygTlsLog 214 tools/cygprofile/cygprofile.cc void CygTlsLog::LogEnter(void* this_fn) { CygTlsLog 237 tools/cygprofile/cygprofile.cc void CygTlsLog::AtForkPrepare() { CygTlsLog 244 tools/cygprofile/cygprofile.cc void CygTlsLog::AtForkParent() { CygTlsLog 251 tools/cygprofile/cygprofile.cc void CygTlsLog::AtForkChild() { CygTlsLog 282 tools/cygprofile/cygprofile.cc void CygTlsLog::StartFlushLogThread() { CygTlsLog 284 tools/cygprofile/cygprofile.cc CHECK(!pthread_create(&tid, NULL, &CygTlsLog::FlushLogThread, NULL)); CygTlsLog 287 tools/cygprofile/cygprofile.cc void CygTlsLog::AddNewLog(CygTlsLog* newlog) { CygTlsLog 299 tools/cygprofile/cygprofile.cc CHECK(!pthread_atfork(CygTlsLog::AtForkPrepare, CygTlsLog 300 tools/cygprofile/cygprofile.cc CygTlsLog::AtForkParent, CygTlsLog 301 tools/cygprofile/cygprofile.cc CygTlsLog::AtForkChild)); CygTlsLog 321 tools/cygprofile/cygprofile.cc void CygTlsLog::FlushLog() { CygTlsLog 348 tools/cygprofile/cygprofile.cc void* CygTlsLog::FlushLogThread(void*) { CygTlsLog 366 tools/cygprofile/cygprofile.cc CygTlsLog* current_log = all_logs.logs[i]; CygTlsLog 386 tools/cygprofile/cygprofile.cc CygTlsLog* newlog = new CygTlsLog; CygTlsLog 388 tools/cygprofile/cygprofile.cc CygTlsLog::AddNewLog(newlog);