I'm trying to use Android's Systrace feature as described here and here but when I run the command line described in the above links, it gives me this error :
File "C:\Python27\lib\subprocess.py", line 664, in __init__
raise ValueError("preexec_fn is not supported on Windows "
ValueError: preexec_fn is not supported on Windows platforms
The command line described above is :
python systrace.py --time=10 -o mynewtrace.html sched gfx view wm
I'm not a python dev so I don't have any clue about it and google doesn't help me a lot, any idea?
-- I'm running on a windows 10 computer.
Even I faced same issue. Replace the catapult folder in your SDK's platform-tools/systrace location with the catapult folder downloaded from below link.
https://github.com/catapult-project/catapult
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With