blob: 6f3dd02106b1a70103c4aa86a6f48bba9fd81825 [file] [log] [blame]
Primiano Tucci2ab19f62020-07-01 21:28:31 +01001Unreleased:
2 Tracing service and probes:
Primiano Tucci96755912021-01-05 12:15:17 +01003 *
4 Trace Processor:
5 *
6 UI:
7 *
8
9
10v11.0 - 2021-01-01:
11 Tracing service and probes:
Sami Kyostilaae504d42020-12-02 12:00:25 +000012 * Added trace packet interceptor API for rerouting trace data into
13 non-Perfetto systems.
Sami Kyostila6c151262020-12-15 18:48:51 +000014 * Added support for printing track events to the console.
Sami Kyostila2778ac82020-12-21 16:12:27 +000015 * Added a way to observe track event tracing sessions starting and
16 stopping.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000017 Trace Processor:
Primiano Tucci96755912021-01-05 12:15:17 +010018 * Added "ancestor_slice" and "experimental_ancestor_stack_profile_callsite"
19 table functions to look up ancestors of CPU stack samples in profiler
20 tables.
21 * Added power metric reporting suspend/resume time periods.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000022 UI:
Primiano Tucci96755912021-01-05 12:15:17 +010023 * Fixed CPU time calculation in example queries.
24 * Added tracks to debug Android SystemUI jank.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000025
Primiano Tucci5d2be3a2020-12-01 20:42:45 +010026
27v10.0 - 2020-12-01:
28 Tracing service and probes:
29 * Fixed crash of tracing service if a client is unresponsive on the IPC
30 channel. Clients are disconnected if they don't respond to IPCs for 10s.
31 * Added cmdline arguments for integration within ChromeOS system image
32 (--{producer,consumer}-socket-{group,mode} for chmod-ing sockets).
33 * Changed path lookup logic for traced socket. /run/perfetto/ is used if the
34 directory exists, falling back on /tmp/ otherwise.
35 * Added support for kernel frame symbolization to the traced_perf callstack
36 sampler.
37 * Added support for resolving ftrace event arguments that require
38 symbolization against printk_format.
39 Trace Processor:
40 * Added .read command to inject a SQL query file, similar to the -q cmdline.
41 * Added trace-based metrics to root cause jank in Android System UI.
42 * Added symbolization support for ELF files on Windows for heap and
43 callstack profilers.
44 * Added support for symbolizing names of workqueue ftrace events.
45 * Improved Android startup metric with activity restart time.
46 UI:
47 * Added support for navigating flows with Ctrl+[ / Ctr+].
48 * Improved query result panel, moved to the bottom group allowing
49 simultaneous query result and timeline views.
50 * Fixed data corruption when recording traces via the WebUSB-based Record
51 page in the UI.
52
53
Isabelle Taylor8546cee2020-10-30 14:43:53 +000054v9.0 - 2020-11-01:
55 Tracing service and probes:
Sami Kyostilaf99230f2020-10-15 10:38:32 +000056 * Added support for recording traces from a system service through the
57 client API.
58 * The client library now reconnects producers automatically if the
59 connection to the tracing service is lost. Also fixed crashes in ongoing
60 tracing sessions when a disconnect occurs.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000061 * Added support for dpu and g2d ftrace events.
62 * Enabled commit batching and producer side patching of chunks.
63 * Add support for symbolizing kernel symbols for ftrace events.
Primiano Tucci2ab19f62020-07-01 21:28:31 +010064 Trace Processor:
Isabelle Taylor8546cee2020-10-30 14:43:53 +000065 * Fixed type affinity of string columns.
Primiano Tucci2ab19f62020-07-01 21:28:31 +010066 UI:
Lalit Maganti09549602020-10-01 16:47:00 +010067 * Added initial support for running metrics from the UI.
Isabelle Taylor8546cee2020-10-30 14:43:53 +000068 * Added support for displaying all flows when a slice or area is selected.
69 * Highlight nodes that match the 'focus' string in the flamegraph.
70 * Added search within slice args.
71 * Fixed details panel height and moved query panel into details panel.
72 * Enabled re-sharing of postMessage traces by echoing back the original URL.
73 * Improved record page error messages.
Lalit Maganti09549602020-10-01 16:47:00 +010074
75
76v8.0 - 2020-10-01:
77 Tracing service and probes:
78 * Added API for querying registered data sources and their capabilities.
79 * Added support for profiling heap allocations on Linux via LD_PRELOAD.
80 * Fixed possible race when initializing the consumer library.
81 * Fixed subtle bugs on systems with 16KB system pages.
82 Trace Processor:
83 * Added a table which lists available metrics.
84 * Added Python bindings on PyPi in the 'perfetto' package.
85 * Added support for running trace_processor_shell on Android.
86 * Added per-process metrics for GPU memory usage.
87 * Added support for exporting flow events to JSON.
88 * Added dynamic tables for navigating between slices of flows.
89 UI:
90 * Changed time marking: horizontal selection doesn't gray out anymore,
91 pressing 'm' marks the range.
92 * Added initial support for displaying flow event arrows.
93 * Improved ordering of all thread tracks under process grouping.
94 * Fixed UI crashes due to metric errors
95 * Fixed selection of thread state slices.
Primiano Tucci2ab19f62020-07-01 21:28:31 +010096
97
Primiano Tucci816506e2020-09-01 18:13:12 +020098v7.0 - 2020-09-01:
99 Tracing service and probes:
100 * Added auto-reconnection to the SDK. Tracing::Initialize() now retries in
101 the background, instead of failing, if the tracing service is unrechable.
102 * Added support for recording cpuhp (CPU hotplug) ftrace events.
103 * Fixed heap profiling unwinding on multi-ABI systems.
104 * Fixed reporting of live objects in the native heap profiler when using
105 --dump-at-max.
106 * Fixed crash when writing trace events with field nesting level > 10.
107 Trace Processor:
108 * Added Python bindings, see
109 https://perfetto.dev/docs/analysis/trace-processor#python-api .
110 * Added ingestion for Chrome instant events and Chrome flow events.
111 * Added ingestion for Android GPU memory events and sched_blocked_reason.
112 * Added WebView power metric.
113 * Added support for WSL1 where Async I/O is not available.
114 * Improved detection of Android suspend/resume events.
115 UI:
116 * Added GPU memory recording controls and ingestion code. Requires a recent
117 Android 12+ kernel.
118 * Added details panel for flow events, showed when the user selects a slice
119 involved in a flow (arrows in the UI are still being worked on).
120 * Added instant events rendering.
121 * Added Google Analytics.
122 * Fixed I/O thread-states in 4.14 kernels to deal with the removal of
123 wake-kill using sched_blocked_reason.
124 * Fixed "Perfetto UI started debugging this browser" showing when opening
125 the UI and the Chrome extension is installed.
126 Misc:
127 * Update language to comply with Android's inclusive language guidance.
128
129
Primiano Tucci6d7badc2020-07-31 19:03:27 +0200130v6.0 - 2020-08-01:
131 Tracing service and probes:
132 * Added ftrace thermal events.
133 * Added support for custom allocators to the heap profiler. Allows
134 developers to report memory allocations that are not done through malloc.
135 * Added detailed timestamping of key tracing session events.
136 * Added support for building tracing services on CrOS (system-wide tracing).
137 * Fixed filtering out of stale ftrace data that predates the beginning of
138 the tracing session.
139 Trace Processor:
140 * Improved profile symbolizer. PERFETTO_SYMBOLIZER_MODE=index discovers
141 symbol files by build id rather than name.
142 * Added screen-state Android metrics.
143 UI:
144 * Added 'Info and stats' page to debug data losses and trace stats.
145 * Added full cmdline to process detail panel.
146 * Improved performance of async tracks using quantized queries.
147 * Improved performance of counter and slice tracks for long traces by
148 pre-caching quantized track data.
149 * Improved actionablility of crash dialog when the Wasm module OOMs.
150
151
Primiano Tucci2ab19f62020-07-01 21:28:31 +0100152v5.0 - 2020-07-01:
153 Tracing service and probes:
154 * Added gpu_mem_total ftrace event.
155 * Added TrustZone (scm start/end) event.
156 * Added protos for GPU memory tracking and updated render stages proto.
157 * Added time_in_state probe for Android (CPU time broken down by frequency).
158
159 Trace Processor:
160 * Added ingestion of IRQ and SoftIRQ events.
161 * Added ingestion of workqueue events. KAddr symbolization still missing.
162 * Added ingestion of voltage regulators and board clock change events.
163 * Added ingestion of new ION ion_buffer_create/destroy events.
164 * Added ingestion of TrustZone (scm start/end) events.
165 * Added SurfaceFlinger derived events (tracking of missed frames).
166 * Changed parsing of scheduler task state on 4.14 kernels.
167 * Changed importing of Java heap graphs: allow partial dumps.
168 * Improved performance of the SQL query engine.
169
170 UI:
171 * Added dedicated query page for custom SQL queries.
172 * Added navigation links for Binder slices.
173 * Removed overview summary mode when zoomed out.
174 * Fixed recording page when targeting Android P.
175 * Improved slice pan/zoom performance by quantizing.