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