dart-sdk/runtime
Derek Xu 7424295ce9 [VM] Begin supporting Perfetto file recorder
This CL adds the `TimelineEventPerfettoFileRecorder` class, which is a
timeline recorder that writes a trace to file in Perfetto's proto
format. This CL supports the recording of all types of timeline events
except flow events. Support for flow events will be added in a future
CL.

TEST=Recorded traces with the Perfetto file recorder and explored them
in Perfetto's trace viewer, CI

Change-Id: Iaa2051e536589a473c5e15f9de9bb9c251f13d38
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/278942
Reviewed-by: Ben Konyi <bkonyi@google.com>
Commit-Queue: Derek Xu <derekx@google.com>
2023-02-27 18:37:48 +00:00
..
bin [VM] Begin supporting Perfetto file recorder 2023-02-27 18:37:48 +00:00
docs [vm/aot/tfa] Static weak references to method tearoffs 2023-02-22 01:01:29 +00:00
include [vm] Fix Dart_CObject_Type breaking change 2023-02-20 11:59:19 +00:00
lib [vm] Avoid a second map lookup when dispatching isolate messages. 2023-02-27 18:08:25 +00:00
observatory [VM/Service] Fix SERVICE_PROTOCOL_MINOR_VERSION 2023-02-24 19:05:01 +00:00
observatory_2 [VM/Service] Fix SERVICE_PROTOCOL_MINOR_VERSION 2023-02-24 19:05:01 +00:00
platform [VM] Begin supporting Perfetto file recorder 2023-02-27 18:37:48 +00:00
tests [Runtime/VM] - Fix reachability test issues 2023-02-25 01:08:48 +00:00
third_party Spelling pkg analyzer lib 2023-01-25 14:08:27 +00:00
tools [VM] Begin supporting Perfetto file recorder 2023-02-27 18:37:48 +00:00
vm [VM] Begin supporting Perfetto file recorder 2023-02-27 18:37:48 +00:00
.clang-tidy
.gitignore
BUILD.gn [VM] Begin supporting Perfetto file recorder 2023-02-27 18:37:48 +00:00
codereview.settings
configs.gni [vm/ffi] FfiNative process lookup 2022-10-25 10:57:07 +00:00
CPPLINT.cfg [cpplint] Disable runtime/references lint 2023-01-23 18:21:48 +00:00
OWNERS [infra] Add OWNERS to the Dart SDK 2022-02-14 14:06:34 +00:00
PRESUBMIT.py [VM] Begin supporting Perfetto file recorder 2023-02-27 18:37:48 +00:00
runtime_args.gni Reland "[build] Make build_analyze_snapshot consistent between the host and target toolchains." 2023-02-07 18:45:20 +00:00