Lines Matching refs:run_cmd
215 def run_cmd(self, args, return_output=False, drop_output=True): member in TestBase
342 self.run_cmd(args)
394 self.run_cmd(["app_profiler.py", "-h"])
401 self.run_cmd(args)
409 self.run_cmd(["report.py", "-h"])
410 self.run_cmd(["report.py"])
411 self.run_cmd(["report.py", "-i", "perf.data"])
412 self.run_cmd(["report.py", "-g"])
413 self.run_cmd(["report.py", "--self-kill-for-testing", "-g", "--gui"])
416 self.run_cmd(["annotate.py", "-h"])
418 self.run_cmd(["annotate.py", "-s", self.example_path])
422 self.run_cmd(["report_sample.py", "-h"])
423 self.run_cmd(["report_sample.py"])
424 output = self.run_cmd(["report_sample.py", "perf.data"], return_output=True)
432 self.run_cmd(["pprof_proto_generator.py", "-h"])
433 self.run_cmd(["pprof_proto_generator.py"])
435 self.run_cmd(["pprof_proto_generator.py", "-i", "perf.data", "-o", "pprof.profile"])
437 self.run_cmd(["pprof_proto_generator.py", "--show"])
438 output = self.run_cmd(["pprof_proto_generator.py", "--show", "pprof.profile"],
442 self.run_cmd(["pprof_proto_generator.py"])
443 output = self.run_cmd(["pprof_proto_generator.py", "--show", "pprof.profile"],
449 self.run_cmd([INFERNO_SCRIPT, "-h"])
452 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-t", "3"] + append_args)
454 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-f", "1000", "-du", "-t", "1"] +
456 self.run_cmd([INFERNO_SCRIPT, "-p", self.package_name, "-e", "100000 cpu-cycles",
458 self.run_cmd([INFERNO_SCRIPT, "-sc"])
461 self.run_cmd(['report_html.py', '-h'])
462 self.run_cmd(['report_html.py'])
463 self.run_cmd(['report_html.py', '--add_source_code', '--source_dirs', 'testdata'])
464 self.run_cmd(['report_html.py', '--add_disassembly'])
468 self.run_cmd(['report_html.py', '-i', 'perf.data', 'perf2.data'])
483 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
495 self.run_cmd(["report.py", "-o", "report.txt"])
511 self.run_cmd(["report.py"])
523 self.run_cmd(["report.py"])
527 self.run_cmd(['app_profiler.py', '--app', self.package_name, '-a', self.activity_name,
532 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
543 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
580 self.run_cmd([INFERNO_SCRIPT, "-sc"])
583 self.run_cmd([INFERNO_SCRIPT, "-sc", "-o", "report2.html"])
592 self.run_cmd(['app_profiler.py', '--app', self.package_name,
595 self.run_cmd([INFERNO_SCRIPT, "-sc"])
602 self.run_cmd(['run_simpleperf_without_usb_connection.py', 'start', '-p',
610 self.run_cmd(['run_simpleperf_without_usb_connection.py', 'stop'])
612 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
636 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
643 self.run_cmd(["annotate.py", "-s", self.example_path])
655 self.run_cmd([INFERNO_SCRIPT, "-sc"])
676 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
681 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
711 self.run_cmd([INFERNO_SCRIPT, "-sc"])
716 self.run_cmd(['report_html.py', '--add_source_code', '--source_dirs', 'testdata',
741 self.run_cmd(["report.py", "-g", "--comms", "SleepThread", "-o", "report.txt"])
747 self.run_cmd(["annotate.py", "-s", self.example_path, "--comm", "SleepThread"])
758 self.run_cmd([INFERNO_SCRIPT, "-sc"])
773 self.run_cmd(["report.py", "-g", "--comms", "BusyThread", "-o", "report.txt"])
778 self.run_cmd(["annotate.py", "-s", self.example_path, "--comm", "BusyThread"])
792 self.run_cmd([INFERNO_SCRIPT, "-sc"])
835 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
842 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
879 self.run_cmd([INFERNO_SCRIPT, "-sc"])
908 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
918 self.run_cmd(["annotate.py", "-s", self.example_path])
930 self.run_cmd([INFERNO_SCRIPT, "-sc"])
943 self.run_cmd(["app_profiler.py", "-cmd", "pm -l", "--disable_adb_root"])
944 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
949 self.run_cmd(["app_profiler.py", "-np", "surfaceflinger"])
950 self.run_cmd(["report.py", "-g", "-o", "report.txt"])
951 self.run_cmd([INFERNO_SCRIPT, "-sc"])
952 self.run_cmd([INFERNO_SCRIPT, "-np", "surfaceflinger"])
958 self.run_cmd(['app_profiler.py', '--pid', str(pid), '-r', '--duration 1'])
959 self.run_cmd(['app_profiler.py', '--pid', str(pid), str(pid), '-r', '--duration 1'])
960 self.run_cmd(['app_profiler.py', '--tid', str(pid), '-r', '--duration 1'])
961 self.run_cmd(['app_profiler.py', '--tid', str(pid), str(pid), '-r', '--duration 1'])
962 self.run_cmd([INFERNO_SCRIPT, '--pid', str(pid), '-t', '1'])
967 self.run_cmd(['app_profiler.py', '--system_wide', '-r', '--duration 1'])
1120 self.run_cmd(['run_simpleperf_on_device.py', 'list', '--show-features'])
1453 self.run_cmd(['report_html.py', '-i',
1460 self.run_cmd(['report_html.py', '--min_func_percent', '0', '-i',
1471 self.run_cmd(['report_html.py', '--aggregate-by-thread-name',
1489 self.run_cmd(['report_html.py', '-i', perf_data])
1496 self.run_cmd(['report_html.py', '-i', perf_data, '--min_func_percent', '20'])
1535 self.run_cmd([strip, '--strip-all', '-o', source_file, origin_file])
1540 self.run_cmd([strip, '--strip-debug', '-o', source_file, origin_file])
1568 self.run_cmd(['api_profiler.py', 'prepare'])
1585 self.run_cmd(['api_profiler.py', 'collect', '-p', package_name, '-o', 'simpleperf_data'])
1592 self.run_cmd(['report.py', '-g', '-o', 'report.txt', '-i', path])
1647 self.run_cmd(['pprof_proto_generator.py', '-i', testdata_path] + options)
1648 return self.run_cmd(['pprof_proto_generator.py', '--show'], return_output=True)
1653 self.run_cmd(['pprof_proto_generator.py', '-i'] + testdata_paths + options)
1745 self.run_cmd(['app_profiler.py', '--app', package_name, '-r', record_arg])
1748 self.run_cmd(['report.py', '--children', '-o', 'report.txt'])