13 Commits

Author SHA1 Message Date
Devon Carew
3c83f895ed some work towards a --start-paused flag 2016-02-02 11:44:01 -08:00
Chinmay Garde
0bc34f0394 Allow tracing during startup 2015-12-03 11:01:45 -08:00
Chinmay Garde
8b7ec29f18 Add back log statement used by Flutter tools to detect trace capture 2015-12-02 11:49:06 -08:00
Chinmay Garde
34696334a4 Allow capturing unified (Dart and base) traces from observatory
* Start capturing via <obs_host>:<obs_port>/flutter_startTracing
* Stop capturing via <obs_host>:<obs_port>/flutter_stopTracing
2015-12-01 13:26:53 -08:00
Hixie
ee6fc727a5 Remove an unused constant. 2015-10-22 08:53:11 -07:00
Adam Barth
9422e0a427 Don't use a \0 to separate base and Dart trace events
Instead, we can just concatenate the records together, which means you can view
the generated trace file without post-processing. Also, I've made the trace
file world-readable, so that you can trace a device without needing root
access.
2015-10-21 15:14:19 -07:00
Chinmay Garde
887e06f555 Format trace file names so they are easier to organize 2015-10-08 11:50:51 -07:00
Chinmay Garde
b95b5292b8 Setup infrastructure to capture SKP traces when the frame interval exceeds certain thresholds 2015-10-06 17:03:10 -07:00
Chinmay Garde
70c98ff994 Generate unique SkPicture trace files each time a trace is requested 2015-09-22 15:00:36 -07:00
Chinmay Garde
ef4df93e06 SkPicture tracing to file follows same path as rendering into the OpenGL context 2015-09-21 15:45:09 -07:00
Chinmay Garde
cff629460e Rename: SaveFrameToSkp -> SaveFrameToSkPicture 2015-09-02 16:11:21 -07:00
Chinmay Garde
544f6499ed Add hooks to save skp file of current frame to the documents directory 2015-09-02 15:18:23 -07:00
Chinmay Garde
cfec10d80d Make |TracingController| platform agnostic and enable collecting
traces from base and the shell view dart isolate simultaneously.
Trace files contain samples from multiple sources and must be merged
separately
2015-08-13 12:51:24 -07:00