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