Adam Barth
9c09565712
Update paths to account for buildroot
2016-08-09 13:52:15 -07:00
Adam Barth
4fa03ded48
Remove //base dependencies from //sky/shell ( #2888 )
2016-08-08 14:58:25 -07:00
Adam Barth
f0967c24e5
Remove more //base dependencies ( #2870 )
...
WTF is now //base clean.
2016-08-05 00:00:24 -07:00
Jason Simmons
f12f9b448e
Restore "Capture Skia trace events" ( #2834 )
2016-07-27 11:31:31 -07:00
Ian Hickson
4f78a67dd4
Revert "Capture Skia trace events" ( #2831 )
2016-07-27 08:51:03 -07:00
Jason Simmons
eae38aef3a
Capture Skia trace events ( #2830 )
2016-07-26 17:06:06 -07:00
Jason Simmons
48de25e19b
Do not modify the set of active streams within the embedder tracing callbacks ( #2600 )
...
Dart invokes Start/StopTracing callbacks within the _setVMTimelineFlags service
method whenever the embedder timeline stream toggles on or off. Flutter's
implementation of these callbacks was modifying the set of enabled streams,
which could override the intended behavior of _setVMTimelineFlags.
Start/StopTracing will now only control Flutter's embedder-specific log.
Also needed to change the Flutter engine's --trace-startup flag to set the
corresponding timeline stream flag on the Dart VM.
2016-04-19 10:38:22 -07:00
Chinmay Garde
37847ca4c4
Merge pull request #2571 from chinmaygarde/timeline
...
Update thread names in the Dart timeline.
2016-04-04 11:43:17 -07:00
Chinmay Garde
0378099f02
Update Dart revision to pull in changes related to tracing and add more trace types to TracingController
2016-03-30 17:33:02 -07:00
Chinmay Garde
09972ad11c
Wire up the TracingController to the the Dart embedder timeline API
2016-03-16 16:08:47 -07:00
yjbanov
288dfae36f
[tracing] refactor TracingController
...
- remove the unnecessary MessageLoop
- split stopping the trace from downloading it
- support waiting for the trace file to be finalized
- fix the missing null-termination in the trace data string
2016-03-09 16:45:47 -08:00
Yegor Jbanov
c537bd7bfc
use the mandatory "ext." prefix in VM service extensions
2016-02-29 16:27:15 -08:00
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