Primiano Tucci | 2ab19f6 | 2020-07-01 21:28:31 +0100 | [diff] [blame] | 1 | Unreleased: |
| 2 | Tracing service and probes: |
Primiano Tucci | 5eabf6f | 2021-09-07 14:49:48 +0100 | [diff] [blame] | 3 | * Removed DCHECK that would cause crashes when a debug build of the service |
| 4 | is used with a producer built with -DNDEBUG. |
Primiano Tucci | 5f30314 | 2021-06-02 10:28:50 +0100 | [diff] [blame] | 5 | Trace Processor: |
Lalit Maganti | 0900298 | 2021-09-10 17:04:08 +0100 | [diff] [blame^] | 6 | * Added reqiurement of separating queries by semi-colon (;) followed by |
| 7 | new-line when specifying a query file with -q to trace processor shell. |
Zaina Al-Mashni | 5ed83f9 | 2021-09-09 09:08:38 +0000 | [diff] [blame] | 8 | * Added "ancestor_slice_by_stack" and "descendant_slice_by_stack" table |
| 9 | functions to walk up and down the slice stacks. |
Primiano Tucci | 876be6d | 2021-08-02 20:58:06 +0100 | [diff] [blame] | 10 | UI: |
| 11 | * |
| 12 | SDK: |
Primiano Tucci | 1a69d01 | 2021-09-07 14:52:27 +0100 | [diff] [blame] | 13 | * Changed DCHECK and DLOGs to be always disabled in SDK builds, regardless |
| 14 | of NDEBUG. |
Primiano Tucci | 876be6d | 2021-08-02 20:58:06 +0100 | [diff] [blame] | 15 | |
| 16 | |
Primiano Tucci | e356c10 | 2021-09-07 11:47:47 +0100 | [diff] [blame] | 17 | v19.0 - 2021-09-02: |
| 18 | Tracing service and probes: |
| 19 | * Added ftrace clock reporting to the trace. |
| 20 | Trace Processor: |
| 21 | * Added support for longs/doubles to RUN_METRIC. |
| 22 | * Added power profile data for sunfish, redfin, and bramble. |
| 23 | * Added experimental Python library for computing slice breakdowns. |
| 24 | * Fixed parsing of JSON escape sequences. |
| 25 | * Fixed JSON trace detection. |
| 26 | UI: |
| 27 | * Added local cacheing of traces. Traces are reloaded in case of refresh or |
| 28 | tab being discarded by the browser. |
| 29 | * Added icon to distinguish metric-derived tracks. |
| 30 | * Added release channel selector to feature flags page. |
| 31 | * Fixed crash with null slice names. |
| 32 | SDK: |
| 33 | * Added some missing NESTABLE_ASYNC legacy trace macros. |
| 34 | * Fixed reporting of producer uid in --query. |
| 35 | * Fixed version numbering scheme for minor versions. Previously versions |
| 36 | were numbered as like v19.0.42 where 42 represented the number of commits |
| 37 | since the last major version release. This was ambiguous in the presence |
| 38 | of branches. Now versions are numbered like v19.0-ab12cd34 where ab12cd34 |
| 39 | is the shortened Git commit-ish. |
| 40 | |
| 41 | |
Primiano Tucci | 876be6d | 2021-08-02 20:58:06 +0100 | [diff] [blame] | 42 | v18.0 - 2021-08-02: |
| 43 | Tracing service and probes: |
| 44 | * Added cross-compiler toolchains for Linux-{arm,64} based on Debian Sid. |
| 45 | These will be used for generating monthly releases' prebuilts via LUCI. |
| 46 | Trace Processor: |
| 47 | * Added 'android_gpu' metric to report residency information for each GPU |
| 48 | frequency (via `trace_processor_shell --run-metrics android_gpu`). |
Primiano Tucci | e2422be | 2021-07-20 18:19:45 +0100 | [diff] [blame] | 49 | * Removed the RawQuery RPC interface. |
Primiano Tucci | 50199ce | 2021-07-02 14:50:53 +0100 | [diff] [blame] | 50 | UI: |
Primiano Tucci | e2422be | 2021-07-20 18:19:45 +0100 | [diff] [blame] | 51 | * Added a highlighted section to thread slices to visualize CPU time |
Zaina Al-Mashni | 3911f61 | 2021-07-13 18:09:34 +0000 | [diff] [blame] | 52 | (darker) verses wall time (lighter). |
Primiano Tucci | 876be6d | 2021-08-02 20:58:06 +0100 | [diff] [blame] | 53 | * Added global counter tracks for perf counters (e.g. "CPU 0 cycles", "CPU 0 |
| 54 | instructions") when the 'linux.perf' data source (traced_perf) is used. |
| 55 | * Added a (feature) 'Flags' page to enable/disable individual metrics. |
| 56 | * Fixed races that could cause occasional crashes when loading a trace |
| 57 | from a permalink. |
Primiano Tucci | 50199ce | 2021-07-02 14:50:53 +0100 | [diff] [blame] | 58 | SDK: |
Primiano Tucci | e2422be | 2021-07-20 18:19:45 +0100 | [diff] [blame] | 59 | * Fix undefined reference on ~TracingMuxerFake when building the SDK. |
Primiano Tucci | 50199ce | 2021-07-02 14:50:53 +0100 | [diff] [blame] | 60 | |
| 61 | |
| 62 | v17.0 - 2021-07-02: |
| 63 | Tracing service and probes: |
Ryan Savitski | 6444aad | 2021-07-02 16:30:57 +0100 | [diff] [blame] | 64 | * Fixed a bug in ftrace parsing of absolute timestamps |
| 65 | (RINGBUF_TYPE_TIME_STAMP), encountered on Linux kernels 5.9+. |
Primiano Tucci | 50199ce | 2021-07-02 14:50:53 +0100 | [diff] [blame] | 66 | * Fixed a bug in --save-for-bugreport causing 0-length traces if the |
| 67 | selected trace declared one or more triggers in the config. |
| 68 | * Fixed a bug in tracebox causing the PERFETTO_PRODUCER_SOCK_NAME env |
| 69 | var to be ignored. |
| 70 | Trace Processor: |
Primiano Tucci | 728230d | 2021-06-16 15:38:35 +0100 | [diff] [blame] | 71 | * Changed CORS headers of --httpd mode to allow only https://ui.perfetto.dev |
| 72 | and http://localhost:10000. This affects only CORS-aware browser clients. |
Primiano Tucci | 50199ce | 2021-07-02 14:50:53 +0100 | [diff] [blame] | 73 | * Added GPU frequency metrics. |
Primiano Tucci | 5f30314 | 2021-06-02 10:28:50 +0100 | [diff] [blame] | 74 | UI: |
Primiano Tucci | ce51d52 | 2021-06-03 14:57:45 +0100 | [diff] [blame] | 75 | * Fixed ADB connection issues ("unable to reset device") on Windows and Mac. |
Primiano Tucci | 50199ce | 2021-07-02 14:50:53 +0100 | [diff] [blame] | 76 | * Added caching of tracing in the cache storage so that the trace is |
| 77 | re-opened if a tab is killed (Chrome tab discarding or accidental CTRL+W). |
Primiano Tucci | 5f30314 | 2021-06-02 10:28:50 +0100 | [diff] [blame] | 78 | SDK: |
Sami Kyostila | c687c2e | 2021-06-03 13:00:45 +0100 | [diff] [blame] | 79 | * Added support for writing track events using custom clock timestamps. |
Primiano Tucci | 5f30314 | 2021-06-02 10:28:50 +0100 | [diff] [blame] | 80 | |
| 81 | |
Primiano Tucci | 5ca51f9 | 2021-06-08 10:29:35 +0100 | [diff] [blame] | 82 | v16.1 - 2021-06-08: |
| 83 | Tracing service and probes: |
| 84 | * Cherry-pick of r.android.com/1716718 which missed the v16 branch cut and |
| 85 | fixed MSVC 2019 builds. |
| 86 | |
| 87 | |
Primiano Tucci | 5f30314 | 2021-06-02 10:28:50 +0100 | [diff] [blame] | 88 | v16.0 - 2021-06-01: |
| 89 | Tracing service and probes: |
Primiano Tucci | 235610f | 2021-05-24 20:22:43 +0100 | [diff] [blame] | 90 | * Added support for building most targets (including traced, SDK and |
| 91 | trace_processor_shell) from Windows using either clang-cl or MSVC 2019. |
| 92 | * Added tracebox, a monolithic binary to capture traces with one command |
| 93 | on Linux and older versions of Android (tested on Android Oreo). |
Primiano Tucci | 5f30314 | 2021-06-02 10:28:50 +0100 | [diff] [blame] | 94 | * Added support for service-side field-level filtering of traces. The |
| 95 | consumer can pass a filter bytecode and ensure that non-allowed fields |
| 96 | are never emitted in output. |
| 97 | * Added reporting of service version and producer SDK version into the trace |
| 98 | and `perfetto --query`. |
| 99 | * Fixed compatibility with Android versions older than Pie (for sideloading) |
| 100 | which cause failures when trying to enable atrace categories. |
Primiano Tucci | 9675591 | 2021-01-05 12:15:17 +0100 | [diff] [blame] | 101 | Trace Processor: |
Primiano Tucci | 5f30314 | 2021-06-02 10:28:50 +0100 | [diff] [blame] | 102 | * Added new RPC interface based on a bidirectional binary pipe. This allows |
| 103 | to simplify integration with out-of-process users. The existing --httpd |
| 104 | interface now exposes a single /rpc endpoint. Older endpoints are still |
| 105 | available for legacy clients. |
| 106 | * Added support for counters and instant events in JSON traces. |
| 107 | * Fixed support of displayTimeUnit in JSON traces. |
Primiano Tucci | e60b7c8 | 2021-03-03 14:09:35 +0000 | [diff] [blame] | 108 | UI: |
Primiano Tucci | 4132740 | 2021-06-01 20:28:00 +0100 | [diff] [blame] | 109 | * Added warning dialog when trying to use a trace_processor_shell --httpd |
| 110 | which is too old. |
| 111 | * Added warning dialog when trying to use a trace_processor_shell --httpd |
| 112 | RPC instance from more than one tab. |
Primiano Tucci | 5f30314 | 2021-06-02 10:28:50 +0100 | [diff] [blame] | 113 | * Added links to convert the trace to JSON or systrace directly from the UI. |
| 114 | * Changed track sorting logic. Tracks are now sorted in groups (e.g., |
| 115 | scheduling tracks, summary tracks, frame timeline tracks). |
| 116 | * Fixed crashes happening flakily when pushing traces via window.open(). |
Primiano Tucci | 8220de2 | 2021-05-05 09:53:37 +0100 | [diff] [blame] | 117 | |
| 118 | |
| 119 | v15.0 - 2021-05-05: |
| 120 | Tracing service and probes: |
| 121 | * Added support for {host,target}=aarch64 standalone builds. |
| 122 | * Added --background cmdline switch to traced and traced_probes services. |
| 123 | * Changed trigger_perfetto to ignore unknown command line arguments to |
| 124 | preserve forward compatibility. |
| 125 | * Added -a / --app cmdline argument to tools/record_android_trace. |
| 126 | Trace Processor: |
| 127 | * Added sanitisation of keys in nested debug annotation dictionaries. |
| 128 | * Changed Android startup metric: count CPU time of JIT thread pool, report |
| 129 | timestamp of activities during startup. |
| 130 | * Changed android_surfaceflinger metric, added missed frame counters. |
| 131 | * Changed version of SQLite to 3.35.4. |
| 132 | * Fixed importing of JSON traces with decimal (sub-us) timestamp. |
| 133 | * Fixed prepending "debug." prefix to debug annotations with non-interned |
| 134 | names. |
| 135 | UI: |
| 136 | * Added support to visualize the lifetime of individual dmabuf allocations |
| 137 | as async slices (datasource: already existing ftrace dmabuf event). |
| 138 | * Fixed visualization of unfinished slices to extend to the end of the |
| 139 | viewport. |
| 140 | SDK: |
Alexander Timin | 129bdcf | 2021-04-16 11:36:37 +0000 | [diff] [blame] | 141 | * Added support for passing arbitrary number of debug annotations to |
| 142 | TRACE_EVENT and combining them with lambdas. |
| 143 | * Added support for writing typed TrackEvent arguments using TRACE_EVENT |
| 144 | inline without lambdas. |
Primiano Tucci | 8220de2 | 2021-05-05 09:53:37 +0100 | [diff] [blame] | 145 | * Changed ConvertTimestampToTraceTimeNs to be a member of |
| 146 | TraceTimestampTraits<T> struct instead of a standalone function. |
| 147 | * Changed TracedValue to use nested DebugAnnotation proto instead of |
| 148 | DebugAnnotation::NestedValue. |
Primiano Tucci | 7454e1a | 2021-04-01 13:03:19 +0100 | [diff] [blame] | 149 | |
| 150 | |
| 151 | v14.0 - 2021-04-01: |
| 152 | Tracing service and probes: |
| 153 | * Added support for polling power rails on Android from the newer |
| 154 | IPowerStats AIDL interface (previously using only the HAL interface). |
| 155 | * Fixed native heap profiler crash when ABI of heapprofd and profiled |
| 156 | process mismatch. |
| 157 | * Changed encoding format of Anroid managed heap profiler to reduce heap |
| 158 | dump sizes by delta-encoding object IDs. |
| 159 | Trace Processor: |
| 160 | * Added activity create/resume, layout inflation and resource timings to |
| 161 | the Android startup metric. |
| 162 | * Added chrome metadata key/value pairs (e.g. chrome version) into the |
| 163 | `metadata` table with 'cr-' prefixed keys. |
| 164 | * Added dma-buf-based memory metrics reporting total/avg/min/max dmabuf |
| 165 | allocation per-dmabuf-heap and per-process. |
| 166 | * Removed |force_full_sort| flag from config. This has been replaced |
| 167 | by setting the sorting mode to force a full sort. |
| 168 | UI: |
| 169 | * Added tools/symbolize-ui-crash script to resolve crash reports via |
| 170 | TypeScript source maps. |
| 171 | * Fixed newlines when copying Android event log lines into the clipboard. |
| 172 | * Fixed crash when selecting "Did not finish" slices. |
| 173 | * Fixed OOM dialog to give actionable instructions when opening large traces |
| 174 | rather than suggesting to file a bug. |
Sami Kyostila | edf7c86 | 2021-03-11 13:33:35 +0000 | [diff] [blame] | 175 | SDK: |
Primiano Tucci | 7454e1a | 2021-04-01 13:03:19 +0100 | [diff] [blame] | 176 | * Added /meson.build for bundling /sdk/perfetto.{cc,h} in Meson builds. |
| 177 | * Added support for counter trace points with the TRACE_COUNTER macro. |
| 178 | |
Primiano Tucci | e60b7c8 | 2021-03-03 14:09:35 +0000 | [diff] [blame] | 179 | |
| 180 | v13.0 - 2021-03-01: |
| 181 | Tracing service and probes: |
| 182 | * Added ability to sample callstacks using kernel tracepoints as timebase. |
| 183 | * Added abililty to record the perf timebase counter values into the trace, |
| 184 | both combined callstack+counter or counter-only. |
| 185 | * Added abillity to trigger traces based on VM pressure on Android. Requires |
| 186 | a dedicated tracing instance in $tracefs/instances/mm_events. |
| 187 | Trace Processor: |
Lalit Maganti | 88eb698 | 2021-03-01 14:28:51 +0000 | [diff] [blame] | 188 | * Added sorting mode to trace processor config to specify how trace |
| 189 | processor should sort events. The |force_full_sort| flag has been |
| 190 | deprecated (with replacement) and will be removed in the next version. |
Primiano Tucci | e60b7c8 | 2021-03-03 14:09:35 +0000 | [diff] [blame] | 191 | * Added ingestion of frame timeline events into the |
| 192 | {expected,actual}_frame_timeline_slice tables. |
| 193 | * Added support for Mali's trace_marker_write ftrace event. |
| 194 | * Added memory metric based on newer android_fastrpc kernel events. |
Primiano Tucci | 9675591 | 2021-01-05 12:15:17 +0100 | [diff] [blame] | 195 | UI: |
Primiano Tucci | e60b7c8 | 2021-03-03 14:09:35 +0000 | [diff] [blame] | 196 | * Added flow events support for instant events and async tracks. |
| 197 | * Added support for Android frame timeline events. They allow inspecting |
| 198 | end-to-end expected vs actual app-to-surfaceflinger frame times. |
| 199 | * Added ability to switch between Canary and Stable channels in the UI. |
| 200 | * Added ability to drag&drop to open trace files. |
| 201 | * Changed UI serving infrastructure, old ui versions can be now retrieved by |
| 202 | directly opening https://ui.perfetto.dev/v12.1.269/ . |
| 203 | * Removed thread state track for threads that have no activity. |
Sami Kyostila | e8c0ff5 | 2021-02-16 11:26:16 +0000 | [diff] [blame] | 204 | SDK: |
| 205 | * Use process start time hashed with the process id as a unique process |
| 206 | identifier, allowing multiple independent users of the SDK in the same |
| 207 | process to interleave their events on shared tracks. |
Sami Kyostila | 86b10c5 | 2021-02-16 16:50:42 +0000 | [diff] [blame] | 208 | * Record process and thread names into the trace. |
Sami Kyostila | 67cdc66 | 2021-02-26 16:42:14 +0000 | [diff] [blame] | 209 | * Add ring buffer tracing support, i.e., periodic clearing of incremental |
| 210 | state. |
Primiano Tucci | e60b7c8 | 2021-03-03 14:09:35 +0000 | [diff] [blame] | 211 | Misc: |
| 212 | * Convert python scripts to python3. |
Primiano Tucci | 9675591 | 2021-01-05 12:15:17 +0100 | [diff] [blame] | 213 | |
| 214 | |
Primiano Tucci | 71a9239 | 2021-02-01 23:45:28 +0100 | [diff] [blame] | 215 | v12.1 - 2021-02-01: |
| 216 | Misc: |
| 217 | * Fixed CHANGELOG which was missed in the 12.0 branch cut, causing |
| 218 | mis-labeling of the version code in the v12.x branch as v11.0..N |
| 219 | |
| 220 | |
Primiano Tucci | 9c294a4 | 2021-02-01 18:04:23 +0100 | [diff] [blame] | 221 | v12.0 - 2021-02-01: |
| 222 | Tracing service and probes: |
| 223 | * Added more helpful error messages if the client library is used without |
| 224 | having been initialized. |
| 225 | * Added //tools/record_android_trace script to facilitate recording traces |
| 226 | from Android devices, automating start + stop-via-ctrl+c + pull + open. |
| 227 | * Added auto-attachment of traces to Android bugreports if dumpstate is |
| 228 | invoked when a trace with bugreport_score > 0 is running. |
| 229 | SDK: |
| 230 | * Added ability to customize the timestamp of events via |
| 231 | ConvertTimestampToTraceTimeNs(). |
| 232 | * Fixed support for category names that contain a space. |
| 233 | Trace Processor: |
| 234 | * Added ingestion and query support for Android end-to-end frame timing |
| 235 | events through the {actual, expected}_frame_timeline_slice tables. |
| 236 | * Added time-to-reportFullyDrawn (Android's API) to startup metrics. |
| 237 | * Fixed excessive memory usage when decoding traces containing callstacks |
| 238 | (https://github.com/google/perfetto/issues/83). |
| 239 | UI: |
| 240 | * Added ability to inspect the full trace config string from the |
| 241 | 'Info and stats' page. |
| 242 | * Fixed 'TABLE/VIEW XXX already exists' in the Metrics page when running the |
| 243 | same metric twice. |
| 244 | * Fixed sorting of tracks using numeric sorting instead of lexicographic: |
| 245 | Thread {1, 2, 10, 11, 20} rather than Thread {1, 10, 11, 2, 20}. |
| 246 | * Fixed CSP-related bug that was preventing the UI to work on Firefox. |
| 247 | * Changed max zoom resolution to allow to zoom to sub-us events. |
| 248 | |
| 249 | |
Primiano Tucci | 9675591 | 2021-01-05 12:15:17 +0100 | [diff] [blame] | 250 | v11.0 - 2021-01-01: |
| 251 | Tracing service and probes: |
Sami Kyostila | ae504d4 | 2020-12-02 12:00:25 +0000 | [diff] [blame] | 252 | * Added trace packet interceptor API for rerouting trace data into |
| 253 | non-Perfetto systems. |
Sami Kyostila | 6c15126 | 2020-12-15 18:48:51 +0000 | [diff] [blame] | 254 | * Added support for printing track events to the console. |
Sami Kyostila | 2778ac8 | 2020-12-21 16:12:27 +0000 | [diff] [blame] | 255 | * Added a way to observe track event tracing sessions starting and |
| 256 | stopping. |
Isabelle Taylor | 8546cee | 2020-10-30 14:43:53 +0000 | [diff] [blame] | 257 | Trace Processor: |
Primiano Tucci | 9675591 | 2021-01-05 12:15:17 +0100 | [diff] [blame] | 258 | * Added "ancestor_slice" and "experimental_ancestor_stack_profile_callsite" |
| 259 | table functions to look up ancestors of CPU stack samples in profiler |
| 260 | tables. |
| 261 | * Added power metric reporting suspend/resume time periods. |
Isabelle Taylor | 8546cee | 2020-10-30 14:43:53 +0000 | [diff] [blame] | 262 | UI: |
Primiano Tucci | 9675591 | 2021-01-05 12:15:17 +0100 | [diff] [blame] | 263 | * Fixed CPU time calculation in example queries. |
| 264 | * Added tracks to debug Android SystemUI jank. |
Isabelle Taylor | 8546cee | 2020-10-30 14:43:53 +0000 | [diff] [blame] | 265 | |
Primiano Tucci | 5d2be3a | 2020-12-01 20:42:45 +0100 | [diff] [blame] | 266 | |
| 267 | v10.0 - 2020-12-01: |
| 268 | Tracing service and probes: |
| 269 | * Fixed crash of tracing service if a client is unresponsive on the IPC |
| 270 | channel. Clients are disconnected if they don't respond to IPCs for 10s. |
| 271 | * Added cmdline arguments for integration within ChromeOS system image |
| 272 | (--{producer,consumer}-socket-{group,mode} for chmod-ing sockets). |
| 273 | * Changed path lookup logic for traced socket. /run/perfetto/ is used if the |
| 274 | directory exists, falling back on /tmp/ otherwise. |
| 275 | * Added support for kernel frame symbolization to the traced_perf callstack |
| 276 | sampler. |
| 277 | * Added support for resolving ftrace event arguments that require |
| 278 | symbolization against printk_format. |
| 279 | Trace Processor: |
| 280 | * Added .read command to inject a SQL query file, similar to the -q cmdline. |
| 281 | * Added trace-based metrics to root cause jank in Android System UI. |
| 282 | * Added symbolization support for ELF files on Windows for heap and |
| 283 | callstack profilers. |
| 284 | * Added support for symbolizing names of workqueue ftrace events. |
| 285 | * Improved Android startup metric with activity restart time. |
| 286 | UI: |
| 287 | * Added support for navigating flows with Ctrl+[ / Ctr+]. |
| 288 | * Improved query result panel, moved to the bottom group allowing |
| 289 | simultaneous query result and timeline views. |
| 290 | * Fixed data corruption when recording traces via the WebUSB-based Record |
| 291 | page in the UI. |
| 292 | |
| 293 | |
Isabelle Taylor | 8546cee | 2020-10-30 14:43:53 +0000 | [diff] [blame] | 294 | v9.0 - 2020-11-01: |
| 295 | Tracing service and probes: |
Sami Kyostila | f99230f | 2020-10-15 10:38:32 +0000 | [diff] [blame] | 296 | * Added support for recording traces from a system service through the |
| 297 | client API. |
| 298 | * The client library now reconnects producers automatically if the |
| 299 | connection to the tracing service is lost. Also fixed crashes in ongoing |
| 300 | tracing sessions when a disconnect occurs. |
Isabelle Taylor | 8546cee | 2020-10-30 14:43:53 +0000 | [diff] [blame] | 301 | * Added support for dpu and g2d ftrace events. |
| 302 | * Enabled commit batching and producer side patching of chunks. |
| 303 | * Add support for symbolizing kernel symbols for ftrace events. |
Primiano Tucci | 2ab19f6 | 2020-07-01 21:28:31 +0100 | [diff] [blame] | 304 | Trace Processor: |
Isabelle Taylor | 8546cee | 2020-10-30 14:43:53 +0000 | [diff] [blame] | 305 | * Fixed type affinity of string columns. |
Primiano Tucci | 2ab19f6 | 2020-07-01 21:28:31 +0100 | [diff] [blame] | 306 | UI: |
Lalit Maganti | 0954960 | 2020-10-01 16:47:00 +0100 | [diff] [blame] | 307 | * Added initial support for running metrics from the UI. |
Isabelle Taylor | 8546cee | 2020-10-30 14:43:53 +0000 | [diff] [blame] | 308 | * Added support for displaying all flows when a slice or area is selected. |
| 309 | * Highlight nodes that match the 'focus' string in the flamegraph. |
| 310 | * Added search within slice args. |
| 311 | * Fixed details panel height and moved query panel into details panel. |
| 312 | * Enabled re-sharing of postMessage traces by echoing back the original URL. |
| 313 | * Improved record page error messages. |
Lalit Maganti | 0954960 | 2020-10-01 16:47:00 +0100 | [diff] [blame] | 314 | |
| 315 | |
| 316 | v8.0 - 2020-10-01: |
| 317 | Tracing service and probes: |
| 318 | * Added API for querying registered data sources and their capabilities. |
| 319 | * Added support for profiling heap allocations on Linux via LD_PRELOAD. |
| 320 | * Fixed possible race when initializing the consumer library. |
| 321 | * Fixed subtle bugs on systems with 16KB system pages. |
| 322 | Trace Processor: |
| 323 | * Added a table which lists available metrics. |
| 324 | * Added Python bindings on PyPi in the 'perfetto' package. |
| 325 | * Added support for running trace_processor_shell on Android. |
| 326 | * Added per-process metrics for GPU memory usage. |
| 327 | * Added support for exporting flow events to JSON. |
| 328 | * Added dynamic tables for navigating between slices of flows. |
| 329 | UI: |
| 330 | * Changed time marking: horizontal selection doesn't gray out anymore, |
| 331 | pressing 'm' marks the range. |
| 332 | * Added initial support for displaying flow event arrows. |
| 333 | * Improved ordering of all thread tracks under process grouping. |
| 334 | * Fixed UI crashes due to metric errors |
| 335 | * Fixed selection of thread state slices. |
Primiano Tucci | 2ab19f6 | 2020-07-01 21:28:31 +0100 | [diff] [blame] | 336 | |
| 337 | |
Primiano Tucci | 816506e | 2020-09-01 18:13:12 +0200 | [diff] [blame] | 338 | v7.0 - 2020-09-01: |
| 339 | Tracing service and probes: |
| 340 | * Added auto-reconnection to the SDK. Tracing::Initialize() now retries in |
| 341 | the background, instead of failing, if the tracing service is unrechable. |
| 342 | * Added support for recording cpuhp (CPU hotplug) ftrace events. |
| 343 | * Fixed heap profiling unwinding on multi-ABI systems. |
| 344 | * Fixed reporting of live objects in the native heap profiler when using |
| 345 | --dump-at-max. |
| 346 | * Fixed crash when writing trace events with field nesting level > 10. |
| 347 | Trace Processor: |
| 348 | * Added Python bindings, see |
| 349 | https://perfetto.dev/docs/analysis/trace-processor#python-api . |
| 350 | * Added ingestion for Chrome instant events and Chrome flow events. |
| 351 | * Added ingestion for Android GPU memory events and sched_blocked_reason. |
| 352 | * Added WebView power metric. |
| 353 | * Added support for WSL1 where Async I/O is not available. |
| 354 | * Improved detection of Android suspend/resume events. |
| 355 | UI: |
| 356 | * Added GPU memory recording controls and ingestion code. Requires a recent |
| 357 | Android 12+ kernel. |
| 358 | * Added details panel for flow events, showed when the user selects a slice |
| 359 | involved in a flow (arrows in the UI are still being worked on). |
| 360 | * Added instant events rendering. |
| 361 | * Added Google Analytics. |
| 362 | * Fixed I/O thread-states in 4.14 kernels to deal with the removal of |
| 363 | wake-kill using sched_blocked_reason. |
| 364 | * Fixed "Perfetto UI started debugging this browser" showing when opening |
| 365 | the UI and the Chrome extension is installed. |
| 366 | Misc: |
| 367 | * Update language to comply with Android's inclusive language guidance. |
| 368 | |
| 369 | |
Primiano Tucci | 6d7badc | 2020-07-31 19:03:27 +0200 | [diff] [blame] | 370 | v6.0 - 2020-08-01: |
| 371 | Tracing service and probes: |
| 372 | * Added ftrace thermal events. |
| 373 | * Added support for custom allocators to the heap profiler. Allows |
| 374 | developers to report memory allocations that are not done through malloc. |
| 375 | * Added detailed timestamping of key tracing session events. |
| 376 | * Added support for building tracing services on CrOS (system-wide tracing). |
| 377 | * Fixed filtering out of stale ftrace data that predates the beginning of |
| 378 | the tracing session. |
| 379 | Trace Processor: |
| 380 | * Improved profile symbolizer. PERFETTO_SYMBOLIZER_MODE=index discovers |
| 381 | symbol files by build id rather than name. |
| 382 | * Added screen-state Android metrics. |
| 383 | UI: |
| 384 | * Added 'Info and stats' page to debug data losses and trace stats. |
| 385 | * Added full cmdline to process detail panel. |
| 386 | * Improved performance of async tracks using quantized queries. |
| 387 | * Improved performance of counter and slice tracks for long traces by |
| 388 | pre-caching quantized track data. |
| 389 | * Improved actionablility of crash dialog when the Wasm module OOMs. |
| 390 | |
| 391 | |
Primiano Tucci | 2ab19f6 | 2020-07-01 21:28:31 +0100 | [diff] [blame] | 392 | v5.0 - 2020-07-01: |
| 393 | Tracing service and probes: |
| 394 | * Added gpu_mem_total ftrace event. |
| 395 | * Added TrustZone (scm start/end) event. |
| 396 | * Added protos for GPU memory tracking and updated render stages proto. |
| 397 | * Added time_in_state probe for Android (CPU time broken down by frequency). |
| 398 | |
| 399 | Trace Processor: |
| 400 | * Added ingestion of IRQ and SoftIRQ events. |
| 401 | * Added ingestion of workqueue events. KAddr symbolization still missing. |
| 402 | * Added ingestion of voltage regulators and board clock change events. |
| 403 | * Added ingestion of new ION ion_buffer_create/destroy events. |
| 404 | * Added ingestion of TrustZone (scm start/end) events. |
| 405 | * Added SurfaceFlinger derived events (tracking of missed frames). |
| 406 | * Changed parsing of scheduler task state on 4.14 kernels. |
| 407 | * Changed importing of Java heap graphs: allow partial dumps. |
| 408 | * Improved performance of the SQL query engine. |
| 409 | |
| 410 | UI: |
| 411 | * Added dedicated query page for custom SQL queries. |
| 412 | * Added navigation links for Binder slices. |
| 413 | * Removed overview summary mode when zoomed out. |
| 414 | * Fixed recording page when targeting Android P. |
| 415 | * Improved slice pan/zoom performance by quantizing. |