Lines Matching +full:build +full:- +full:deprecated
3 # Pretty-printer for simple trace backend binary trace files
8 # the COPYING file in the top-level directory.
24 # same trace-events-all file and the same simpletrace.py file that
58 args_payload = fobj.read(record_length - rec_header_fmt_len)
78 event_mapping (str -> Event): events dict, indexed by name
84 dropped_event = Event.build("Dropped_Event(uint64_t num_events_dropped)",
114 'file, try using trace-events-all instead.'
134 """[Deprecated. Refer to Analyzer2 instead.]
140 is invoked. When Analyzer is used as a context-manager (using the `with`
182 fn_argcount = len(inspect.getfullargspec(fn)[0]) - 1
195 "Use of deprecated Analyzer class. Refer to Analyzer2 instead.",
227 is invoked. When Analyzer is used as a context-manager (using the `with`
233 The methods are called with a set of keyword-arguments. These can be ignored
234 using `**kwargs` or defined like any keyword-argument.
236 The following keyword-arguments are available, but make sure to have an
249 The method can also explicitly take a timestamp keyword-argument with the
275 …events (file-object or list or str): events list or file-like object or file path as str to read e…
276 log (file-object or str): file-like object or file path as str to read log data from
288 # Treat as an already opened file-object
295 # Treat `log` as an already opened file-object. We will not close it,
304 log_fobj (file): file-object to read log data from
323 """Execute an analyzer on a trace file given on the command-line.
329 # NOTE: See built-in `argparse` module for a more robust cli interface
331 assert no_header == [] or no_header == ['--no-header'], 'Invalid no-header argument'
333 raise SimpleException(f'usage: {sys.argv[0]} [--no-header] <trace-events> <trace-file>\n')
346 delta_ns = timestamp_ns - self.last_timestamp_ns