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