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