Lines Matching refs:args
147 **args):
176 if args.get('verbose'):
180 stderr=sp.PIPE if not args.get('verbose') else None,
200 if not args.get('verbose'):
225 if args.get('verbose'):
229 stderr=sp.PIPE if not args.get('verbose') else None,
270 if not args.get('verbose'):
300 **args):
541 def starapply(args):
542 f, args, kwargs = args
543 return f(*args, **kwargs)
547 **args):
553 syms, sym_at, lines, line_at = collect_syms_and_lines(obj_path, **args)
581 args)
591 **args))
893 **args):
943 if last is not None and line - last.stop <= args['context']:
946 line+1+args['context'])
951 line-args['context'],
952 line+1+args['context'])
968 '\x1b[36m' if args['color'] else '',
972 '\x1b[m' if args['color'] else ''))
981 args['width'],
987 if args['color']:
1005 **args):
1007 if args.get('color') == 'auto':
1008 args['color'] = sys.stdout.isatty()
1009 elif args.get('color') == 'always':
1010 args['color'] = True
1012 args['color'] = False
1015 if args.get('depth') == 0:
1016 args['depth'] = m.inf
1019 if not args.get('use', None):
1020 results = collect(obj_path, trace_paths, **args)
1023 with openio(args['use']) as f:
1052 if args.get('output'):
1053 with openio(args['output'], 'w') as f:
1067 if args.get('diff'):
1070 with openio(args['diff']) as f:
1092 if not args.get('quiet'):
1093 if (args.get('annotate')
1094 or args.get('threshold')
1095 or args.get('read_threshold')
1096 or args.get('prog_threshold')
1097 or args.get('erase_threshold')):
1099 annotate(PerfBdResult, results, **args)
1103 diff_results if args.get('diff') else None,
1107 **args)
1110 def main(**args):
1111 if args.get('record'):
1112 return record(**args)
1114 return report(**args)