Home
last modified time | relevance | path

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

/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/
Dlog.py19 _log_file = None variable
62 global _log_file
77 _log_file = log_file
78 with lock.FileLock(_log_file, lock.LOCK_EX):
79 _log_file.seek(0, os.SEEK_END)
81 lastpos = _log_file.tell()
85 _log_file.write('[')
94 _log_file.write("%s\n" % json.dumps(x))
97 _log_file.flush()
115 global _log_file
[all …]
/external/chromium-trace/catapult/systrace/profile_chrome/
Dperf_tracing_agent.py56 self._log_file = tempfile.TemporaryFile()
69 stdout=self._log_file,
78 self._log_file.seek(0)
79 log = self._log_file.read()
93 self._log_file.close()
/external/autotest/server/cros/
Dcfm_jmidata_helper_base.py19 self._log_file = log_file_content
24 self._jmi_list = re.findall(jmi_data_from_log_reg, self._log_file)
/external/autotest/client/cros/power/
Dpower_suspend.py120 self._log_file = None
197 if self._log_file:
198 self._log_file.close()
199 self._log_file = open('/var/log/messages')
200 self._log_file.seek(0, os.SEEK_END)
211 lines = self._log_file.readlines()
/external/autotest/client/cros/faft/
Drpc_functions.py76 self._log_file = os.path.join(state_dir, 'faft_client.log')
77 self._os_if.init(state_dir, log_file=self._log_file)
191 log = open(self._log_file).read()
193 os.remove(self._log_file)
/external/autotest/scheduler/
Dagent_task.py230 def _log_file(self): member in AgentTask
237 log_file = self._log_file()
373 nice_level=AUTOSERV_NICE_LEVEL, log_file=self._log_file(),