Lines Matching defs:logs
5 // Tool to log the execution of the process (Chrome). Writes logs containing
8 // To speed up the logging, buffering logs is implemented. Every thread have its
10 // side-effect, functions called might be mentioned in many thread logs.
12 // Special thread is created in the process to periodically flushes logs for all
13 // threads for the case the thread has stopped before flushing its logs.
19 // Otherwise renderer will not be able to write logs (and will assert on that).
119 // Thread callback to flush all logs periodically.
146 // Storage for logs for all threads in the process.
149 std::vector<CygTlsLog*> logs;
164 // Note, that we also flush by timer so not all thread logs may grow up to this.
267 all_logs.logs.clear();
268 all_logs.logs.push_back(tls_current_log);
269 CHECK(all_logs.logs.size() == 1);
274 // Create the thread that will periodically flush all logs for this process.
291 if (all_logs.logs.empty()) {
297 // will generate its own logs that will later have to be merged as usual.
308 all_logs.logs.push_back(newlog);
357 // see unallocated data and segfault. We do not care because we need logs
365 for (int i = 0; i != all_logs.logs.size(); ++i) {
366 CygTlsLog* current_log = all_logs.logs[i];