Lines Matching refs:profiler_args
162 profiler_args, host_out_path): argument
169 profiler_args = list(profiler_args)
170 if profiler_args and profiler_args[0] == 'record':
171 profiler_args.pop(0)
172 profiler_args.extend(('-e', events))
173 if '--call-graph' not in profiler_args and '-g' not in profiler_args:
174 profiler_args.append('-g')
175 if '-f' not in profiler_args:
176 profiler_args.extend(('-f', '1000'))
180 if '-o' in profiler_args:
181 device_out_path = profiler_args[profiler_args.index('-o') + 1]
184 profiler_args.extend(('-o', device_out_path))
201 profiler_args.extend(('-t', str(tid)))
203 profiler_args.extend(('-p', str(pid)))
206 [device_simpleperf_path, 'record'] + profiler_args)