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