blob: cc3e886c333c91d72d7ef49c51c2e568922842e2 [file] [log] [blame]
Primiano Tucci2ab19f62020-07-01 21:28:31 +01001Unreleased:
2 Tracing service and probes:
Primiano Tucci9c294a42021-02-01 18:04:23 +01003 *
Primiano Tucci96755912021-01-05 12:15:17 +01004 Trace Processor:
5 *
6 UI:
7 *
8
9
Primiano Tucci71a92392021-02-01 23:45:28 +010010v12.1 - 2021-02-01:
11 Misc:
12 * Fixed CHANGELOG which was missed in the 12.0 branch cut, causing
13 mis-labeling of the version code in the v12.x branch as v11.0..N
14
15
Primiano Tucci9c294a42021-02-01 18:04:23 +010016v12.0 - 2021-02-01:
17 Tracing service and probes:
18 * Added more helpful error messages if the client library is used without
19 having been initialized.
20 * Added //tools/record_android_trace script to facilitate recording traces
21 from Android devices, automating start + stop-via-ctrl+c + pull + open.
22 * Added auto-attachment of traces to Android bugreports if dumpstate is
23 invoked when a trace with bugreport_score > 0 is running.
24 SDK:
25 * Added ability to customize the timestamp of events via
26 ConvertTimestampToTraceTimeNs().
27 * Fixed support for category names that contain a space.
28 Trace Processor:
29 * Added ingestion and query support for Android end-to-end frame timing
30 events through the {actual, expected}_frame_timeline_slice tables.
31 * Added time-to-reportFullyDrawn (Android's API) to startup metrics.
32 * Fixed excessive memory usage when decoding traces containing callstacks
33 (https://github.com/google/perfetto/issues/83).
34 UI:
35 * Added ability to inspect the full trace config string from the
36 'Info and stats' page.
37 * Fixed 'TABLE/VIEW XXX already exists' in the Metrics page when running the
38 same metric twice.
39 * Fixed sorting of tracks using numeric sorting instead of lexicographic:
40 Thread {1, 2, 10, 11, 20} rather than Thread {1, 10, 11, 2, 20}.
41 * Fixed CSP-related bug that was preventing the UI to work on Firefox.
42 * Changed max zoom resolution to allow to zoom to sub-us events.
43
44
Primiano Tucci96755912021-01-05 12:15:17 +010045v11.0 - 2021-01-01:
46 Tracing service and probes:
Sami Kyostilaae504d42020-12-02 12:00:25 +000047 * Added trace packet interceptor API for rerouting trace data into
48 non-Perfetto systems.
Sami Kyostila6c151262020-12-15 18:48:51 +000049 * Added support for printing track events to the console.
Sami Kyostila2778ac82020-12-21 16:12:27 +000050 * Added a way to observe track event tracing sessions starting and
51 stopping.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000052 Trace Processor:
Primiano Tucci96755912021-01-05 12:15:17 +010053 * Added "ancestor_slice" and "experimental_ancestor_stack_profile_callsite"
54 table functions to look up ancestors of CPU stack samples in profiler
55 tables.
56 * Added power metric reporting suspend/resume time periods.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000057 UI:
Primiano Tucci96755912021-01-05 12:15:17 +010058 * Fixed CPU time calculation in example queries.
59 * Added tracks to debug Android SystemUI jank.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000060
Primiano Tucci5d2be3a2020-12-01 20:42:45 +010061
62v10.0 - 2020-12-01:
63 Tracing service and probes:
64 * Fixed crash of tracing service if a client is unresponsive on the IPC
65 channel. Clients are disconnected if they don't respond to IPCs for 10s.
66 * Added cmdline arguments for integration within ChromeOS system image
67 (--{producer,consumer}-socket-{group,mode} for chmod-ing sockets).
68 * Changed path lookup logic for traced socket. /run/perfetto/ is used if the
69 directory exists, falling back on /tmp/ otherwise.
70 * Added support for kernel frame symbolization to the traced_perf callstack
71 sampler.
72 * Added support for resolving ftrace event arguments that require
73 symbolization against printk_format.
74 Trace Processor:
75 * Added .read command to inject a SQL query file, similar to the -q cmdline.
76 * Added trace-based metrics to root cause jank in Android System UI.
77 * Added symbolization support for ELF files on Windows for heap and
78 callstack profilers.
79 * Added support for symbolizing names of workqueue ftrace events.
80 * Improved Android startup metric with activity restart time.
81 UI:
82 * Added support for navigating flows with Ctrl+[ / Ctr+].
83 * Improved query result panel, moved to the bottom group allowing
84 simultaneous query result and timeline views.
85 * Fixed data corruption when recording traces via the WebUSB-based Record
86 page in the UI.
87
88
Isabelle Taylor8546cee2020-10-30 14:43:53 +000089v9.0 - 2020-11-01:
90 Tracing service and probes:
Sami Kyostilaf99230f2020-10-15 10:38:32 +000091 * Added support for recording traces from a system service through the
92 client API.
93 * The client library now reconnects producers automatically if the
94 connection to the tracing service is lost. Also fixed crashes in ongoing
95 tracing sessions when a disconnect occurs.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000096 * Added support for dpu and g2d ftrace events.
97 * Enabled commit batching and producer side patching of chunks.
98 * Add support for symbolizing kernel symbols for ftrace events.
Primiano Tucci2ab19f62020-07-01 21:28:31 +010099 Trace Processor:
Isabelle Taylor8546cee2020-10-30 14:43:53 +0000100 * Fixed type affinity of string columns.
Primiano Tucci2ab19f62020-07-01 21:28:31 +0100101 UI:
Lalit Maganti09549602020-10-01 16:47:00 +0100102 * Added initial support for running metrics from the UI.
Isabelle Taylor8546cee2020-10-30 14:43:53 +0000103 * Added support for displaying all flows when a slice or area is selected.
104 * Highlight nodes that match the 'focus' string in the flamegraph.
105 * Added search within slice args.
106 * Fixed details panel height and moved query panel into details panel.
107 * Enabled re-sharing of postMessage traces by echoing back the original URL.
108 * Improved record page error messages.
Lalit Maganti09549602020-10-01 16:47:00 +0100109
110
111v8.0 - 2020-10-01:
112 Tracing service and probes:
113 * Added API for querying registered data sources and their capabilities.
114 * Added support for profiling heap allocations on Linux via LD_PRELOAD.
115 * Fixed possible race when initializing the consumer library.
116 * Fixed subtle bugs on systems with 16KB system pages.
117 Trace Processor:
118 * Added a table which lists available metrics.
119 * Added Python bindings on PyPi in the 'perfetto' package.
120 * Added support for running trace_processor_shell on Android.
121 * Added per-process metrics for GPU memory usage.
122 * Added support for exporting flow events to JSON.
123 * Added dynamic tables for navigating between slices of flows.
124 UI:
125 * Changed time marking: horizontal selection doesn't gray out anymore,
126 pressing 'm' marks the range.
127 * Added initial support for displaying flow event arrows.
128 * Improved ordering of all thread tracks under process grouping.
129 * Fixed UI crashes due to metric errors
130 * Fixed selection of thread state slices.
Primiano Tucci2ab19f62020-07-01 21:28:31 +0100131
132
Primiano Tucci816506e2020-09-01 18:13:12 +0200133v7.0 - 2020-09-01:
134 Tracing service and probes:
135 * Added auto-reconnection to the SDK. Tracing::Initialize() now retries in
136 the background, instead of failing, if the tracing service is unrechable.
137 * Added support for recording cpuhp (CPU hotplug) ftrace events.
138 * Fixed heap profiling unwinding on multi-ABI systems.
139 * Fixed reporting of live objects in the native heap profiler when using
140 --dump-at-max.
141 * Fixed crash when writing trace events with field nesting level > 10.
142 Trace Processor:
143 * Added Python bindings, see
144 https://perfetto.dev/docs/analysis/trace-processor#python-api .
145 * Added ingestion for Chrome instant events and Chrome flow events.
146 * Added ingestion for Android GPU memory events and sched_blocked_reason.
147 * Added WebView power metric.
148 * Added support for WSL1 where Async I/O is not available.
149 * Improved detection of Android suspend/resume events.
150 UI:
151 * Added GPU memory recording controls and ingestion code. Requires a recent
152 Android 12+ kernel.
153 * Added details panel for flow events, showed when the user selects a slice
154 involved in a flow (arrows in the UI are still being worked on).
155 * Added instant events rendering.
156 * Added Google Analytics.
157 * Fixed I/O thread-states in 4.14 kernels to deal with the removal of
158 wake-kill using sched_blocked_reason.
159 * Fixed "Perfetto UI started debugging this browser" showing when opening
160 the UI and the Chrome extension is installed.
161 Misc:
162 * Update language to comply with Android's inclusive language guidance.
163
164
Primiano Tucci6d7badc2020-07-31 19:03:27 +0200165v6.0 - 2020-08-01:
166 Tracing service and probes:
167 * Added ftrace thermal events.
168 * Added support for custom allocators to the heap profiler. Allows
169 developers to report memory allocations that are not done through malloc.
170 * Added detailed timestamping of key tracing session events.
171 * Added support for building tracing services on CrOS (system-wide tracing).
172 * Fixed filtering out of stale ftrace data that predates the beginning of
173 the tracing session.
174 Trace Processor:
175 * Improved profile symbolizer. PERFETTO_SYMBOLIZER_MODE=index discovers
176 symbol files by build id rather than name.
177 * Added screen-state Android metrics.
178 UI:
179 * Added 'Info and stats' page to debug data losses and trace stats.
180 * Added full cmdline to process detail panel.
181 * Improved performance of async tracks using quantized queries.
182 * Improved performance of counter and slice tracks for long traces by
183 pre-caching quantized track data.
184 * Improved actionablility of crash dialog when the Wasm module OOMs.
185
186
Primiano Tucci2ab19f62020-07-01 21:28:31 +0100187v5.0 - 2020-07-01:
188 Tracing service and probes:
189 * Added gpu_mem_total ftrace event.
190 * Added TrustZone (scm start/end) event.
191 * Added protos for GPU memory tracking and updated render stages proto.
192 * Added time_in_state probe for Android (CPU time broken down by frequency).
193
194 Trace Processor:
195 * Added ingestion of IRQ and SoftIRQ events.
196 * Added ingestion of workqueue events. KAddr symbolization still missing.
197 * Added ingestion of voltage regulators and board clock change events.
198 * Added ingestion of new ION ion_buffer_create/destroy events.
199 * Added ingestion of TrustZone (scm start/end) events.
200 * Added SurfaceFlinger derived events (tracking of missed frames).
201 * Changed parsing of scheduler task state on 4.14 kernels.
202 * Changed importing of Java heap graphs: allow partial dumps.
203 * Improved performance of the SQL query engine.
204
205 UI:
206 * Added dedicated query page for custom SQL queries.
207 * Added navigation links for Binder slices.
208 * Removed overview summary mode when zoomed out.
209 * Fixed recording page when targeting Android P.
210 * Improved slice pan/zoom performance by quantizing.