I was giving a try to 2020.3 but I can't find an option to avoid capturing straight from app start. The point of capture I'm (typically) interested in is a few good seconds away from the start of the app and this generates a very large apc file. Is there a way for the capture to start paused or something along those lines?
In addition to this when I stop the capture it kills the application. I would be great to keep it alive to do more captures if I need to.
Hi JPJ, There isn't a way to do this via the new GUI today, although you can still use the gator_me.py script (it might need a modification to not kill the app).
There are a couple of technical reasons we now force connect on start, primarily that connecting to a process after it's started and forked threads is a lot more expensive to monitor using Perf than one we can instrument before any threads are created. For threaded game engines that are capturing CPU counters it's very probable that a post-start data capture will actually fail to capture due to inode exhaustion on Android (If we connect after threads have been created we need one inode per counter, per thread, per cpu so that can multiply up pretty fast, and Android's default inode limits are pretty low).
Is the only concern you have the data file size? There are a couple of possible directions we could go in future:
Would be interested to have your thoughts here.
I think both of the features you described are good to have. I started using 2020.3 but I switched back to 2020.1 because sometimes I need a lot of clicking before getting to the place I want profiling.
Thanks for the feedback, we'll get these into the backlog (probably won't be in time for 2021.0 though).
Note that the old flow from earlier versions (using gator_me.py) is still possible with 2020.3, just not via the Android connection GUI. I'll dig out some instructions.
I second that. I'm now using the old flow with 2020.3 - the only difference I noticed is that I'm queried about using the "Advanced Mode" through a popup when Streamline realizes I've started the process using the command line and not the GUI. Not really an issue for me - only one more click.
Right! Just need to choose TCP (Advanced) at the top. The popup shows up if you still on Android (adb) which is really helpful.
View all questions in Graphics and Gaming forum