Home | History | Annotate | Download | only in cros

Lines Matching full:fname

78         fname = os.path.join(self._TRACE_ROOT, 'tracing_on')
79 result = int(utils.read_one_line(fname).strip())
101 fname = os.path.join(self._TRACE_ROOT, 'tracing_on')
102 result = int(utils.read_one_line(fname).strip())
125 fname = os.path.join(self._TRACE_ROOT, 'events', event_path, 'enable')
127 if not os.path.exists(fname):
128 logging.warning("Unable to locate tracing event %s", fname)
130 utils.write_one_line(fname, val)
132 fname = os.path.join(self._TRACE_ROOT, "set_event")
134 with open(fname) as fd:
167 fname = os.path.join(self._TRACE_ROOT, 'free_buffer')
168 utils.write_one_line(fname, 1)
171 fname = os.path.join(self._TRACE_ROOT, 'buffer_size_kb')
172 result = utils.read_one_line(fname).strip()
179 fname = os.path.join(self._TRACE_ROOT, 'trace')
180 fd = open(fname)