Home
last modified time | relevance | path

Searched refs:_log_file (Results 1 – 5 of 5) sorted by relevance

/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py17 _log_file = None variable
60 global _log_file
75 _log_file = log_file
76 with lock.FileLock(_log_file, lock.LOCK_EX):
77 _log_file.seek(0, os.SEEK_END)
79 lastpos = _log_file.tell()
83 _log_file.write('[')
92 _log_file.write("%s\n" % json.dumps(x))
95 _log_file.flush()
113 global _log_file
[all …]
/external/chromium-trace/catapult/systrace/profile_chrome/
Dperf_controller.py51 self._log_file = tempfile.TemporaryFile()
64 stdout=self._log_file,
73 self._log_file.seek(0)
74 log = self._log_file.read()
88 self._log_file.close()
/external/autotest/client/cros/
Dpower_suspend.py101 self._log_file = None
159 if self._log_file:
160 self._log_file.close()
161 self._log_file = open('/var/log/messages')
162 self._log_file.seek(0, os.SEEK_END)
173 lines = self._log_file.readlines()
/external/autotest/client/cros/faft/
Drpc_functions.py99 self._log_file = os.path.join(state_dir, 'faft_client.log')
100 self._os_if.init(state_dir, log_file=self._log_file)
209 log = open(self._log_file).read()
211 os.remove(self._log_file)
/external/autotest/scheduler/
Dagent_task.py210 def _log_file(self): member in BaseAgentTask
217 log_file = self._log_file()
362 nice_level=AUTOSERV_NICE_LEVEL, log_file=self._log_file(),