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