blob: e85c3d59f677700a364665996e43a3757ca72d28 [file] [log] [blame]
Primiano Tucci2ab19f62020-07-01 21:28:31 +01001Unreleased:
2 Tracing service and probes:
Sami Kyostilaf99230f2020-10-15 10:38:32 +00003 * Added support for recording traces from a system service through the
4 client API.
5 * The client library now reconnects producers automatically if the
6 connection to the tracing service is lost. Also fixed crashes in ongoing
7 tracing sessions when a disconnect occurs.
Primiano Tucci2ab19f62020-07-01 21:28:31 +01008 Trace Processor:
Primiano Tucci6d7badc2020-07-31 19:03:27 +02009 *
Primiano Tucci2ab19f62020-07-01 21:28:31 +010010 UI:
Lalit Maganti09549602020-10-01 16:47:00 +010011 * Added initial support for running metrics from the UI.
12
13
14v8.0 - 2020-10-01:
15 Tracing service and probes:
16 * Added API for querying registered data sources and their capabilities.
17 * Added support for profiling heap allocations on Linux via LD_PRELOAD.
18 * Fixed possible race when initializing the consumer library.
19 * Fixed subtle bugs on systems with 16KB system pages.
20 Trace Processor:
21 * Added a table which lists available metrics.
22 * Added Python bindings on PyPi in the 'perfetto' package.
23 * Added support for running trace_processor_shell on Android.
24 * Added per-process metrics for GPU memory usage.
25 * Added support for exporting flow events to JSON.
26 * Added dynamic tables for navigating between slices of flows.
27 UI:
28 * Changed time marking: horizontal selection doesn't gray out anymore,
29 pressing 'm' marks the range.
30 * Added initial support for displaying flow event arrows.
31 * Improved ordering of all thread tracks under process grouping.
32 * Fixed UI crashes due to metric errors
33 * Fixed selection of thread state slices.
Primiano Tucci2ab19f62020-07-01 21:28:31 +010034
35
Primiano Tucci816506e2020-09-01 18:13:12 +020036v7.0 - 2020-09-01:
37 Tracing service and probes:
38 * Added auto-reconnection to the SDK. Tracing::Initialize() now retries in
39 the background, instead of failing, if the tracing service is unrechable.
40 * Added support for recording cpuhp (CPU hotplug) ftrace events.
41 * Fixed heap profiling unwinding on multi-ABI systems.
42 * Fixed reporting of live objects in the native heap profiler when using
43 --dump-at-max.
44 * Fixed crash when writing trace events with field nesting level > 10.
45 Trace Processor:
46 * Added Python bindings, see
47 https://perfetto.dev/docs/analysis/trace-processor#python-api .
48 * Added ingestion for Chrome instant events and Chrome flow events.
49 * Added ingestion for Android GPU memory events and sched_blocked_reason.
50 * Added WebView power metric.
51 * Added support for WSL1 where Async I/O is not available.
52 * Improved detection of Android suspend/resume events.
53 UI:
54 * Added GPU memory recording controls and ingestion code. Requires a recent
55 Android 12+ kernel.
56 * Added details panel for flow events, showed when the user selects a slice
57 involved in a flow (arrows in the UI are still being worked on).
58 * Added instant events rendering.
59 * Added Google Analytics.
60 * Fixed I/O thread-states in 4.14 kernels to deal with the removal of
61 wake-kill using sched_blocked_reason.
62 * Fixed "Perfetto UI started debugging this browser" showing when opening
63 the UI and the Chrome extension is installed.
64 Misc:
65 * Update language to comply with Android's inclusive language guidance.
66
67
Primiano Tucci6d7badc2020-07-31 19:03:27 +020068v6.0 - 2020-08-01:
69 Tracing service and probes:
70 * Added ftrace thermal events.
71 * Added support for custom allocators to the heap profiler. Allows
72 developers to report memory allocations that are not done through malloc.
73 * Added detailed timestamping of key tracing session events.
74 * Added support for building tracing services on CrOS (system-wide tracing).
75 * Fixed filtering out of stale ftrace data that predates the beginning of
76 the tracing session.
77 Trace Processor:
78 * Improved profile symbolizer. PERFETTO_SYMBOLIZER_MODE=index discovers
79 symbol files by build id rather than name.
80 * Added screen-state Android metrics.
81 UI:
82 * Added 'Info and stats' page to debug data losses and trace stats.
83 * Added full cmdline to process detail panel.
84 * Improved performance of async tracks using quantized queries.
85 * Improved performance of counter and slice tracks for long traces by
86 pre-caching quantized track data.
87 * Improved actionablility of crash dialog when the Wasm module OOMs.
88
89
Primiano Tucci2ab19f62020-07-01 21:28:31 +010090v5.0 - 2020-07-01:
91 Tracing service and probes:
92 * Added gpu_mem_total ftrace event.
93 * Added TrustZone (scm start/end) event.
94 * Added protos for GPU memory tracking and updated render stages proto.
95 * Added time_in_state probe for Android (CPU time broken down by frequency).
96
97 Trace Processor:
98 * Added ingestion of IRQ and SoftIRQ events.
99 * Added ingestion of workqueue events. KAddr symbolization still missing.
100 * Added ingestion of voltage regulators and board clock change events.
101 * Added ingestion of new ION ion_buffer_create/destroy events.
102 * Added ingestion of TrustZone (scm start/end) events.
103 * Added SurfaceFlinger derived events (tracking of missed frames).
104 * Changed parsing of scheduler task state on 4.14 kernels.
105 * Changed importing of Java heap graphs: allow partial dumps.
106 * Improved performance of the SQL query engine.
107
108 UI:
109 * Added dedicated query page for custom SQL queries.
110 * Added navigation links for Binder slices.
111 * Removed overview summary mode when zoomed out.
112 * Fixed recording page when targeting Android P.
113 * Improved slice pan/zoom performance by quantizing.