path: android-platform-system-extras_10.0.0+r36+ds-2.1/simpleperf/scripts/run_simpleperf_without_usb_connection.py
        adb.run(['shell', 'pkill', '-l', '2', 'simpleperf'])
        print('Waiting for simpleperf process to finish...')
        while adb.run(['shell', 'pidof', 'simpleperf']):
            time.sleep(1)
    adb.run(['shell', 'cat', '/data/local/tmp/simpleperf_output'])
