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