)]}'
{
  "log": [
    {
      "commit": "51270f2c77bfc85b08a25fe451336bcd222fddfd",
      "tree": "03ba66df0415cc6734a97011f38509ae4c421cfb",
      "parents": [
        "b3432b7098e9ae804e493331196a24c62c52f5c2"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Fri Dec 04 00:20:01 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Dec 04 00:20:01 2026"
      },
      "message": "perfetto: export trace_redactor binary in Bazel BUILD (#9117)\n\nExport `//src/trace_redaction:trace_redactor` in `tools/gen_bazel`\n(`allowlist_public_targets`) and regenerate `BUILD` so\n`//:trace_redactor` (`//third_party/perfetto:trace_redactor` in google3)\nis available to allowlisted Bazel/google3 consumers (e.g. Play\u0027s Flume\npipeline)."
    },
    {
      "commit": "b3432b7098e9ae804e493331196a24c62c52f5c2",
      "tree": "9f74d8e062b1b40338abd6b5c62f2eae39fa27e9",
      "parents": [
        "1d01a63438084dd5d4277e972763f38a52f50a86"
      ],
      "author": {
        "name": "etiennep-chromium",
        "email": "etiennep@chromium.org",
        "time": "Fri Dec 04 00:06:18 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Dec 04 00:06:18 2026"
      },
      "message": "protovm: move SurfaceFlinger memory test to integrationtests (#9116)\n\nProgramDecoderTest.MemoryUsage_SurfaceFlinger (added in #8529) reads\ntest/data/protovm_surfaceflinger.pftrace. That file is fetched by\ntools/test_data and is not available to embedders: Chromium builds and\nruns perfetto_unittests without Perfetto\u0027s test data, so the test fails\non every platform and blocks the Perfetto -\u003e Chromium roll\n(https://crrev.com/c/8900923).\n\nTests that depend on test/data/ usually belong in\nperfetto_integrationtests,\nnot perfetto_unittests. Move this test to a new\nsrc/protovm:integrationtests target, registered alongside the other\ndata-dependent integration tests in gn/perfetto_integrationtests.gni.\nThe remaining ProgramDecoderTest cases are hermetic and stay in\nsrc/protovm:unittests."
    },
    {
      "commit": "1d01a63438084dd5d4277e972763f38a52f50a86",
      "tree": "4a8775e9ffdba7d6948c85be6d215df2267ca385",
      "parents": [
        "91bdbaedce2b4167cfe9c50398a8deba713f2aa6"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Thu Dec 03 19:01:57 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 19:01:57 2026"
      },
      "message": "perfetto: Fix Python type checking for QueryResultIterator.Row (#9110)\n\nFixes a Python type-checking regression from #9085.\n\n#9085 typed `QueryResultIterator.__next__` to return `Row`, whose column\nattributes (e.g. `row.ts`) are added dynamically at runtime. `Row` only\nhad `_HAS_DYNAMIC_ATTRIBUTES \u003d True` (which is pytype-specific), so\nother type checkers like Pyrefly started failing on `row.\u003ccol\u003e`\naccesses.\n\nThis adds a `TYPE_CHECKING`-only `__getattr__` stub to `Row` so type\ncheckers allow dynamic column lookups without changing runtime behavior."
    },
    {
      "commit": "91bdbaedce2b4167cfe9c50398a8deba713f2aa6",
      "tree": "bcff9cf178c94f7ba1badd85e6fbf00b70b10ab1",
      "parents": [
        "64c55382ab55780e5472a53af15b2704b2e71b82"
      ],
      "author": {
        "name": "zezeozue",
        "email": "zezeozue@google.com",
        "time": "Thu Dec 03 18:06:03 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 18:06:03 2026"
      },
      "message": "ui: Fix HDE crash on NULL reference field names (#9102)\n\nHeap graphs from ART\u0027s perfetto_hprof (the android.java_hprof data\nsource) leave heap_graph_reference.field_name NULL for object array\nelements when ART tags the class as KIND_ARRAY, so opening an Object[]\nin the Heap Dump Explorer threw. This hits dumps from ART builds between\nAug 2020 and Jul 2024; newer ART reports arrays as KIND_UNKNOWN, which\nhides the issue. HPROF files are not affected. Read field names as\nSTR_NULL.\n\nBug: 570407107"
    },
    {
      "commit": "64c55382ab55780e5472a53af15b2704b2e71b82",
      "tree": "c9ecc97fabdd91d6f4e12c8bbaba189772bc4920",
      "parents": [
        "1b3c76eb63f55c562a85bf1515c80ef4c3e3928d"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Thu Dec 03 14:57:40 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 14:57:40 2026"
      },
      "message": "ui: add a debug overlay that shows who owns the screen (#8777)\n\nSee RFC 0053 (#8755)\n\n---\n\nAdds a debug overlay that shows which plugin owns each part of the\nscreen. Devs and plugin owners can use it to check that the UI is\ncorrectly attributed, and gaps in attribution are easy to spot.\n\nScreenshot: https://screenshot.corp.google.com/2djc8qtt6v38o\n\n**What it shows.** While on, the overlay shows:\n- each owner\u0027s area, with an outline around each labeled element and the\nowner\u0027s name in its corner.\n- a red dot wherever the owner the overlay shows differs from the owner\nof the element the browser actually draws there, checked every 8 px;\n- a legend with each owner\u0027s share of the screen and the disagreements,\ngrouped by element. It fades while the pointer is over it;\n- a readout next to the pointer with the owner under it, or both owners\nin red where they differ.\n\n**How to turn it on.** The \"Debug: Toggle ownership attribution overlay\"\ncommand only exists when the \"Development: ownership attribution\noverlay\" flag is on, so it stays out of the command list for everyone\nexcept people who turn it on to check their labels. So, to turn it on,\nfirst go to the Flags page and turn on the \"Development: ownership\nattribution overlay\" flag, then reload the page, then open the command\npanel by typing \u003e and enter \"Debug: Toggle ownership attribution\noverlay\"."
    },
    {
      "commit": "1b3c76eb63f55c562a85bf1515c80ef4c3e3928d",
      "tree": "8853688cb9bf9069f7662b8ea64b4968f6353342",
      "parents": [
        "69f9dbe18275aa5d5623f4b5a4b37e48735699c0"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Thu Dec 03 14:50:43 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 14:50:43 2026"
      },
      "message": "ui: work out who owns each part of the screen (#8774)\n\nSee RFC 0053 (#8755)\n\n---\n\nThe previous PR on the stack labeled every piece of rendered UI with its\nowner. This PR now adds the code that reads those labels back by\nanswering: (1) who owns a given point, and (2) how much of the screen\neach owner covers.\n\n## How it works\n\n**Who owns a point.** This one is simple: ask the browser which element\nis drawn at the point (`elementFromPoint`), then walk up from it to the\nnearest owner label. That\u0027s exact, but it answers one point at a time,\nso it\u0027s too slow to cover the whole screen.\n\n**How much of the screen each owner covers.** Instead of asking about\nevery pixel, we work from the labeled elements\u0027 rectangles, using two\nwell-known techniques:\n- [coordinate\ncompression](https://usaco.guide/silver/sorting-custom#coordinate-compression):\nreplace the continuous coordinate space with a grid that has a line only\nat the coordinates that matter, here the rectangles\u0027 edges.\n- the [painter\u0027s\nalgorithm](https://en.wikipedia.org/wiki/Painter%27s_algorithm): takes\nthe cells created by coordinate compression and then paint the shapes\nonto the cells from back to front, so each one covers whatever was\npainted before it;\n\nThe main idea is to paint in order, but coordinate compression\u0027s purpose\nis to make this cheap by simplifying the painting space first into\ncells.\n\nThe specific steps:\n\n1. **Read the rectangles.** For each labeled element, take the part of\nits box you can actually see on the screen and address some edge cases\nrelated to elements with no size (wrappers).\n2. **Build the grid (coordinate compression).** Draw a grid with a line\nonly along each rectangle\u0027s edges. For example, two overlapping\nrectangles A and B gives the grid below:\n   ```\n   ┌────────────┐            ┌───┬────────┬──────┐\n   │ A          │            │   │        │      │\n   │   ┌────────┼──────┐     ├───┼────────┼──────┤\n   │   │        │      │     │   │        │      │\n   └───┼────────┘      │     ├───┼────────┼──────┤\n       │               │     │   │        │      │\n       │             B │     │   │        │      │\n       └───────────────┘     └───┴────────┴──────┘\n   ```\n3. **Paint the cells (painter\u0027s algorithm).** Paint each rectangle onto\nthe cells it covers, in page order, later ones covering earlier ones.\nPage order always puts an element before the elements inside it, so the\ninnermost label wins. The whole window is painted first as\n`unattributed`, so anything no label covers is counted as a gap. With\nthe 40–60 labeled boxes on a real screen, painting takes about 0.1 ms.\nPainting A and then B onto the grid above leaves each cell with one\nowner (· is `unattributed`):\n   ```\n   ┌───┬────────┬──────┐\n   │ A │   A    │  ·   │\n   ├───┼────────┼──────┤\n   │ A │   B    │  B   │\n   ├───┼────────┼──────┤\n   │ · │   B    │  B   │\n   │   │        │      │\n   └───┴────────┴──────┘\n   ```\n4. **Answer from the cells.** For point look ups, we can determine the\nowner at a point by binary searching on the grid lines until we find the\ncell that the point belongs in. For screen share, we can calculate each\nowner\u0027s share of the screen by adding up the total area of its cells.\n\nThis PR also adds the `ScreenSnapshot.compareWithPage()` method. It\u0027s\nnot used by anything in this PR but its included because the follow-up\nPR\u0027s use it to cross-check that the result of the painting algorithm\nmatches a dense-grid spot-check on a given screen (its just a sanity\ncheck).\n\n## Commits\n\n**Commit 1: owner of a point.** Adds `findAttributionAt(x, y)` and\n`findAttributionForElement(el)` to `core/ownership.ts`.\n- Points with no label, or with nothing drawn, get the owner\n`unattributed`, so gaps in labeling are counted rather than dropped.\n- They return an `Attribution` object with an `owner` field, so\nfiner-grained fields can be added later without changing callers.\n\n**Commit 2: the actual juicy bits of the algorithm.** Adds\n`core/screen_share/`, organized into classes based on the steps of the\nalgorithm:\n- `VisibleRects` (step 1) given an element, returns the part of its box\nthat\u0027s actually visible on screen.\n- `Grid` (step 2) is the uneven grid: it represents the grid of cells.\n- `PaintedRects` (steps 3–4) paints labeled rectangles in order onto a\n`Grid` and answers the two questions of \"what is at this point\" and \"how\nmuch of the screen does each owner own and where\" via an output of\nnon-overlapping rectangles.\n- `ScreenSnapshot` ties everything: `ScreenSnapshot.take()` reads the\npage, and the snapshot answers who owns a point (`findOwnerAt`), each\nowner\u0027s share (`computeShares`) and where each owner shows\n(`listRegions`). It\u0027s the only class that knows about Perfetto-specific\ndetails like the owner attribute, etc; the other classes above work\npurely with plain rectangles and labels.\n\n**Commit 3: comparison.** Adds `ScreenSnapshot.compareWithPage()` for\nthe sanity check. This commit adds some small methods to measure the\ndistance from a point to the nearest grid edge so that we can skip\npoints near box edges. Element boxes can sit at fractional pixel\npositions, and the browser rounds those differently when it decides\nwhich element is under a point. So right at an edge, the browser can\nname the element on one side while the rectangles name the other, even\nthough both are right. Counting those points would flag every box border\nas a disagreement.\n\n---\n\nThe next PR on this stack adds a debug overlay that shows all of this on\nscreen, for example:\n\nScreenshot: https://screenshot.corp.google.com/2djc8qtt6v38o\n\n**Testing.** Unit tests for the lookup, `Grid`, `PaintedRects`,\n`VisibleRects` and `ScreenSnapshot`, including the comparison. With the\noverlay from the next PR, I also checked the main screens by hand\n(pages, bottom tabs, side panel tabs, omnibox modes, menus): no\nunattributed area anywhere."
    },
    {
      "commit": "69f9dbe18275aa5d5623f4b5a4b37e48735699c0",
      "tree": "4442274bdea436c70bf4f80cbd07d308b0134a30",
      "parents": [
        "bc90ff4a03af17fd2a043ed2a56a3b363a0c9238"
      ],
      "author": {
        "name": "Kean Mariotti",
        "email": "keanmariotti@google.com",
        "time": "Thu Dec 03 14:40:13 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 14:40:13 2026"
      },
      "message": "protovm: cache decoded program (3) (#8529)\n\nAdd ProgramDecoder and unit tests to decode a serialized VmProgram\nproto into the in-memory Program representation."
    },
    {
      "commit": "bc90ff4a03af17fd2a043ed2a56a3b363a0c9238",
      "tree": "bed9a30d2b30d0255f1581fc3a00531cbfdbee6e",
      "parents": [
        "f23b099b5c710143a524fb3fbb565c7fcf198ccd"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Thu Dec 03 14:29:14 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 14:29:14 2026"
      },
      "message": "ui: label the UI on screen with the plugin that owns it (#8773)\n\nSee RFC 0053 (#8755)\n\n---\n\nThe previous PR on this stack recorded an owner on every registered\nobject. This PR writes those owners into the actual rendered page, as a\n`data-owner` attribute on the elements that core draws for each piece of\nregistered UI. A later PR uses the labels to work out who owns each\npoint and each part of the screen.\n\nI tried to put the labels in the most broad places possible to minimize\nthe number of files that need to know about the owner concept.\n\n---\n\n**Commit 1: the attribute and a helper function.** Adds the DOM\nattribute `OWNER_ATTRIBUTE` (`data-owner`) and a helper function\n`withOwner()` that wraps children in a `display: contents` element that\ncarries the attribute.\n\n**Commit 2: pages.** The page manager labels each page with its owner.\n- The label comes from the page that was actually shown. If a route\nfalls back to the home page, it gets the home page\u0027s owner.\n- Anything on a page without a more specific label belongs to the page\u0027s\nplugin.\n\n**Commit 3: tabs.** Each bottom tab is labeled as a whole, including its\nhandle and close button.\n- For the tab handle, we had to make `DrawerTab` accept a generic\ntabAttrs field so that we could put the owner field on. Its a bit hacky\nbut its better than making DrawerTab know about the concept of owners.\n- Selection tab content and buttons, and the details panel of a selected\nevent, get the owner of the plugin that provides them.\n\n**Commit 4: tracks.** `TrackShell` writes the `pluginId` that it already\nknows about onto the track header.\n- The owner label goes just on the header, not the whole track, because\na track could contain child tracks that can belong to other plugins.\n- Track tooltips get the track\u0027s owner.\n\n**Commit 5: sidebar.** Each sidebar item gets its owner, simple as that.\n\n**Commit 6: side panel.** Each side panel tab\u0027s title and content are\nwrapped with `withOwner()`. The rest of the tab strip belongs to the\nside panel itself.\n\n**Commit 7: omnibox.** While a registered omnibox mode is active, the\nomnibox gets the mode\u0027s owner.\n\n**Commit 8: status bar.** Each status bar item is wrapped with\n`withOwner()`.\n\n**Commit 9: core areas.** What core draws outside any page is labeled\n`core`. There\u0027s a handful of these places:\n- This includes the topbar, the sidebar frame, the loading bar, the\nstatus bar frame, the side panel frame, the cookie banner, and the empty\nspace below pages that don\u0027t fill the screen.\n\n**Commit 10: popups.** Popups, menus and tooltips carry the owner of\nwhat opened them.\n- They\u0027re drawn through `Portal`, which moves them to the end of the\npage so they appear on top. That takes them out of the labeled area they\nwere opened from. Therefore, `Portal` now copies the owner around its\nplaceholder onto the element it moves.\n\n---\n\nThis PR also doesn\u0027t send any analytics. It just writes owners onto the\nDOM.\n\nA follow-up PR on this stack adds a debug overlay that shows the labels\non the screen. This PR was created in conjunction/tested with the debug\noverlay, so look at that PR for screenshots to prove that the\nattributions above actually work."
    },
    {
      "commit": "f23b099b5c710143a524fb3fbb565c7fcf198ccd",
      "tree": "aeabc070b446a98ae2260724c2a32f3c9b014e7b",
      "parents": [
        "d7937499a4255a12a8c2c1359562e6e4898a5eba"
      ],
      "author": {
        "name": "Vibhu Agarwal",
        "email": "vibhuagarwal@google.com",
        "time": "Thu Dec 03 14:16:59 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 14:16:59 2026"
      },
      "message": "tp: let a running INCLUDE finish before an interrupt takes effect (#9037)\n\nAn interrupt (`InterruptQuery()`, e.g. Ctrl-C) could stop a running\n`INCLUDE` halfway, which leaves its module poisoned: every later\n`INCLUDE` of it fails until the trace is reloaded.\n\nNow the SQLite progress handler waits while an `INCLUDE` runs. The\n`INCLUDE` finishes, and the check before each statement of a query\n(#8972) then stops the next statement before it starts.\n\n**BigTrace:** it needs a cancelled query to stop at once, so it keeps\ntoday\u0027s behaviour through the dev flag `interrupt-includes\u003dtrue` (with\n`enable_dev_features`), which it sets on its side.\n\n**With the dev flag (BigTrace):** `OnProgress()` returns 1, so SQLite\nstops `x`\u0027s statement, the `INCLUDE` fails and `x` is poisoned.\n\nBug: 586919700"
    },
    {
      "commit": "d7937499a4255a12a8c2c1359562e6e4898a5eba",
      "tree": "296049fb4474a848e50563ea657820cebda31234",
      "parents": [
        "a579b7a417adc41edcca14eb692bfbef7440b8ef"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Thu Dec 03 13:33:21 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 13:33:21 2026"
      },
      "message": "ui: record which plugin owns each registered piece of UI (#8772)\n\nSee RFC 0053 (#8755)\n\n---\n\nTo measure how much each plugin\u0027s UI is used, the UI needs to know which\nplugin owns each piece of UI. Plugins add UI by registering objects\n(commands, sidebar items, tabs, pages and so on) through the App and\nTrace proxies that core hands each plugin. Those proxies already know\nwhich plugin is calling, so this PR has them record that plugin as the\nowner of everything it registers, using the helpers from the previous PR\non this stack. UI that core adds itself gets the owner `core`.\n\nRecording happens at registration, in one place per kind of object, so\nnew plugins and new tabs or commands are covered without any change on\nthe plugin side. The registered objects are passed on unchanged.\n\n---\n\n**Commit 1: test layout.** The first commit is just some simple\nmoving-stuff-around in the unit tests to match the convention used\nacross the UI\u0027s tests, so the new proxy tests have a clear place to go.\n\n**Commit 2: App+Trace registration points (commands, menus, panels and\nmodes).** This commit covers all the registration points that impact\nboth the App and Trace proxies. The next commit (Commit 3) covers the\nregistration points that only impact the Trace proxy. Specifically, this\ncommit makes the App and Trace proxies record the plugin owners of\ncommands, sidebar items, side panel tabs and omnibox modes.\n\n**Commit 3: Trace-only registration points (bottom tabs, selection tabs\nand status bar items).** These are registered through the Trace proxy\nonly. Note: for area and track event selection tabs, the selection\nmanager copies the owner onto the tab it builds around the plugin\u0027s tab.\n\n**Commit 4: Attribute home page to `core`.** Plugins register pages\nthrough a proxy that fills in the page\u0027s `pluginId`. Core registers the\nhome page itself in `frontend/index.ts`, so it had no owner. It is\nmanually marked as owned by `core`.\n\n**Commit 5: Attribute core\u0027s commands to `core`** Commands such as the\ntheme toggle in `frontend/index.ts` are registered straight on the\ncommand manager, without a plugin. The command manager now gives every\ncommand that doesn\u0027t already have an owner the owner `core`. Since owner\ntags are never overwritten, we simply assign `core` as the owner for all\ncommands. Commands that already have a plugin owner therefore keep their\nowner.\n\n---\n\nNothing is shown or sent yet: this PR just records owners."
    },
    {
      "commit": "a579b7a417adc41edcca14eb692bfbef7440b8ef",
      "tree": "4919607105373023274bb996c4d91e3b8426ade3",
      "parents": [
        "ef0ffcc8b833bd9fd83fffa45c787ab41d7933ac"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Thu Dec 03 13:27:10 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 13:27:10 2026"
      },
      "message": "ui: Harden Service Worker /_open_trace/ endpoint (#9099)\n\nHarden `handleOpenTraceRequest()` in\n`ui/src/service_worker/service_worker.ts`:\n\n- Restrict `/_open_trace/` handling strictly to same-origin `GET` and\n`POST` requests.\n- Prevent form fields in `POST /_open_trace/` from overwriting the\n`url\u003d` query parameter.\n- Reject navigation and subresource destinations (`req.mode \u003d\u003d\u003d\n\u0027navigate\u0027 || req.destination !\u003d\u003d \u0027\u0027`) on `GET /_open_trace/` so only\nprogrammatic `fetch()` requests can retrieve posted trace blobs.\n- Force safe binary download headers (`Content-Type:\napplication/octet-stream`, `X-Content-Type-Options: nosniff`,\n`Content-Disposition: attachment`, `Content-Security-Policy: default-src\n\u0027none\u0027; sandbox`) instead of preserving the uploaded `File`\u0027s\n`Content-Type`.\n\nFixes: b/592738140"
    },
    {
      "commit": "ef0ffcc8b833bd9fd83fffa45c787ab41d7933ac",
      "tree": "f25128fe3dade0766b12eb9b8fa9636f96f8df94",
      "parents": [
        "da8fa03a9089f87531483251cc2ef38e10ff0538"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Thu Dec 03 13:20:07 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 13:20:07 2026"
      },
      "message": "ui: add helpers that record which plugin owns a piece of UI (#8771)\n\nSee RFC 0053 (#8755)\n\n---\n\nWe want to measure how much each plugin\u0027s UI is used. For that, the UI\nfirst needs to know which plugin owns each piece of UI it shows. This PR\nadds the small helpers that record an owner on an object, and covers the\ntwo places where core rebuilds a registered object into a new one, so\nthe owner isn\u0027t lost there.\n\n**The helpers.** `core/ownership.ts` adds `setOwner`, `getOwner` and\n`carryOwner`. They store the owner under a private `Symbol` key on the\nobject itself, so the object is passed on unchanged and class instances\nkeep their methods. Objects that can\u0027t be extended, such as frozen\nobjects, are skipped. The owner also survives object spread, which core\nuses when it copies registered objects.\n\n**Rebuilt selection tabs.** `registerAreaSelectionTab` and\n`registerTrackEventSelectionTab` wrap the plugin\u0027s tab in a new\n`SelectionTab`, which would drop its owner if we didn\u0027t do anything. As\nsuch, this PR makes them use `carryOver` to copy the owner over.\n\nNothing records owners at registration yet, and nothing is shown or\nsent; those come in follow-up PRs.\n\n**Testing.** Unit tests for the helpers (`ownership_unittest.ts`), and\nfor the selection tabs keeping their owners."
    },
    {
      "commit": "da8fa03a9089f87531483251cc2ef38e10ff0538",
      "tree": "58103633caecebfcd39fe52d9d37757dc2909f65",
      "parents": [
        "c9f5d15bc64fa3875e36abaa6fd6f443383b1d6f"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Thu Dec 03 12:37:21 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 12:37:21 2026"
      },
      "message": "ui: Drive: Add analytics events for uploading and opening traces (#9089)\n\nLog `Trace Actions` analytics events for Google Drive trace workflows:\n\n- `Drive: Upload trace` when a trace is uploaded to Google Drive.\n- `Drive: Open trace` when a trace is opened manually from Google Drive\nvia the sidebar.\n- `Drive: Open trace from link` when a trace is opened via a Google\nDrive deep link.\n\nThese log events are emitted as the action is done - they\u0027re supposed to\ntrack intent, not whether the operation succeeded or not."
    },
    {
      "commit": "c9f5d15bc64fa3875e36abaa6fd6f443383b1d6f",
      "tree": "9ae96223a99c3be47a95801609547a86b852f69b",
      "parents": [
        "616907f1daff68b69e6d1195826a9cbb7114e8bc"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Thu Dec 03 11:56:46 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 11:56:46 2026"
      },
      "message": "perfetto: raise default v2 ring buffer budget to 256 KiB (#9087)\n\nRaise kDefaultChunkBudgetBytes from 128 KiB to 256 KiB so tracing v2\nmatches TracingService::kDefaultShmSize.\n\nProducers that connect with a zero SMB size hint got a 128 KiB ring\nbuffer under v2, half of the 256 KiB SMB they get under v1. Field traces\nshowed a 3.1% packet drop rate on 128 KiB v2 app rings compared to\nnear-zero drops on v1.\n\nProducers that supply an explicit size hint are unaffected because\nRingBufferSizeForShmSizeHint() uses kDefaultChunkBudgetBytes only when\nthe hint is zero.\n\nBug: 536851377"
    },
    {
      "commit": "616907f1daff68b69e6d1195826a9cbb7114e8bc",
      "tree": "bb3e219762f7424b580c2936e43cae426b457254",
      "parents": [
        "7834354e7b7c99ac0a290fa642656b6d030dafe4"
      ],
      "author": {
        "name": "Lanzhi Chen",
        "email": "lannychan25@gmail.com",
        "time": "Thu Dec 03 11:51:38 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 11:51:38 2026"
      },
      "message": "tp: Fix android.auto.multiuser for 3-digit user IDs (#9093)\n\nandroid_auto_multiuser_timing assumed user IDs are at most 2 digits.\nOnce user IDs reach 100+, it truncates them to 2 digits, and the -10*\nglobs treat users 100-109 as user 10.\n\nSplit on \u0027-\u0027 to read the full user ID and match -10-* instead of -10*.\n\nBug: 582953422\nTest: tools/diff_test_trace_processor.py\nout/linux_clang_release/trace_processor_shell\n--name-filter\u003d\".*auto_multiuser.*\""
    },
    {
      "commit": "7834354e7b7c99ac0a290fa642656b6d030dafe4",
      "tree": "8c543cb7cdb94c9d622abd46d784ca3b66760e9b",
      "parents": [
        "db595e14a171af03e7b937e4455753c20f2a949d"
      ],
      "author": {
        "name": "Vibhu Agarwal",
        "email": "vibhuagarwal@google.com",
        "time": "Thu Dec 03 11:34:17 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Dec 03 11:34:17 2026"
      },
      "message": "tp: interrupt queries with the flag alone (#9026)\n\n`InterruptQuery()` set the interrupt flag and also called\n`sqlite3_interrupt()`. The flag already stops a running statement, at\nthe progress handler\u0027s next check (usually within about a millisecond),\nand each later statement of the query before it starts.\n`sqlite3_interrupt()` only added an immediate stop, and it can\u0027t spare a\nrunning `INCLUDE`, which a follow-up will let finish.\n\nNow `InterruptQuery()` only sets the flag. Without SQLite progress\nhandlers (`SQLITE_OMIT_PROGRESS_CALLBACK`), it does nothing: this is\ndocumented, and the interrupt tests skip there. The now unused\n`SqliteConnection::Interrupt()` and `sqlite::db::Interrupt()` are\nremoved.\n\n**Chromium:** `InterruptQuery()` is now a no-op there:\nChromium\u0027s SQLite omits progress handlers, and Chromium only uses trace\nprocessor in tests.\n\nBug: 586919700"
    },
    {
      "commit": "db595e14a171af03e7b937e4455753c20f2a949d",
      "tree": "1b5b3b926c5a82ace66499e5c6061fdd7cd9d9c7",
      "parents": [
        "5451ecb3f57f358150e7eb27916d6ea6e8ed1849"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:25 2026"
      },
      "message": "redactor: add generic trace_redactor_fuzzer (#8889)\n\n## What\n\n- Add `src/trace_redaction:trace_redactor_fuzzer`, a generic LibFuzzer\ntarget exercising `TraceRedactor::CreateInstance()` and `RedactBuffer()`\non arbitrary input bytes.\n- Register `src/trace_redaction:trace_redactor_fuzzer` in\n`gn/perfetto_fuzzers.gni`.\n\n## Testing\n\n- Built and ran `out/linux_fuzzer/trace_redactor_fuzzer` under LibFuzzer\n+ ASan.\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13. **→** **#8889 — `redactor: add generic trace_redactor_fuzzer`**"
    },
    {
      "commit": "5451ecb3f57f358150e7eb27916d6ea6e8ed1849",
      "tree": "7a2ecde1cfa6f569390fed06778977c11aa49433",
      "parents": [
        "cb8984dc2d7cf327cc0e8033c9d487cbf05357bb"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:24 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:24 2026"
      },
      "message": "redactor: harden pipeline against malformed and fuzzed inputs (#8894)\n\n## What\n\nFix crash, OOM, and silent data-loss failure modes uncovered when\nfuzzing `TraceRedactor` on arbitrary byte streams:\n\n- `CollectSystemInfo` \u0026 `VerifyIntegrity`: decode `FtraceEventBundle`\nvia `FtraceEventBundle::Decoder` (validating `kVarInt` wire type on\n`cpu`) and bound `cpu \u003c SystemInfo::kMaxCpus` (`4096`) to prevent\nmulti-GB vector allocations and `uint32_t` wraparound.\n- `ScrubProcessStats` \u0026 `ReduceThreadsInProcessTrees`: return\n`ErrStatus` instead of hitting `PERFETTO_DCHECK` when required\n`timestamp` or `ProcessStats.Process.pid` fields are missing or encoded\nwith non-varint wire types.\n- `TraceRedactorPass`: add `set_reject_trailing_bytes(true)` on Pass 1\nso truncated/corrupt trailing bytes at the end of a `Trace` fail closed.\n- `VerifyIntegrity`: reject `compressed_packets` and\n`zstd_compressed_packets` upfront rather than letting\n`BroadphasePacketFilter` silently strip them.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`CollectSystemInfoTest.*`, `VerifyIntegrityUnitTest.*`,\n`TraceRedactorTest.*` — 356/356 passing)\n- `out/linux_fuzzer/trace_redactor_fuzzer` under LibFuzzer + ASan\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. **→** **#8894 — `redactor: harden pipeline against malformed and\nfuzzed inputs`**\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "cb8984dc2d7cf327cc0e8033c9d487cbf05357bb",
      "tree": "4f2d582fdd3b253ed26b1c70835f9014b65a2bee",
      "parents": [
        "8656356e621b8351cf03eec1e5b2331238d2b4f1"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:24 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:24 2026"
      },
      "message": "redactor: add Java heap dump redaction to trace_redactor (#8855)\n\n## What\n\nSupport redacting ART Java heap dump payloads (`HeapGraph`,\n`ArtProcessMetadata`, and `DeobfuscationMapping`) in the unified\n`TraceRedactor` pipeline:\n\n- `CollectHeapDumps`: tracks `(trusted_uid, trusted_packet_sequence_id)`\nsequences and marks a sequence complete when its final `HeapGraph`\npacket has `continued \u003d\u003d false`.\n- `PruneHeapDumps`: retains `heap_graph` and `art_process_metadata`\nfields only on complete sequences written by the target UID (and whose\n`pid` connects to the target on the timeline when present).\n- `AllowTargetDeobfuscationMapping`: allows uid-less\n`DeobfuscationMapping` packets strictly matching `context.package_name`.\n- `PopulateAllowlists` \u0026 `main.cc`: enables heap dump payloads on\n`app_packet_mask`, permits heap-dump-only traces with empty timelines\nwhen heap dump sequences are present, and logs a\n`HeapDumpRedactionSummary`.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`PruneHeapDumpsTest.*`, `HeapDumpRedactionTest.*`)\n- `out/linux_clang_release/perfetto_integrationtests`\n- Verified on live Pixel ProfilingManager captures (system trace, stack\nsample, Java heap dump) and 14 production OOM heap dump traces\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11. **→** **#8855 — `redactor: add Java heap dump redaction to\ntrace_redactor`**\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "8656356e621b8351cf03eec1e5b2331238d2b4f1",
      "tree": "50479e041f420d77b562e3013a56b9aae1259470",
      "parents": [
        "d2b5f96b9874ecfc6e31eecdae2dfd892d97cfa4"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:24 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:24 2026"
      },
      "message": "redactor: test infrastructure improvements for trace_redaction unittests (#9063)\n\n## What\n\n- Add reusable `src/trace_redaction/trace_redaction_test_utils.{h,cc}`\nproviding generic `TracePacket` builders (`PackagesListPacket`,\n`ProcessTreePacket`, `ProcessStatsPacket`, `TriggerPacket`),\n`BuildTrace()` / `SplitTrace()` helpers, and a\n`TraceRedactionTestFixture` base class for in-memory end-to-end\n`TraceRedactor` unit tests.\n- Refactor `scrub_trigger_unittest.cc`,\n`filter_untrusted_app_packets_unittest.cc`, and\n`prune_missing_uid_packets_unittest.cc` to use the shared packet\nbuilders.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests` (316/316 passing)\n- `tools/run_presubmit`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. **→** **#9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`**\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "d2b5f96b9874ecfc6e31eecdae2dfd892d97cfa4",
      "tree": "c37695074a47091124da03437a5cdf8b9be2c1ed",
      "parents": [
        "b45a7878c5a1c4d789d523011959b12edfff9426"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:23 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:23 2026"
      },
      "message": "redactor: guard system collectors and VerifyIntegrity by writer UID (#8903)\n\n## What\n\n- Restrict `FindPackageUid` and `CollectTimelineEvents` attribution\nstrictly to `traced_probes` (`Context::kTracedProbesUid \u003d 9999`) so\napp-written packets can never alter package UID or PID-to-UID\nattribution.\n- Guard `CollectClocks`, `CollectSystemInfo`, and `CollectFrameCookies`\nto `WriterType::kSystem`, and scope `VerifyIntegrity` system payload\nchecks to `WriterType::kSystem` now that untrusted app and uid-less\npackets are gated in `Transform`.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`FindPackageUidTest.*`, `CollectTimelineEventsAttributionTest.*`,\n`CollectClocksTest.*`, `CollectSystemInfoTest.*`,\n`CollectFrameCookiesTest.*`, `VerifyIntegrityUnitTest.*`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. **→** **#8903 — `redactor: guard system collectors and\nVerifyIntegrity by writer UID`**\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "b45a7878c5a1c4d789d523011959b12edfff9426",
      "tree": "20964753de48800b651d028432cf00a0a6bb6f0d",
      "parents": [
        "46b8995ec6db64c3f71e97862bf39b09b9b3ee7e"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:23 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:23 2026"
      },
      "message": "redactor: restrict app-written packets via app_packet_mask (#8902)\n\n## What\n\n- Split `Context::app_packet_mask` from the `system_packet_mask`\n(`Context::packet_mask`) in `PopulateAllowlists` (`system_packet_mask \u003d\napp_packet_mask` plus session metadata, attribution tables, and system\npayloads).\n- Select `app_packet_mask` for `WriterType::kApp` packets in\n`BroadphasePacketFilter` so target-app packets cannot inject spoofed\nsystem payloads.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`BroadphasePacketFilterTest.UsesAppMaskForAppPackets`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. **→** **#8902 — `redactor: restrict app-written packets via\napp_packet_mask`**\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "46b8995ec6db64c3f71e97862bf39b09b9b3ee7e",
      "tree": "13596e64a22d492869eecdc32ef258082a46a943",
      "parents": [
        "a310e579cd317077586755f45c6c625ba6906037"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:23 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:23 2026"
      },
      "message": "redactor: drop uid-less packets unless matched by an allowlist filter (#8900)\n\n## What\n\n- Add `PruneMissingUidPackets` (with `PacketFilter` allowlist support)\nto Pass 1 `Transform` so packets without `trusted_uid` are dropped\nunless accepted by an allowlisted `PacketFilter`.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`PruneMissingUidPacketsTest.*`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. **→** **#8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`**\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "a310e579cd317077586755f45c6c625ba6906037",
      "tree": "4630cbacbc86cc0451cb15c125af5120a9801c84",
      "parents": [
        "8d44928dfadb694cc6cd3fc0546bdfe3197d5928"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:22 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:22 2026"
      },
      "message": "redactor: drop packets written by non-target app UIDs (#8888)\n\n## What\n\n- Add `FilterUntrustedAppPackets` at the start of Pass 1 `Transform` to\ndiscard packets emitted by app UIDs (`trusted_uid \u003e 9999`) other than\nthe target package before downstream transforms inspect their payloads.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`FilterUntrustedAppPacketsTest.*`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6. **→** **#8888 — `redactor: drop packets written by non-target app\nUIDs`**\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "8d44928dfadb694cc6cd3fc0546bdfe3197d5928",
      "tree": "d51bf4a44a5439ba89c9b3d3c924d5703d718656",
      "parents": [
        "ca3ac8f252c25afbfc73ebc20387fdedbb36de59"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:22 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:22 2026"
      },
      "message": "redactor: scrub session metadata and prune empty shell packets (#8887)\n\n## What\n\n- `ScrubTrigger`: strip `producer_name` and `trusted_producer_uid` from\n`Trigger` packets unless the trigger producer UID belongs to the target\npackage.\n- `ScrubServiceEvent`: strip `SlowStartingDataSources` and\n`LastFlushSlowDataSources` producer lists from `TracingServiceEvent`\npackets.\n- `PruneShellPackets`: drop packets left with only bare header fields\n(`trusted_uid`, `trusted_pid`, `trusted_packet_sequence_id`,\n`timestamp`, `timestamp_clock_id`) after narrow-phase transforms strip\ntheir payloads.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`ScrubTriggerTest.*`, `ScrubServiceEventTest.*`,\n`PruneShellPacketsTest.*`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. **→** **#8887 — `redactor: scrub session metadata and prune empty\nshell packets`**\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "ca3ac8f252c25afbfc73ebc20387fdedbb36de59",
      "tree": "431c780ba48e675d68162574514797a591bf2f45",
      "parents": [
        "0106c609596b7a553d403ca750cc3c6b1b385008"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 22:59:22 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:59:22 2026"
      },
      "message": "redactor: backdate timeline open events to process_start_from_boot (#8886)\n\n## What\n\n- Preserve `ProcessTree.Process.process_start_from_boot` across Pass 2\nprocess-tree merging (`CollectProcessTrees` / `AugmentProcessTrees`).\n- Add `ProcessThreadTimeline::BackdateFirstOpenEvents()` and enable\n`CollectTimelineEvents::set_backdate_first_open(true)` in\n`TraceRedactor::CreateInstance()` so processes already running before\nthe earliest `ProcessTree` snapshot are attributed back to their\n`process_start_from_boot` timestamp when the primary trace clock is\n`CLOCK_BOOTTIME` (or to `0` when the trace has no ftrace lifecycle\nevents).\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`ProcessThreadTimelineTest.*`, `CollectTimelineEventsBackdateTest.*`,\n`MergeProcessTreeTest.*`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. **→** **#8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`**\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "0106c609596b7a553d403ca750cc3c6b1b385008",
      "tree": "b8b319c0268a6fe6c2c2ab9092bda25f62f2f1a9",
      "parents": [
        "278a8538ff719c50710f0b313f44e4a1538e13f0"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Wed Dec 02 22:56:05 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 22:56:05 2026"
      },
      "message": "perfetto: Fill in remaining missing type annotations (#9085)\n\nFollowing #9080, this fills in the remaining missing type annotations in\nthe public `perfetto` API. Running `pyrefly coverage check` from within\n`python/` will now report 100% type coverage ( :tada: ).\n\nUnless there are objections, I\u0027m planning to open a follow-up PR that\nruns this `pyrefly coverage check` command in CI, so that we can ensure\nthat the 100% type coverage will stay that way :)"
    },
    {
      "commit": "278a8538ff719c50710f0b313f44e4a1538e13f0",
      "tree": "f3de30d0c9fd6fabdfe60cdf58188a9e6d64f9f2",
      "parents": [
        "e91e648dc735c0b60551db2b2360fd69d2bcc7ad"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 21:52:37 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 21:52:37 2026"
      },
      "message": "redactor: add zero-copy fast paths in trace_redactor transforms (#8885)\n\n## What\n\nAvoid allocating `HeapBuffered\u003cTracePacket\u003e` and re-serializing packets\nwhen a transform has nothing to modify:\n\n- `BroadphasePacketFilter`: pass through packets whose top-level fields\nare all in the packet allowlist (and do not carry `ftrace_events`), and\nonly require a non-empty `ftrace_mask` when `ftrace_events` is allowed.\n- `RedactSchedEvents`, `RedactProcessEvents`, `DropEmptyFtraceEvents`,\n`ReduceThreadsInProcessTrees`, and `AddSythThreadsToProcessTrees`:\nreturn early via `ProtoDecoder::FindField()` when the packet does not\ncarry `ftrace_events` or `process_tree`.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`BroadphasePacketFilterTest.*`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. **→** **#8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`**\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "e91e648dc735c0b60551db2b2360fd69d2bcc7ad",
      "tree": "ee64e2d6cddf6b167feab98b4dbad8ae8c4f9052",
      "parents": [
        "e5f7d0723c0a0b50d2f2218d89a122d14419568d"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 20:38:21 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 20:38:21 2026"
      },
      "message": "redactor: validate target package name and uid in Pass 1 (#8896)\n\n## What\n\n- Add `PackageValidation` to Pass 1 `Validate` so a missing\n`context.package_name` or unresolved `context.package_uid` fails once\nupfront before `Build` or `Transform` runs.\n- Replace the redundant per-packet `!context.package_uid` and\n`!context.timeline` checks in `ScrubProcessStats::Transform` with\n`PERFETTO_DCHECK`.\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`PackageValidationTest.*`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. #8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`\n2. **→** **#8896 — `redactor: validate target package name and uid in\nPass 1`**\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "e5f7d0723c0a0b50d2f2218d89a122d14419568d",
      "tree": "af6d72ab0ecd81dd3bd8045fe0afd166d196bc7a",
      "parents": [
        "59f8e7ab09e056b33d4df341ae7af0983107c3ea"
      ],
      "author": {
        "name": "Edgar Arriaga",
        "email": "edgararriaga@google.com",
        "time": "Wed Dec 02 20:01:40 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 20:01:40 2026"
      },
      "message": "redactor: add dynamic passes and RedactBuffer to TraceRedactor (#8884)\n\n## What\n\n- Introduce a `RedactionPrimitive` base class with `virtual bool\nShouldExecute(const Context\u0026) const` (defaulting to `true`) inherited by\nall primitive types, evaluate it per phase in `TraceRedactorPass`, and\nskip passes in `TraceRedactor::RedactBuffer()` when\n`pass-\u003eShouldExecute(*context)` is `false` with zero scratch buffer\nallocation or copy.\n- Expose `TraceRedactor::RedactBuffer()` for in-memory redaction.\n- Gate Pass 1 synthetic-thread primitives (`BuildSyntheticThreads`,\n`AddSythThreadsToProcessTrees`) and Pass 2 primitives\n(`CollectProcessTrees`, `ReduceProcessTrees`, `AugmentProcessTrees`,\n`SyntheticProcessValidator`, `MergeSyntheticSched`) via\n`ShouldExecute(const Context\u0026)` so Pass 2 stays declarative and skips\nautomatically when `context.process_tree_packets \u003c\u003d 1` and\n`context.synthetic_process \u003d\u003d nullptr` (`SystemInfo::last_cpu_` is now\n`std::optional\u003cuint32_t\u003e`).\n\n## Testing\n\n- `out/linux_clang_release/trace_redactor_unittests`\n(`TraceRedactorPassTest.*`,\n`TraceRedactorTest.PassSkippedWhenNoPrimitiveShouldExecuteAndRunsWhenActive`)\n- `out/linux_clang_release/perfetto_integrationtests`\n\n## Stack\n\n1. **→** **#8884 — `redactor: add dynamic passes and RedactBuffer to\nTraceRedactor`**\n2.   #8896 — `redactor: validate target package name and uid in Pass 1`\n3. #8885 — `redactor: add zero-copy fast paths in trace_redactor\ntransforms`\n4. #8886 — `redactor: backdate timeline open events to\nprocess_start_from_boot`\n5. #8887 — `redactor: scrub session metadata and prune empty shell\npackets`\n6.   #8888 — `redactor: drop packets written by non-target app UIDs`\n7. #8900 — `redactor: drop uid-less packets unless matched by an\nallowlist filter`\n8. #8902 — `redactor: restrict app-written packets via app_packet_mask`\n9. #8903 — `redactor: guard system collectors and VerifyIntegrity by\nwriter UID`\n10. #9063 — `redactor: test infrastructure improvements for\ntrace_redaction unittests`\n11.   #8855 — `redactor: add Java heap dump redaction to trace_redactor`\n12. #8894 — `redactor: harden pipeline against malformed and fuzzed\ninputs`\n13.   #8889 — `redactor: add generic trace_redactor_fuzzer`"
    },
    {
      "commit": "59f8e7ab09e056b33d4df341ae7af0983107c3ea",
      "tree": "e8eb3ac0fc9644f8cdabc620ad43820bb6425a63",
      "parents": [
        "480ccfc50be1b3794ff10835defac7cc6c03baa9"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Wed Dec 02 18:41:22 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 18:41:22 2026"
      },
      "message": "tracingV2: Stop reusing chunks across kFlagDataLoss (#9009)\n\n- SharedRingBufferReader discards every published fragment in a chunk\ncarrying kFlagDataLoss. \n- After a writer recovers from a drop, the first\nfragment claims a chunk with kFlagDataLoss and publishes it.\n- OnChunkPublished() kept that chunk cached in cur_chunk_, so later\nhealthy packets kept packing into the flagged chunk until it filled up\nor the reader drained it.\n- Discard cur_chunk_ in OnChunkPublished() when complete_word carries\nkFlagDataLoss, so later fragments start in a fresh chunk without the\nflag.\n- The first fragment after a loss is still discarded with the flagged\nchunk."
    },
    {
      "commit": "480ccfc50be1b3794ff10835defac7cc6c03baa9",
      "tree": "d29d2904acc1702d6f3f1bad1f1fa11445c8cadb",
      "parents": [
        "a2444ea8c421daa23dabd25e7cad41db6ee93c01"
      ],
      "author": {
        "name": "annamayzner",
        "email": "amayzner@snapchat.com",
        "time": "Wed Dec 02 18:35:17 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 18:35:17 2026"
      },
      "message": "ui: memscope: keep only the trace bytes of a live snapshot (#9082)\n\n`LiveSession` stored `cloneResult.value.buffer` as the last trace. The\nsnapshot comes from `readAllTraceBytes`, which returns a `subarray` of a\n`ResizableArrayBuffer` (64 KiB, doubling), so `.buffer` is the whole\nbacking store. The snapshot size readout reported that capacity, and\n\"Stop \u0026 Open Trace\" opened the trace with the unused tail of zero bytes.\n\nNow it keeps a copy of just the trace bytes."
    },
    {
      "commit": "a2444ea8c421daa23dabd25e7cad41db6ee93c01",
      "tree": "517750b53abb979f423843af69fd90b355a27bac",
      "parents": [
        "4f0fa29db8b0670a90478463e83f9929037c5195"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Wed Dec 02 16:48:18 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 16:48:18 2026"
      },
      "message": "tp: revert the arena allocator (#9055)\n\n## What\n\nReverts #9000, removing core::Arena and ArenaSpan.\n\n## Why\n\nThe arena was the base for making the executor\u0027s operators, logical\nplans and run state trivially destructible, to save the binary size\ntheir destructors and containers cost. That size comes mostly from\nFlexVector and FlatHashMap: each element type brings its own copy of\ndestruction and growth code. We will fix that in the containers\nthemselves, which helps every user of them. Nothing on main uses the\narena, so it goes until something does."
    },
    {
      "commit": "4f0fa29db8b0670a90478463e83f9929037c5195",
      "tree": "3542fa2a2c995550f086190ab677b5aca0dabb4f",
      "parents": [
        "1672e0e95d9a8649e74bf051c4505a964e980eae"
      ],
      "author": {
        "name": "Shai Barack",
        "email": "shayba@google.com",
        "time": "Wed Dec 02 16:18:09 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 16:18:09 2026"
      },
      "message": "heapprofd: pre-allocate shared ring buffer in creator (#8958)\n\n`SharedRingBuffer::Create()` currently creates a sparse `memfd` via\n`memfd_create()` + `ftruncate()` and only touches page 0\n(`MetadataPage`). When the profiled target process attaches and writes\nallocation records into the ring buffer, Linux `mm/shmem.c` charges\nthose first-faulted shmem folios to the target process\u0027s cgroup v2\nmemcg.\n\nWhen profiling a process subject to a cgroup v2 `memory.high` limit on\nAndroid (for example with large `shmem_size_bytes` configs), charging\n`heapprofd`\u0027s diagnostic ring buffer against the target app\u0027s cgroup can\npush the app over `memory.high` and trigger swap/reclaim stalls caused\nby the profiler itself.\n\nThis change calls `fallocate(fd, 0, 0, size_with_meta)` from\n`SharedRingBuffer::Create()` (before sealing) so the shmem folios are\nallocated and charged to `heapprofd`\u0027s own cgroup up front, and\nsubsequent client writes reuse the existing page-cache folios without\ncharging the target process. It also validates ring buffer size bounds\nup front before truncating or allocating, and adds a unit test checking\n`st_blocks` allocation.\n\nNote on trade-off: this commits `shmem_size_bytes` per connected client\nup front rather than lazily as samples are written. Happy to gate this\nbehind a `HeapprofdConfig` option if preferred.\n\nBug: 590941171\nTest: `perfetto_profiling_unittests` (192/192 passed) \u0026\u0026\n`perfetto_integrationtests --gtest_filter\u003d\"*Heapprofd*\"` (18/18 passed,\n2 Android-only skipped) \u0026\u0026 `tools/run_presubmit`"
    },
    {
      "commit": "1672e0e95d9a8649e74bf051c4505a964e980eae",
      "tree": "f8ae14d72319d9fb462d2c770bb1e21a281b4a3f",
      "parents": [
        "3fbcd8d0981760c848e87d11ce76a59fdddc1dd0"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Dec 02 16:06:18 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 16:06:18 2026"
      },
      "message": "ui: Drive: Document Drive integration with GIFs (#9081)\n\nAdd documentation for the various Drive features including GIFs, and add\nlinks to the docs from various dialogs where relevant.\n\nAlso added gif to the supported mimetypes so that they display correctly\nas inline markdown images."
    },
    {
      "commit": "3fbcd8d0981760c848e87d11ce76a59fdddc1dd0",
      "tree": "2df756711cc15977fc2c206ec12a30197c004f86",
      "parents": [
        "2e4f30bd1b2a8ba56595ec0f5a6a3a7aada0c568"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Wed Dec 02 16:02:47 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 16:02:47 2026"
      },
      "message": "ui: send plugin_loaded for each plugin\u0027s part in a trace load (#8768)\n\nSee RFC 0053 (#8755)\n\n---\n\nThis PR sends a `plugin_loaded` event for plugins in a trace load, with\nhow long the plugin\u0027s `onTraceLoad()` took and whether it registered any\ntracks. It\u0027s sent through `logAdvancedEvent()`, so only for Googlers,\nand it carries the same `traceLoadId` as that load\u0027s `trace_loaded`\nevent.\n\nSome notes on the implementation:\n\n1. **Not every plugin gets an event**: only plugins that registered\ntracks, plus the 10 slowest plugins. There are many plugins, and an\nevent for every one on every load would add a lot of event volume for\nlittle value. Plugins with tracks are the ones the user can actually see\non the trace. The 10 slowest are included even without tracks, because\nplugins load one after another, so a slow plugin delays the whole load\neven if it shows nothing.\n2. **Some events are sent late**: some plugins register their first\ntrack after loading has finished, e.g. once a query they started\nreturns. When that happens, that plugin\u0027s event is sent then, with the\nsame `traceLoadId` and its `onTraceLoad()` time.\n3. **At most one event per plugin per trace load**: we keep track of\nwhich plugins have been reported in the current trace load, so no plugin\never gets more than one event sent, that way no deduplication needs to\nhappen on query-time.\n4. **`PluginLoadReporter`**: a new class that\u0027s created once per trace\nload on `TraceImpl` that picks which plugins to send events for and\nsends the events. It takes `AnalyticsInternal` as a dependency\ninjection, so that it can call `.logAdvancedEvent()` on it. The unit\ntests create a mock `AnalyticsInternal`."
    },
    {
      "commit": "2e4f30bd1b2a8ba56595ec0f5a6a3a7aada0c568",
      "tree": "e8fbde59471fd6acd228c2c0f1d22662c6d12648",
      "parents": [
        "ccc9e7b18ed66cd890ef1d30c5048255ecbd6cc9"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Wed Dec 02 15:53:41 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 15:53:41 2026"
      },
      "message": "ui: send trace_loaded once a trace has loaded (#8767)\n\nSee RFC 0053 (#8755)\n\n---\n\nThis PR sends a `trace_loaded` event each time a trace finishes loading,\nwith the trace\u0027s format, its rough size and how long it took to load.\nIt\u0027s sent through `logAdvancedEvent()`, so only for Googlers.\n\nIt also gives each trace load a random ID, `traceLoadId`. The ID ties\ntogether all the events about one trace load: `trace_loaded` here, and\n`plugin_loaded` in the next PR.\n\nSome notes on the implementation:\n\n1. **`traceLoadId` is not `TraceInfo.uuid`**: `uuid` identifies the\ntrace itself and is the same every time it\u0027s opened. `traceLoadId`\nidentifies one load, so opening the same trace again gets a new ID. It\nlives on `TraceInfoImpl`, so plugins can\u0027t see it.\n2. **The load time includes the plugins**: it\u0027s measured from the start\nof `loadTrace()` until every plugin\u0027s `onTraceLoad()` has finished,\nsince the trace isn\u0027t usable before then. That\u0027s also when the event is\nsent.\n3. **The size is a bucket, never an exact size**: `\u003c10MB`, `10-100MB`,\n`100MB-1GB` or `\u003e1GB`. It\u0027s `unknown` when the size isn\u0027t known in\nadvance, e.g. for traces opened from a URL or a stream.\n4. **The format is sorted**: a trace\u0027s types are sorted and joined with\n`+` (e.g. `json+proto`), so the same mix of types is always reported the\nsame way."
    },
    {
      "commit": "ccc9e7b18ed66cd890ef1d30c5048255ecbd6cc9",
      "tree": "d47d395cd3a94aa98f9f69536d126b0d8c25779a",
      "parents": [
        "c4d2f05c15ce9a25e2197d0f56db98241d80543c"
      ],
      "author": {
        "name": "annamayzner",
        "email": "amayzner@snapchat.com",
        "time": "Wed Dec 02 15:27:26 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 15:27:26 2026"
      },
      "message": "ui: add a debug track from a brushed slice histogram range (#9077)\n\nThe duration histogram in the slice details panel was read-only. To get\na debug track for a duration range you had to open \"View matching\nslices\", brush there and use that panel\u0027s \"Add debug track\".\n\nNow the details-panel histogram can be brushed, and while a range is\nselected an \"Add debug track for selection\" button pins a debug track of\nthe slices with that name whose duration is in the range. It follows the\n\"This track\" / \"Across whole trace\" scope, and the track title ends with\nthe range, e.g. `foo (this track) [1.2ms - 3.4ms]`. The\nbrushed-instances query moves into an exported `buildInstancesQuery`,\nshared with the distribution panel and covered by new unit tests."
    },
    {
      "commit": "c4d2f05c15ce9a25e2197d0f56db98241d80543c",
      "tree": "a10a5427186e7dde8ef77430d4c9060588d4e877",
      "parents": [
        "fbcddb2cea806d366aabbc09ffb060cb1034c887"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Wed Dec 02 15:16:18 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 15:16:18 2026"
      },
      "message": "perfetto: Fill in missing type annotations in `trace_processor.*` (#9080)\n\nThis fills in the missing Python type annotations in\n`perfetto.trace_processor.*` in the public-facing API, as flagged by\n`pyrefly coverage check --public-only perfetto` (when run from within\n`python/`) ([docs](https://pyrefly.org/en/docs/report/))."
    },
    {
      "commit": "fbcddb2cea806d366aabbc09ffb060cb1034c887",
      "tree": "1357ac1f7f0739336df679e1a2ed0fabad9816dd",
      "parents": [
        "5ef67cc14be67f88bfeb37800a022cbdfba42dca"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Wed Dec 02 14:56:07 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 14:56:07 2026"
      },
      "message": "ui: add visit_id to analytics events (#8766)\n\nSee RFC 0053 (#8755)\n\n---\n\nThis PR adds a `visit_id` field to every existing analytics event: a\nrandom ID for one visit to one tab. It contains no user or trace data.\n\nUnlike the advanced events from the previous PR, this field is sent for\neveryone, not just Googlers. It is added to the GA config, so every\nevent carries it, including page views and crash reports.\n\nSome notes on the implementation:\n\n1. **Why not use GA\u0027s session ID instead of `visit_id`**: GA puts all of\na browser\u0027s tabs on the same site into one session. We want to report\nanalytics per visit to one tab, so `visit_id` is created once per page\nload and lasts until the tab is closed or reloaded.\n2. **Crash reports can be joined to the rest of their visit**: a crash\nreport replaces `page_location` with the stack trace, so it loses the\npage\u0027s address. Its `visit_id` matches the other events from the same\nvisit, which still carry it."
    },
    {
      "commit": "5ef67cc14be67f88bfeb37800a022cbdfba42dca",
      "tree": "71f8893aaf5b4f1bd3ebba5e53b6412a60a0782f",
      "parents": [
        "4b5b1215f0b9829e98068c3fe824abd35efa7fe9"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Wed Dec 02 14:46:53 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 14:46:53 2026"
      },
      "message": "ui: add logAdvancedEvent, sent only when the policy allows it (#8756)\n\nSee RFC 0053 (#8755)\n\n---\n\nThe UI will send some new analytics events for Googlers. This PR adds\nthe single place those events go through:\n`AnalyticsInternal.logAdvancedEvent()`. This PR also adds a new\n`useAdvancedAnalytics` flag to the Policy object that is derived from\nwhether the user is a Googler. `logAdvancedEvent()` then checks the flag\nto prevent any of the new analytics from being sent for anyone else.\n\nThis PR by itself does not send any new analytics, its just plumbing.\n\nSome notes on the implementation:\n\n1. **Only core can send the events**: the new events go through\n`logAdvancedEvent` on `AnalyticsInternal`. Only core can reach\n`AnalyticsInternal`. Plugins only see `Analytics.logEvent`, so they\ncan\u0027t send these events. The events also have their own type,\n`AdvancedAnalyticsEvent`. The compiler rejects an advanced event passed\nto `logEvent`, which would skip the check. It also rejects a basic event\npassed to `logAdvancedEvent`.\n2. **The policy is read on every call**: `logAdvancedEvent` always\nre-checks the flag before every call.\n3. **What the new AdvancedAnalyticsEvent contains**:\n`AdvancedAnalyticsEvent` is defined to be either a TraceLoadedEvent\n(sends general metadata about the load like load time) or a\nPluginLoadedEvent (breakdown of how long each plugin contributed to the\ntrace load time). Trace loads are assigned a random UUID.\n4. **Nothing calls `logAdvancedEvent` yet**: so this PR is just\nplumbing."
    },
    {
      "commit": "4b5b1215f0b9829e98068c3fe824abd35efa7fe9",
      "tree": "6dab54e4366eda281411b5b8fbda46b344c2512f",
      "parents": [
        "64f319ac51f88eb631aca8b7759a975be811846f"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Wed Dec 02 13:15:23 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 13:15:23 2026"
      },
      "message": "perfetto: make TraceBufferV2 the default (#9076)\n\nA buffer whose config doesn\u0027t pick a type now gets a TraceBufferV2\ninstead of a TraceBufferV1.\n- TraceBufferFactory::Create() does this when the config sets neither\nbuffer_type nor experimental_mode.\n- CreateLatestSupportedVersion() does this when buffer_type lists no\ntype this build supports. For example an empty buffer_type, a newer\ntype, or v3 without zstd.\n\nExplicit choices work as before.\n- buffer_type { v1 {} } selects TraceBufferV1. This is a temporary\nworkaround until TraceBufferV1 is removed in 27Q2.\n- experimental_mode TRACE_BUFFER_V2 selects TraceBufferV2.\n- An unknown experimental_mode still fails tracing.\n\nOlder services ignore buffer_type and still use TraceBufferV1 for\nMODE_UNSPECIFIED.\n\nTests that relied on V1 as the default are updated.\n- Tests that need a V1 buffer now select it.\n- TrackEventCustomNamedTrack checks each thread\u0027s packets on their own.\nTraceBufferV2 returns chunks in commit order, so the order between\nthreads can change.\n\nBug: 447426810\nBug: 559531402"
    },
    {
      "commit": "64f319ac51f88eb631aca8b7759a975be811846f",
      "tree": "2187fcfe42af92394efe3ce3c188c9c00aea77c7",
      "parents": [
        "a4593cb92e4adf5329f857cbddd0c34dcc2fafc1"
      ],
      "author": {
        "name": "annamayzner",
        "email": "amayzner@snapchat.com",
        "time": "Wed Dec 02 10:43:32 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 10:43:32 2026"
      },
      "message": "tp: cache the compiled regex in regexp_replace_simple (#9044)\n\n`RegexpReplaceSimple::Step` looks up its compiled regex with\n`GetAuxData(ctx, 1)`, on the pattern argument, but stores it with\n`SetAuxData(ctx, 0, ...)`, on the text argument. The lookup never finds\nit, so the pattern is recompiled on every row. This stores it on\nargument 1, as `RegexpExtract` does.\n\nThe output is unchanged; the existing `RegexpReplaceSimple` diff test\npasses.\n\n## Benchmarks\n\nRelease build on macOS, median of 5 runs of `trace_processor_shell -q`:\n\n| Query | Before | After | Same query without the regex |\n|---|---|---|---|\n| `regexp_replace_simple(s, \u0027[0-9]+\u0027, \u0027N\u0027)` over 1M distinct strings |\n3.08 s | 0.56 s | 0.47 s |\n| `regexp_replace_simple(name, \u0027[0-9]+\u0027, \u0027N\u0027)` over the 409,977 slices\nin `test/data/chrome_android_systrace.pftrace` | 0.94 s | 0.43 s | 0.39\ns |"
    },
    {
      "commit": "a4593cb92e4adf5329f857cbddd0c34dcc2fafc1",
      "tree": "747ccce0ad5165fe3dbcc2063bf3565204abfb7f",
      "parents": [
        "18ec581e16a53833ca8e546b3dce5fc0519d9013"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Wed Dec 02 10:35:24 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 10:35:24 2026"
      },
      "message": "tp: take base::Span rather than const std::vector\u0026 in core/ (#9057)\n\n## What\n\nFunctions in core/ that only read a list now take `base::Span\u003cconst T\u003e`\ninstead of `const std::vector\u003cT\u003e\u0026`. A `std::vector` still converts\nimplicitly, so callers are unchanged. The few places that kept the\nparameter by reference or pointer keep the span instead.\n\nNot converted: lists of bool, which wait for their storage to move to\nBitVector; `interpreter/` and `bytecode_lowering`, which are being\ndeleted; and `plugin/`, whose API is used outside core/.\n\n## Why\n\nWe are moving core/\u0027s own storage from `std::vector` to `FlexVector`\nand from `FlatHashMapV1` to `FlatHashMapV2`. `std::vector` brings its\nown growth code for every element type, about 200 KB of\n`trace_processor_shell`, while `FlexVector` shares one copy. Taking\nspans first means each storage change stays local to the class that\nowns the list."
    },
    {
      "commit": "18ec581e16a53833ca8e546b3dce5fc0519d9013",
      "tree": "052e04015d43f2bbafe53e8f8f4392a55fe4cfd8",
      "parents": [
        "afb3e864dd6d9246c35405d59affe3c58676e757"
      ],
      "author": {
        "name": "annamayzner",
        "email": "amayzner@snapchat.com",
        "time": "Wed Dec 02 09:18:10 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 09:18:10 2026"
      },
      "message": "ui: add missing spaces in record page strings (#9049)\n\nSeven strings in `RecordTraceV2` are built by joining two literals with\n`+`, with no space at the join. The record page renders probe\ndescriptions verbatim, so they show up run together:\n\n| Where | Shows as |\n|---|---|\n| CPU \u003e Syscalls (`pages/cpu.ts`) | \"On Androidrequires a userdebug or\neng build.\" |\n| GPU \u003e GPU work period (`pages/gpu.ts`) | \"GPU work.(Available on\nrecent Android 14+ kernels)\" |\n| GPU \u003e Mali GPU Counters (`pages/gpu.ts`) | \"(Available on Valhall+).To\nenable the event producer\" |\n| Android apps \u0026 svcs \u003e Frame timeline (`pages/android.ts`) | \"from\nsurface_flinger.Requires Android 12 (S) or above.\" |\n| Advanced settings \u003e Process\u003c\u003ethread association (`pages/advanced.ts`)\n| \"thread\u003c\u003eprocessassociations as soon as\" |\n| WDP auth error (`adb/web_device_proxy/wdp_target_provider.ts`) |\n\"authenticate on WDP.You must click allow\" |\n\nThis adds the missing space to each. The stack sampling process filter\nplaceholder (`pages/stack_sampling.ts`) reads \"one per line\ne.g.com.android.phone\"; it now gets a newline after \"e.g.\", like the\nother placeholders, so each example sits on its own line."
    },
    {
      "commit": "afb3e864dd6d9246c35405d59affe3c58676e757",
      "tree": "f39c1fbfd3141235be7426255b681caf035dc458",
      "parents": [
        "a15170a32d256e168dd69adb23985ca4d4e8506e"
      ],
      "author": {
        "name": "Chinglin Yu",
        "email": "chinglinyu@google.com",
        "time": "Wed Dec 02 02:11:54 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Dec 02 02:11:54 2026"
      },
      "message": "Fix allocator memory purge timing in KernelSymbolMap::Parse (#9031)\n\nRun MaybeReleaseAllocatorMemToOS using base::OnScopeExit after local\ncontainers (`tokens`, `symbol_tokens`) go out of scope and are\ndestroyed, to ensure their freed memory are returned to the OS.\n\nAlso bail out early on invalid file descriptor at the beginning of the\nfunction before allocating any resources.\n\nBug: 590966935"
    },
    {
      "commit": "a15170a32d256e168dd69adb23985ca4d4e8506e",
      "tree": "ecffd9100fa32504285f3a32cd83cd8be99ce460",
      "parents": [
        "5f74c08523a2f72d3d99a041176e9a71053dc902"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Tue Dec 01 22:53:10 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 22:53:10 2026"
      },
      "message": "perfetto: coalesce null-callback v2 Flush() drain tasks (#9010)\n\nProducerRingBufferArbiter::Flush() always called PostDrainTask(true),\nso empty-callback flushes bypassed drain_task_pending_ and queued a\nseparate DrainV2RingBuffer task every time.\n\n- With a callback, keep force\u003dtrue so Flush() queues its own drain task\n  before the callback and cannot race ahead of another writer\u0027s pending\n  PostTask().\n- Without a callback, pass force\u003dfalse so calls share a pending drain\n  task via drain_task_pending_.\n\nBug: b/587941261"
    },
    {
      "commit": "5f74c08523a2f72d3d99a041176e9a71053dc902",
      "tree": "a51f7798bbb53e31a36bbe654d1bfdb5da1821e1",
      "parents": [
        "f3bf123dacf54b86cd3270e3686068f984fc7dc0"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Tue Dec 01 21:51:51 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 21:51:51 2026"
      },
      "message": "perfetto: check the v2 drain threshold before each new chunk (#9047)\n\nTraceWriterV2Impl checked the drain threshold after every publication.\n- Packets that reuse a cached chunk add no positions, so most checks\n  had nothing to find.\n- The writer still held its chunk, so an inline drain on the endpoint\n  thread took it and the rest of the chunk went unused.\n\nNow SharedRingBufferWriter calls MaybeRequestDrain() right before it\nreserves a new chunk. This covers new packets, continuations and\nrelocations. The writer holds no chunk then, so a drain cannot take one\nit still fills.\n\nThis changes when writers ask.\n- The newest chunk waits for the next new chunk or a flush.\n- drain_occupancy_percent \u003d -1 asks before every new chunk.\n- On a full ring buffer, writers ask before they reserve. kDrop writers\n  ask too.\n\nTests follow the new timing.\n- In TraceWriterV2ImplTest, the drain requests of setup writers on other\n  threads now find the service busy, as when the ring buffer fills\n  faster than the service reads. So the stall tests keep their drain\n  request counts.\n- The drain threshold tests and TracingServiceImplTest check the new\n  timing."
    },
    {
      "commit": "f3bf123dacf54b86cd3270e3686068f984fc7dc0",
      "tree": "1f549473d0270538a81b61e5a1d4f3bef39d30be",
      "parents": [
        "1bf66a6a017c3d18f8aeb1e39742bdd294e740d8"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Tue Dec 01 21:51:50 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 21:51:50 2026"
      },
      "message": "perfetto: pass the ring buffer arbiter to SharedRingBufferWriter (#9046)\n\nSharedRingBufferWriter now takes the ProducerRingBufferArbiter instead\nof\nthe SharedRingBuffer view. No behavior change.\n\nThe next PR, #9047, checks the drain threshold right before a writer\nreserves a new chunk. Only SharedRingBufferWriter sees that moment, so\nit\nneeds the arbiter to call MaybeRequestDrain().\n\nThe writer can hold the arbiter safely.\n- Same object. TraceWriterV2Impl already holds the arbiter. It now\npasses\n  the arbiter, instead of arbiter-\u003ering_buffer().\n- Same lifetime. The view is a member of the arbiter, so the writer\nalready needed the arbiter alive. TraceWriterV2Impl\u0027s WriterID keeps it\n  alive, as before.\n- Same threads. The writer calls only ring_buffer(), and\n  MaybeRequestDrain() after #9047. TraceWriterV2Impl already calls both\n  on writer threads.\n\nBefore: TraceWriterV2Impl -\u003e SharedRingBufferWriter -\u003e SharedRingBuffer\nAfter: TraceWriterV2Impl -\u003e SharedRingBufferWriter -\u003e\nProducerRingBufferArbiter\n(owns the SharedRingBuffer)\n\nMost of the diff is tests, because every writer now needs an arbiter.\n- SharedRingBufferForTesting owns one. Call sites pass ring.arbiter()\n  instead of ring.get().\n- It comes from the new ProducerRingBufferArbiter::CreateForTesting(),\n  which has no endpoint and never asks for a drain. So ring buffer tests\n  need no producer setup and still build on all platforms.\n- Create() and CreateForTesting() share one constructor. Create() now\n  looks up and checks the SMB arbiter."
    },
    {
      "commit": "1bf66a6a017c3d18f8aeb1e39742bdd294e740d8",
      "tree": "984553e367de6d2395acaffda2d1e4529fad5ca8",
      "parents": [
        "00ed8e66fb45cedda8a46de24776c58b34ab8542"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Tue Dec 01 19:04:31 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 19:04:31 2026"
      },
      "message": "tp: add an arena allocator for objects freed together (#9000)\n\n## What\n\nAdds core::Arena and ArenaSpan. An arena frees all its memory at once\nwhen it is destroyed and never runs a destructor, so it accepts only\ntrivially destructible types: values, pointers to what outlives the\narena, and ArenaSpans of its own memory.\n\n## Why\n\nWhat the executor builds for a plan, its operators and their lists, is\nmade once and freed together. Owning it through unique_ptr and vector\ngives every type destructor code, and the executor spends tens of KB\non destructors. Types made in an arena need none. The next PR, #8865,\nmoves the plan\u0027s operators into it, and #8866 puts the run\u0027s states in\none too.\n\n## Benchmarks\n\nNo users yet; size is measured in #8865.\n\n\n\nReplaces #8864."
    },
    {
      "commit": "00ed8e66fb45cedda8a46de24776c58b34ab8542",
      "tree": "d461e331bd2fa8533ca504c8071c9d4624554219",
      "parents": [
        "faa1d9f046ab0f4619fc673e08a932493f2baa40"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Tue Dec 01 19:04:31 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 19:04:31 2026"
      },
      "message": "tp: share FlexVector\u0027s growth code across element types (#8999)\n\n## What\n\nFlexVector\u0027s growth, allocation and copy move into one out-of-line\nfunction shared by every element type, with a small wrapper per type.\npush_back and reserve grow to the same capacities as before.\npush_back_multiple now grows once to what it needs, instead of in\nrepeated growth steps.\n\n## Why\n\nEach FlexVector\u003cT\u003e had its own copy of the growth code. The copies\ndiffer only in element size and alignment, so identical code folding\ncould not merge them. #8866 and #8985 build on this shared growth rule.\n\n## Benchmarks\n\n- Stripped trace_processor_minimal_shell: -3,088 bytes.\n- Distinct, HashAggregate and sort benchmarks unchanged; page faults\n  unchanged.\n\n\n\nReplaces #8863."
    },
    {
      "commit": "faa1d9f046ab0f4619fc673e08a932493f2baa40",
      "tree": "524e6c11f08544ec89fb8334100592943d099611",
      "parents": [
        "6c8f735841e8c57bef4225ee5a12cfc4a04bf353"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Tue Dec 01 19:04:30 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 19:04:30 2026"
      },
      "message": "tp: cut the fixed per-batch cost of the scans (#8998)\n\n## What\n\nTrims what the scans pay per batch regardless of its row count:\n- Reading a range backwards reverses the selection in place, replacing\n  the 8 KB table of descending indices every RangeReader kept.\n- An index scan lends a non-null id column the rows it gathers instead\n  of copying its values.\n- A flat non-null column is gathered with one memcpy per row and no\n  per-row null or storage checks.\n- Filling a window is inlined into the readers.\n- A sorted scan\u0027s string searches move out of line, so integer searches\n  stop paying for them.\n\n## Why\n\nAfter the filter changes earlier in the series, most of a point lookup\u0027s\nremaining cost is the scan producing its one batch.\n\n## Benchmarks\n\n- ExtractArg -3.7%, IdEq/1 -11%, IndexEq -6%, TsRange/16 -3.4%.\n- Series total: ExtractArg 68.5 to 51.1 ns (-25%).\n\n\n\nReplaces #8984."
    },
    {
      "commit": "6c8f735841e8c57bef4225ee5a12cfc4a04bf353",
      "tree": "f5836c4eb37cf78fd3a98530963f3f4e5ad03b28",
      "parents": [
        "05b4a9314f940f4df8b42be466373dbf6f577eb1"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Tue Dec 01 17:48:45 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 17:48:45 2026"
      },
      "message": "Nominate annamayzner for committership (#9045)\n\nAdd Anna Mayzner\u0027s active GitHub account (@annamayzner) to the\nCommitters section of CONTRIBUTORS.txt.\n\nAnna was previously a Trace Processor maintainer on the Perfetto team\n(@aMayzner) working on Trace Processor, the standard library, Data\nExplorer, and the UI, and continues to contribute patches externally."
    },
    {
      "commit": "05b4a9314f940f4df8b42be466373dbf6f577eb1",
      "tree": "b9ed3c0fe277023bd86ac6139cccc9d3576c3667",
      "parents": [
        "80d33bb6e9ebd818fb291a10694c486cf4898ca2"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Tue Dec 01 17:40:20 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 17:40:20 2026"
      },
      "message": "tp: end a scan\u0027s run on its last batch without another pull (#8997)\n\n## What\n\nA source can mark a batch as its last. The range and row list readers\ndo. The cursor then stops after that batch, and the pipeline ends the\nrun on an emptied last batch, both without pulling again. A pipeline\nwhose steps hold state for the run, or whose operators follow the\nsource, clears the mark, and those runs end as before. The cursor also\nasks once, when it is made, whether the source serves rows in place,\ninstead of on every batch.\n\n## Why\n\nA point lookup\u0027s whole result is one batch, yet the cursor pulled once\nmore to find the end. That pull took the pipeline\u0027s slow path and\ncalled the scan again only to get nothing back.\n\n## Benchmarks\n\n- IndexEq -7.3%, ExtractArg +0.6%.\n- IdEq/1 +6.4% from layout: 7 fewer instructions, more cycles in small\n  functions; the next PR recovers it.\n\n\n\nReplaces #8983."
    },
    {
      "commit": "80d33bb6e9ebd818fb291a10694c486cf4898ca2",
      "tree": "e9ab3facf57c83f785f3bed8ee7f7c5984665f2f",
      "parents": [
        "433797f3b1a9c396b01e3c91994485ff6cd0a0de"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Tue Dec 01 15:58:33 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 15:58:33 2026"
      },
      "message": "perfetto: Modernize type annotations (PEP 585) (#9038)\n\nSince `perfetto` requires Python 3.9 at minimum (which is EOL, BTW),\n[PEP 585](https://peps.python.org/pep-0585/) syntax can be used to\nmodernize the type annotations.\n\nThis shouldn\u0027t result in any behavior changes at runtime or when type\nchecking.\n\nAs a potential follow-up, and once Python 3.9 is dropped, `Union` and\n`Optional` could also be replaced with modern `X | Y` syntax ([PEP\n604](0604)), and `TypeAlias` could also be used to explicitly mark type\naliases as such ([PEP 613](https://peps.python.org/pep-0613/))."
    },
    {
      "commit": "433797f3b1a9c396b01e3c91994485ff6cd0a0de",
      "tree": "8ab26934ea51b9c579b0aa54ff504ad437d0836e",
      "parents": [
        "d6ae21fb45b38dbd06136ceb39dc90a1c7c2bffc"
      ],
      "author": {
        "name": "Ikram Gabiyev",
        "email": "ikram20011127@gmail.com",
        "time": "Tue Dec 01 14:34:13 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 14:34:13 2026"
      },
      "message": "tp: android.cujs: count per-frame CUJ frames that don\u0027t draw (#9033)\n\nThe per-frame CUJ tables (android_cuj_frame_boundaries,\nandroid_cuj_frame_blocking_calls and the\nandroid_blocking_calls_cuj_per_frame metric) are built on\n_android_distinct_frames_in_cuj, which only kept vsyncs with a\nChoreographer#doFrame, a RenderThread DrawFrame and an actual frame\ntimeline slice.\n\n`WM Shell` animations (PIP, desktop mode close/launch) move task leashes\nwith `SurfaceControl` transactions tagged with the frame\u0027s vsync id via\n`setFrameTimelineVsync()` (at least they are supposed to),\nso their frames have an actual frame timeline slice but no `DrawFrame`. \nThose frames were dropped, and many such CUJs had no frames at all. This\naffected our blocking calls per frames metrics.\n\nKeep the existing frames exactly as before to avoid damaging normal CUJ\nframes downstream (now decoupled into `_android_drawn_frames_in_cuj`)\nand add, in\n`_android_undrawn_frames_in_cuj`, the `doFrames` on the CUJ\u0027s UI thread\nthat have an actual frame timeline slice on any layer of the process but\nno `DrawFrame`, using the same CUJ, vsync and time filters.\n\nThese frames have a `NULL render_thread_utid`, so only UI thread\nblocking calls are attributed to them. `doFrames` without an actual\nframe timeline slice (e.g. \"Frame skipped: NothingToDraw\") are still not\nframes.\n\n### Manual verification steps:\nI fetched some lab and field traces.\nOn 7 lab and field traces (desktop mode, launcher, PIP, notification\nshade, heads-up), every row of the 20 CUJs whose doFrames were all\nframes already is unchanged. 10 CUJs gain 88 frames, 6 of them from zero\n(e.g. `DESKTOP_MODE_CLOSE_TASK` 0 -\u003e 9 frames, `REMOVE_PIP 9 -\u003e 21`).\nExisting frames of those CUJs keep their `ts`, `layer` and `threads`;\nonly `ts_end` moves to the start of a newly added next frame, as the\nexisting extension rule does for every other frame.\n\n### New Tests: \nThe per-frame test trace gets a WM Shell style CUJ on `wmshell.main`\nwith 3 leash-only frames and `1 NothingToDraw doFrame`. The expected\noutputs of the 6 tests on this trace gain rows for this CUJ only; no\nexisting row changes. Before this change it had no frames in\n`android_cuj_frame_boundaries`; now it has the 3 leash-only frames with\ntheir UI thread blocking calls, while the binder call during the\n`NothingToDraw doFrame` and `RenderThread` work are not attributed to\nany frame.\n\nTest: tools/diff_test_trace_processor.py out/linux/trace_processor_shell\nBug: 581737909\nChange-Id: Id8148acd5d5dcd1cae94b9d9494dafccf5917769\n\nCo-authored-by: Ikram Gabiyev \u003cgabiyev@google.com\u003e"
    },
    {
      "commit": "d6ae21fb45b38dbd06136ceb39dc90a1c7c2bffc",
      "tree": "5a0bceadfc810d000db405c5aa8b44388a5a45d7",
      "parents": [
        "55cee76a8b25d778f28227dad9b8c16c7c128fbd"
      ],
      "author": {
        "name": "Ilya Leoshkevich",
        "email": "iii@linux.ibm.com",
        "time": "Tue Dec 01 12:46:26 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 12:46:26 2026"
      },
      "message": "tp: LE-decode Arrow deserialization (#8872)\n\nAdd big-endian support to DeserializeFromArrow() by LE-decoding various\nfields. Schema can declare big-endian byte order [1]; current code does\nnot parse such data correctly and there are no users for this, so reject\nsuch files in the interest of simplicity.\n\nNow that Arrow code fully works on big-endian, drop the little-endian\nguards.\n\nMake test helpers endian-agnostic.\n\n[1]\nhttps://github.com/apache/arrow/blob/apache-arrow-26.0.1/docs/source/format/Columnar.rst?plain\u003d1#L1460"
    },
    {
      "commit": "55cee76a8b25d778f28227dad9b8c16c7c128fbd",
      "tree": "2d722ea11e792150a14770d41121bc5a27e02b29",
      "parents": [
        "e490ed87f1db7910c40d4758215dc6a1675b442a"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Tue Dec 01 12:26:29 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 12:26:29 2026"
      },
      "message": "ui: Drive: Improve messaging around link-only traces (#8971)\n\n- Remove \u0027Change back to link-only\u0027 button - just notify the user that\nwe made a change.\n- Add a callout in the pre-picker dialog explaining why users might see\nan empty picker.\n\n## Screenshots\n\n### Share Dialog\n\u003cimg width\u003d\"512\" height\u003d\"353\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/47050a53-bd40-46ff-9823-1b05d77e71e7\"\n/\u003e\n\n### Pre-picker Dialog\n\u003cimg width\u003d\"495\" height\u003d\"168\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/c7264eeb-f508-4312-b710-1a04668ec853\"\n/\u003e"
    },
    {
      "commit": "e490ed87f1db7910c40d4758215dc6a1675b442a",
      "tree": "73ab9ea2cb7ddded394517b00e1c3d7224a9896c",
      "parents": [
        "5192b97afceb16ffb47f7b7b850d08dfebe497dc"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Tue Dec 01 12:16:51 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 12:16:51 2026"
      },
      "message": "ui: Fix UI CI by updating stale screenshot (#9034)\n\nUpdate golden test to fix the UI CI, which was broken by #8712 when it\ngot merged without rebasing on main to include two changes that altered\nthe result of the test (#8854 and #8941).\n\n# Details\n\nThis PR updates the golden for `startup_commands_allowlist.test.ts` ›\n`dev.perfetto.AddSpanNote command test` (`after.png`), which fails on\nmain.\n\n#8712 added this test and its golden. Its last commit was on 11/17,\nbefore two sidebar changes landed on main:\n\n- #8854 added the \"by Google · Privacy · Terms\" footer to the sidebar.\n- #8941 right-aligned sidebar item chips (e.g. the Memscope `PREVIEW`\nbadge).\n\n#8712 merged on 12/01 without regenerating the golden, so the `ui` job\nfails on every PR based on a main that includes it (2322 pixels differ,\nall in the sidebar; the timeline and note rendering are unchanged).\n\nThe new golden is the \"actual\" screenshot from CI run\n`gh-46624012334-1-ui`, fetched with\n`tools/download_changed_screenshots.py` and uploaded with\n`tools/test_data upload`."
    },
    {
      "commit": "5192b97afceb16ffb47f7b7b850d08dfebe497dc",
      "tree": "58afd17e2de941275eebf7b09825b1dfebdb893d",
      "parents": [
        "7761b511623c221f26701f3d2a2ef6f45badc8c4"
      ],
      "author": {
        "name": "Ilana Fibert",
        "email": "ilana.fibert@island.io",
        "time": "Tue Dec 01 11:55:51 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 11:55:51 2026"
      },
      "message": "tracing: Buffer the writev() fallback on Windows (#9004)\n\nWindows has no writev(), so the fallback in tracing_service_impl.cc\nwrote each iovec with its own WriteFile() call. Most iovecs in a trace\nare small, so a trace file needed a very large number of calls. During a\nbusy trace, this blocked the tracing service thread.\n\nCopy the iovecs of one call into a buffer and write the buffer at once.\nWrite an iovec that is larger than the buffer directly."
    },
    {
      "commit": "7761b511623c221f26701f3d2a2ef6f45badc8c4",
      "tree": "ca1c7c5a73bb04742ad12e73887ab9cd3751cabd",
      "parents": [
        "f74589066438a2c59696f7bea6aab22e5465a63d"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Tue Dec 01 11:15:00 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 11:15:00 2026"
      },
      "message": "ui: add popup/tooltip animations and global tooltip show delay (#9018)\n\nAdds directional enter/exit animations to `Popup` and `Tooltip` overlays\nand introduces a global show-delay warm-up mechanism for `Tooltip`.\n\n### Summary\n- **Async portal exit lifecycle (`Portal`)**: Added\n`onBeforeContentUnmount` wired to Mithril\u0027s `onbeforeremove`, allowing\nportal-backed overlays to play CSS exit animations before unmounting.\n- **`Popup` \u0026 `Tooltip` enter/exit animations**:\n- Directional entrance and exit glide/fade animations on `.pf-popup`\nusing standalone CSS `translate` so they compose cleanly with\nPopper.js\u0027s inline `transform: translate3d(...)`.\n- Shared `animatePopupExit()` helper honoring `prefers-reduced-motion`,\nskipping animation when hidden (`data-popper-reference-hidden`) or when\ncomputed animation duration is `0`, and cleaning up exiting Popper\ninstances safely.\n- Fade-in animation on `.pf-cursor-tooltip` and `pointer-events: none`\non `.pf-tooltip-portal` so open/exiting tooltips never intercept hover\nevents on adjacent controls.\n- **Global `Tooltip` show delay \u0026 warm-up window**:\n- Added `showDelayMs` prop (default `400ms`; pass `0` for immediate\ndisplay).\n- Shared module-level warm-up state (`500ms` cooldown after the last\ntooltip closes): once one tooltip opens, hovering across adjacent\ntooltips reveals them immediately until the cooldown expires.\n- Updated the Widgets page `Tooltip` demo with a `showDelayMs` option\nand a multi-button warm-up showcase."
    },
    {
      "commit": "f74589066438a2c59696f7bea6aab22e5465a63d",
      "tree": "37c6e60559789e8c07014b6615ca84e7e8931ee4",
      "parents": [
        "a2655c78c9828f83b5aef24160adda78e7b476bf"
      ],
      "author": {
        "name": "Morg",
        "email": "morg@google.com",
        "time": "Tue Dec 01 10:53:50 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 10:53:50 2026"
      },
      "message": "perfetto: use FlatHashMap for SysStatsDataSource counter maps (#9029)\n\nSysStatsDataSource previously mapped /proc/meminfo and /proc/vmstat\ncounter names with std::map\u003cconst char*, int, CStrCmp\u003e. Each periodic\npoll walked red-black tree nodes with strcmp and overwrote trailing \u0027:\u0027\nbytes in ReadMeminfo.\n\nSysStatsDataSource now stores meminfo_counters_ and vmstat_counters_ in\nbase::FlatHashMap\u003cstd::string_view, int\u003e and removes CStrCmp.\nReadMeminfo and ReadVmstat query std::string_view tokens directly in\ncontiguous storage and avoid tree traversal.\n\nOn a real Android desktop device under linux.sys_stats, this change\nreduces traced_probes CPU usage by ~5-10%.\n\nTested:\n- perfetto_unittests --gtest_filter\u003d\u0027SysStatsDataSourceTest.*\u0027"
    },
    {
      "commit": "a2655c78c9828f83b5aef24160adda78e7b476bf",
      "tree": "feca603794654e12cdfa20d59257f69e1078c923",
      "parents": [
        "76bda5387d8b1794cedc99ca4cc699882ae0c547"
      ],
      "author": {
        "name": "Ilya Leoshkevich",
        "email": "iii@linux.ibm.com",
        "time": "Tue Dec 01 10:33:38 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 10:33:38 2026"
      },
      "message": "tp: decode perf.data in its byte order (#8705)\n\nAdd big-endian support to the perf importer by detecting the byte order\nfrom the magic and byte-swapping fields when it differs from the host\u0027s.\nperf.data uses the recording machine\u0027s byte order [1].\n\nImporting LE perf.data on x86_64 shows no slowdown (3.632s +- 0.040s\nbefore, 3.630s +- 0.024s after), with perf.zip holding 200 copies of\ntest/data/perf_counter.data:\n\n  taskset -c 3 hyperfine -N -w 1 -r 30 -L tp old,new \\\n    \u0027./{tp} query perf.zip \"select 1\"\u0027\n\n[1]\nhttps://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/tools/perf/Documentation/perf.data-file-format.txt?h\u003dv7.2#n10"
    },
    {
      "commit": "76bda5387d8b1794cedc99ca4cc699882ae0c547",
      "tree": "eee3c12535fab4225bb6d03a4b20f546f6ba0b7b",
      "parents": [
        "a847331f23f7dd9d59880b4e9dd521bbb248ff8e"
      ],
      "author": {
        "name": "Sean Yang",
        "email": "shawseanyang@google.com",
        "time": "Tue Dec 01 10:32:33 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 10:32:33 2026"
      },
      "message": "perfetto: add shawseanyang@ back to OWNERS (#9032)\n\nAdds shawseanyang@ back to the global OWNERS under UI.\n\n#8846 added shawseanyang@ so that Guardians can approve the GitHub →\nAndroid-internal merge CLs, which touch the whole tree and need a\nCode-Owners +2. #8881 removed the entry because shawseanyang@google.com\nhad no account on googleplex-android-review yet, which made Copybara\u0027s\npush fail the code-owners check:\n\n```\nremote: ERROR: commit fa2c3db: [code-owners] code owner email \u0027shawseanyang@google.com\u0027 in \u0027/OWNERS\u0027 cannot be resolved for copybara-worker-blackhole@google.com\n```\n\nThe Gerrit account now exists, so the email resolves and the code-owners\ncheck should pass. After this lands, check that the next\n`github_to_internal_android` Copybara run pushes successfully."
    },
    {
      "commit": "a847331f23f7dd9d59880b4e9dd521bbb248ff8e",
      "tree": "a0ccb6d80884bee58f0022d6e430d54562f461d5",
      "parents": [
        "670283d29d3599b35096d5d2ab879d8089a770e3"
      ],
      "author": {
        "name": "Ilya Leoshkevich",
        "email": "iii@linux.ibm.com",
        "time": "Tue Dec 01 10:22:11 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 10:22:11 2026"
      },
      "message": "tp: LE-encode Arrow validity bitmaps and packed values (#9017)\n\nAdd big-endian support to the buffers ArrowSerializer copies verbatim\nfrom storage by LE-encoding BitVector words and split sparse values.\n\nFixes: 595831cd09 (\"tp: export sparse columns in their stored layout\n(#8640)\")"
    },
    {
      "commit": "670283d29d3599b35096d5d2ab879d8089a770e3",
      "tree": "804ed632c69fffb01a871aa02851ee9b295b3167",
      "parents": [
        "5da325fe5851c77e1673039b7cd0208d55535a31"
      ],
      "author": {
        "name": "Sayed Hadi Hashemi",
        "email": "xldrx@google.com",
        "time": "Tue Dec 01 09:45:40 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 09:45:40 2026"
      },
      "message": "ui: Allow AddSpanNote as a startup command (#8712)\n\nAddSpanNote only notes the current selection, which is empty when a\ntrace loads, so it cannot be used from startup commands or URL args.\n\nAccept optional (startTs, endTs, text) arguments; without them, the\nselection is used as before. Add the command to the startup allowlist.\n\nExample startup command:\n```json\n{\"id\": \"dev.perfetto.AddSpanNote\", \"args\": [\"1753096827527374787\", \"1753096828527374787\", \"warmup\"]}\n```"
    },
    {
      "commit": "5da325fe5851c77e1673039b7cd0208d55535a31",
      "tree": "659a320a2fcd89af115d31a0f5641842b8f59fa0",
      "parents": [
        "28619eac2d4b8d48816ec56d1aaf6c38eb16f364"
      ],
      "author": {
        "name": "Sayed Hadi Hashemi",
        "email": "xldrx@google.com",
        "time": "Tue Dec 01 09:45:32 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 09:45:32 2026"
      },
      "message": "ui: Document CounterTrack\u0027s Y Mode setting values (#8711)\n\nThe \u0027Y Mode\u0027 setting descriptor had a \u0027TODO\u0027 description. List its\nallowed values (value, delta, rate), matching the other CounterTrack\nsetting descriptors."
    },
    {
      "commit": "28619eac2d4b8d48816ec56d1aaf6c38eb16f364",
      "tree": "b327d725bdeea3d0a026849ec1dcb0760d909410",
      "parents": [
        "5b3620e311d337dcffa642f994ae2fafe233372a"
      ],
      "author": {
        "name": "perfetto-automation[bot]",
        "email": "278437629+perfetto-automation[bot]@users.noreply.github.com",
        "time": "Tue Dec 01 09:29:06 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Dec 01 09:29:06 2026"
      },
      "message": "Sync generated proto files (#9030)\n\nThis PR automatically synchronizes generated proto files with their\n`.proto` definitions.\n\n## Generated files updated\n- `.gen.cc` and `.gen.h` files\n- `.pcz.h` files\n- Binary descriptors\n- Python proto bindings\n\nThis is an automated PR generated by the `sync-protos` workflow.\n\nCo-authored-by: perfetto-automation[bot] \u003cperfetto-automation-github-app@google.com\u003e"
    },
    {
      "commit": "5b3620e311d337dcffa642f994ae2fafe233372a",
      "tree": "94a5690ec0734fe6c238bdaeebccc4f602d4991a",
      "parents": [
        "c70be5ad3d9487440448d2712547ba0b15de939c"
      ],
      "author": {
        "name": "etiennep-chromium",
        "email": "etiennep@chromium.org",
        "time": "Mon Nov 30 19:16:27 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 19:16:27 2026"
      },
      "message": "perfetto: Handle synchronous ipc::Client teardown in reply callbacks (#9024)\n\nFixes reentrant use-after-free bugs when an IPC bind or method reply\ncallback synchronously disconnects and destroys the owning ipc::Client\nor ServiceProxy (crbug.com/524470733):\n\n- Guard ClientImpl::OnConnect(), OnDataAvailable(), and\nOnInvokeMethodReply() with weak_this (removing the\ninvoking_method_reply_ restriction) so destroying ipc::Client inside a\nbind or method reply callback does not UAF on unwind.\n- Move/copy DeferredBase::callback_ onto the stack before invoking it\nand erase ServiceProxy::pending_callbacks_ before Resolve() when\n!has_more so destroying ServiceProxy inside a reply callback does not\nUAF.\n- Guard ProducerIPCClientImpl::OnConnectionInitialized() with weak_this\nacross producer_-\u003eOnConnect()."
    },
    {
      "commit": "c70be5ad3d9487440448d2712547ba0b15de939c",
      "tree": "3ab8374a59d8613e08b10b8acd237ac3c0c3dfd4",
      "parents": [
        "99fee86387068e05842b825aa68dd89392fbfb81"
      ],
      "author": {
        "name": "Vibhu Agarwal",
        "email": "vibhuagarwal@google.com",
        "time": "Mon Nov 30 18:19:54 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 18:19:54 2026"
      },
      "message": "tp: check the interrupt flag before each statement of a query (#8972)\n\nSince #8737, an interrupt sets a flag which a SQLite progress handler\nchecks every 10,000 steps. A statement shorter than that never reaches\nthe handler, so a short statement which started after an interrupt (e.g.\nbetween two statements of a query) still ran to the end.\n\nNow the engine also checks the flag right before each statement of a\nquery starts, in the loop which every statement goes through.\n`ExecuteQuery()` and `ExecuteNextStatement()` mark their root execution\nframe as interruptible, and no other frame is:\n- trace processor\u0027s own `Execute()` calls (e.g. the savepoint and\nrollback behind `CREATE PERFETTO TABLE`) run in frames of their own, so\nthat their steps always run together;\n- the statements of an `INCLUDE` run in a frame of their own, so that\nthe module isn\u0027t left poisoned halfway.\n\n**Chromium:** the new check reads the flag directly, so it also works\nwithout progress handlers.\n\nBug: 586919700"
    },
    {
      "commit": "99fee86387068e05842b825aa68dd89392fbfb81",
      "tree": "e90fa790b01f4160b9da7fa37cbad04dffc0a4e8",
      "parents": [
        "e19cb5e4902b972fbf8be834a292d62eaa53c2db"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Mon Nov 30 18:15:04 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 18:15:04 2026"
      },
      "message": "perfetto: let tracing v2 writers stall before the attach reply (#9022)\n\nA kStall writer drops packets until the producer reads the\nAttachV2RingBuffer reply, even if traced already drains the ring\nbuffer.\n\ntraced_probes hits this at startup.\n1. SetupDataSource() sends the attach.\n2. StartDataSource() runs in the same task batch.\n3. A burst of writes can fill the ring buffer before the reply is read.\n\nThe reply does not need to gate stalls.\n- The endpoint sends the attach before any drain request.\n- The service handles them in order.\n- So it drains an accepted ring buffer either way.\n\nReplace the attach state with one reader-detached flag.\n- Remove ReaderState, OnReaderAttachReply() and IsReaderAttached().\n- Writers wait for space unless the reader is detached.\n- The endpoint calls DetachReader() when the service rejects the ring\n  buffer or the connection ends.\n\nBug: 587941382"
    },
    {
      "commit": "e19cb5e4902b972fbf8be834a292d62eaa53c2db",
      "tree": "306af297a6845758cf40b6a4de4c47b325abcbe8",
      "parents": [
        "41f541d91647ef11158015da988da0eeaf1913cd"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Mon Nov 30 17:27:28 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 17:27:28 2026"
      },
      "message": "perfetto: Enable Pyrefly\u0027s default preset, and fix remaining Pyrefly errors (#9019)\n\nFollowing #8945 and 8952, this is the last part in the Pyrefly default\npreset trilogy.\n\nThe code changes were necessary to resolve the remaining Pyrefly errors\nThe new `.pyi` ignore is needed because this stub file is generated by\n`protoc`, but comes with type errors that can only be fixed in `protoc`\nitself."
    },
    {
      "commit": "41f541d91647ef11158015da988da0eeaf1913cd",
      "tree": "9f3495666f5abc168c3b98f59a5a9626c49666ef",
      "parents": [
        "2fe94ef5bd4c65ba6eb0b926c2f259e1811c1812"
      ],
      "author": {
        "name": "Emre Acarsoy",
        "email": "dev@eacarsoy.com",
        "time": "Mon Nov 30 14:51:15 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 14:51:15 2026"
      },
      "message": "ui: Resize canvases when device pixel ratio changes (#8440)\n\nPreviously, if you moved the window to a display with different scaling\n(or changed the scaling of the current display), the canvas would keep\nits old resolution (so it wouldn\u0027t scale correctly). VirtualCanvas only\nchecked for new devicePixelRatio when the page scrolled or an element\nresized.\nThis can be verified manually by running the dev server, and going to\n(http://localhost:10000/#!/widgets/virtualcanvas)[http://localhost:10000/#!/widgets/virtualcanvas],\nand manually changing the DPR through Chrome dev tools. You\u0027ll notice\nthat the red rectangles remain blurry when scale is changed (though for\nsome reason this only happens when changing between certain DPR values,\nand not all of them - I have no idea why).\n\nThis change adds a listener which ensures the canvas will resize\nautomatically on display scaling change, so we avoid the blurry\nrectangles!\n\nFixes: #2360"
    },
    {
      "commit": "2fe94ef5bd4c65ba6eb0b926c2f259e1811c1812",
      "tree": "db2a73b3e60b56e5799572d948889114552bd6e7",
      "parents": [
        "fd17164fd2116ab5c11c9d5d255c70635e7871d8"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Mon Nov 30 13:21:10 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 13:21:10 2026"
      },
      "message": "perfetto: send v2 drain requests right away on the endpoint thread (#9007)\n\ntraced_probes stalls on its v2 ring buffer in many field traces,\nbecause it writes ftrace data on its endpoint thread inside a long\nFtraceController::ReadTick() loop and only returns to the task runner\nat the end.\n\nBefore this change, that loop caused stalls even after lowering the\ndrain threshold from 25% to 15%, because the threshold only posted the\nsame task earlier.\n1. When occupancy hit the threshold, RequestDrain() posted a drain task.\n2. That task could not run until ReadTick() returned, so the service\n   never drained while the ring buffer filled up.\n3. The writer only sent its first request after filling the buffer and\n   stalling.\n\nNow RequestDrain() sends drain requests right away on the endpoint\nthread, while off-thread writers still post a coalesced task.\n\nWithout a posted task on the endpoint thread, nothing coalesces\nrequests there, and over IPC occupancy stays high until the service\nfinishes its pass. We pace the requests instead.\n- SendDrainRequest() stores write_pos in an atomic before calling\n  DrainV2RingBuffer().\n- Writers only ask again when a threshold\u0027s worth of new positions were\n  reserved since that write_pos, which is safe because that drain\n  consumes all earlier reservations. Any later append to a cached chunk\n  is either read by that drain, or the writer loses the chunk and\n  reserves a new position.\n- Making the stored write_pos atomic paces off-thread writers too, so\n  they stop posting a new task after each one runs while a drain pass\n  is in flight.\n\nDrainUrgency is replaced by two entry points.\n- MaybeRequestDrain() is inline in the header and checks both occupancy\n  and pacing after each publication, so the common path makes no call.\n- RequestDrain() skips those checks for waits and for drops after\n  failed claims. On the endpoint thread, that failed-claim drop used to\n  post a task and now sends right away too.\n\nIn-process, the drain now runs inline inside a writer call more often.\nThe drain never calls back into the producer, and kUrgent already did\nthis for stalling writers. Avoiding direct sends for kDrop writers on\nthe endpoint thread (as in v1\u0027s SharedMemoryArbiterImpl::GetNewChunk())\nwill be handled separately if needed.\n\nAnalysis: go/tracing-v2-direct-drain\nBug: 587941086"
    },
    {
      "commit": "fd17164fd2116ab5c11c9d5d255c70635e7871d8",
      "tree": "4cf1882f4743c2589dac88464ebc490c326ff1ea",
      "parents": [
        "c2e6f5ace72e74f12e49892fdb72abf614f0e654"
      ],
      "author": {
        "name": "copybara-service[bot]",
        "email": "56741989+copybara-service[bot]@users.noreply.github.com",
        "time": "Mon Nov 30 13:05:10 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 13:05:10 2026"
      },
      "message": "Copybara import from Chromium: proto and stdlib changes (#9012)\n\nCopybara import from Chromium: proto and stdlib changes\n\n- a525156e0d78a01b2ec1bdbffcda471cd3090a5e [chrome stdlib] Optimize\nchrome_scroll_jank_v4_results ta... by Petr Čermák\n\u003cpetrcermak@chromium.org\u003e\n- 877e13f07b147fb6eef210f93436fa7ab787fe5d [chrome stdlib] Optimize\nchrome_event_latencies table query by Petr Čermák\n\u003cpetrcermak@chromium.org\u003e\n- 645cbb85d551cbcbf4df0de9834e8bbeb7789866 [chrome stdlib] Optimize\nsurface frame step joins in chro... by Petr Čermák\n\u003cpetrcermak@chromium.org\u003e\n- 440b337e2a247e2c2f3f5b6f81dc00150d7d98e4 Log UMA and trace events for\ndeadline-derived VSync inter... by Petr Čermák \u003cpetrcermak@chromium.org\u003e\n\nCOPYBARA_IMPORT\u003dProject import generated by Copybara.\n\nGitOrigin-RevId: a525156e0d78a01b2ec1bdbffcda471cd3090a5e\n\nCo-authored-by: Perfetto Team \u003ccopybara-servicebot@google.com\u003e"
    },
    {
      "commit": "c2e6f5ace72e74f12e49892fdb72abf614f0e654",
      "tree": "0632bc9a22c7e8d354c37fa7a184b0fb187fd027",
      "parents": [
        "1d788ecae86f8a8ceed4370f8c2b2b8938efa1f2"
      ],
      "author": {
        "name": "Morg",
        "email": "morg@google.com",
        "time": "Mon Nov 30 11:22:32 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 11:22:32 2026"
      },
      "message": "perfetto: reuse persistent FDs in CpuFreqInfo::ReadCpuCurrFreq (#8919)\n\nCpuFreqInfo::ReadCpuCurrFreq() previously called sysconf() and\nbase::ReadFile() per CPU on every poll tick. That sequence ran open(),\nfstat(), heap string allocations, and close() for each CPU on every\ncpufreq_period_ms poll, unlike persistent /proc file descriptors in\nSysStatsDataSource.\n\nCpuFreqInfo::ReadCpuCurrFreq() now lazily caches one read-only\nbase::ScopedFile per CPU and reads from offset 0 into a 32-byte stack\nbuffer with pread(). On read errors or EOF, it resets the cached file\ndescriptor so hotplugged CPUs reopen on later polls.\nSystemInfoDataSource still opens zero extra file descriptors because it\nnever calls ReadCpuCurrFreq().\n\nMeasurements ran on an 8-core x86_64 Android desktop device (P-core 0\ncapped at 2.40GHz, 5 rotated rounds per suite, 8/8 CPUs active per\nsample). Under a production linux.sys_stats config (cpufreq\u003d100ms,\nmeminfo/vmstat/buddyinfo\u003d200ms, psi\u003d2000ms, 12s), traced_probes CPU\ndrops by 39.37% (20.99ms to 12.72ms, -52.44% instructions) and\nREAD_SYS_STATS total time drops by 50.49% (15.40ms to 7.62ms). Under a\nfull 32s Always-On Tracing config, READ_SYS_STATS total time drops by\n51.89% (39.97ms to 19.23ms, 127.29us to 61.24us mean/tick) and\nwhole-daemon traced_probes CPU drops by 6.39% (355.59ms to 332.87ms,\n-5.12% cycles).\n\nTested:\n- perfetto_unittests --gtest_filter\u003d\u0027CpuFreqInfoTest.*\u0027\n- perfetto_unittests --gtest_filter\u003d\u0027SysStatsDataSourceTest.*\u0027\n- perfetto_unittests --gtest_filter\u003d\u0027SystemInfoDataSourceTest.*\u0027"
    },
    {
      "commit": "1d788ecae86f8a8ceed4370f8c2b2b8938efa1f2",
      "tree": "d99abc574beec4fc5dab67387d646077722e3145",
      "parents": [
        "9f373f16083920f10b6c029d335bfed12a4dc5f7"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Mon Nov 30 11:16:00 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 11:16:00 2026"
      },
      "message": "perfetto: avoid a TraceBufferV3 bundling pass on every commit (#9006)\n\n- A bundling pass leaves chunks it cannot read yet in staging\n(unpatched,\nincomplete, or holding a packet whose next fragment has not arrived).\n- If those add up to target_packet_data_size_ or more,\nstaging_buf_-\u003eused_size() stays at or above the target after the pass.\n- Because OnWriteCheckpoint() checked only staging_buf_-\u003eused_size(),\nevery later commit ran BundleStaging() and staging_buf_-\u003eMaybeCompact()\nagain without bundling anything.\n\nFix:\n- Instead, record staging_buf_-\u003estats().bytes_written() in\nstaging_bytes_written_at_last_drain_ whenever ReadNextStagedPacket()\ndrains all readable packets from staging, and have OnWriteCheckpoint()\nwait for target_packet_data_size_ new bytes since then.\n- Updating the value in ReadNextStagedPacket() covers both\nBundleStaging() and direct\nstaging reads, so a read that drains staging does not let the next\nsmall write trigger an early bundle.\n\nCaveat:\nBytes count only once, when they are written. If a pass left a packet\nin staging, a later patch, in-place recommit or final fragment makes it\nreadable without counting those earlier bytes again, so it stays in\nstaging until the next pass or a read.\n\nAnalysis: go/tbv3-write-checkpoint"
    },
    {
      "commit": "9f373f16083920f10b6c029d335bfed12a4dc5f7",
      "tree": "29bb639da1bb5777eb57a2f6f54f572f1519a01e",
      "parents": [
        "6ff067a989b7609a5887e26e966217db0f2d689a"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Mon Nov 30 11:16:00 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 11:16:00 2026"
      },
      "message": "perfetto: enable TraceBufferV2 compaction by default (#9005)\n\nRemove the TraceConfig.experimental_trace_buffer_v2_compaction check in\nTracingServiceImpl::MaybeCompactBuffers() so TraceBufferV2 buffers\ncompact after reads by default.\n\nAnalysis: go/tbv2-left-shift-compaction\nBug: 587942033"
    },
    {
      "commit": "6ff067a989b7609a5887e26e966217db0f2d689a",
      "tree": "896329f80d341f1c976381deddfe29fe80c2e443",
      "parents": [
        "3acb717a53cd6534092f4deb78c8b12b94ffa203"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Sat Nov 28 23:17:37 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 23:17:37 2026"
      },
      "message": "tp: shrink ParamValue from 120 to 32 bytes (#8995)\n\n## What\n\nParamValue goes from 120 to 32 bytes. What only string ordering,\nREGEXP, GLOB and IN use moves into a struct allocated on first use. The\ncast\u0027s value and validity become two plain fields, and the value is\nread only when the validity says it is valid.\n\n## Why\n\nEvery run casts its params and every scan and filter reads them, so a\npoint lookup touches them on each execution. Most params are a number\nor a string id, yet each carried a string, an optional regex, an IN\nlist and a glob matcher inline.\n\n## Benchmarks\n\n- ExtractArg +1.8%: instructions flat, from layout in small unchanged\n  functions.\n- Stripped trace_processor_minimal_shell: -1,696 bytes.\n\n\n\nReplaces #8982."
    },
    {
      "commit": "3acb717a53cd6534092f4deb78c8b12b94ffa203",
      "tree": "ac58041de0747cf104befbaf4e1b98d04b7dd08d",
      "parents": [
        "45ded3c64ec2ffb7320f5d72f524bf23a0748b5f"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Sat Nov 28 22:26:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:25 2026"
      },
      "message": "tp: give string \u003d and !\u003d params their own casters (#8994)\n\n## What\n\nString \u003d and !\u003d params get their own casters, chosen when the plan is\nbuilt. They read the fetched string and look up its id in the pool\ndirectly. Ordering, GLOB and REGEXP keep a separate caster.\n\n## Why\n\nString equality is the common lookup, as in extract_arg\u0027s `key \u003d ?`,\nand its cast only needs the string\u0027s id. It still went through\nCastFilterValue, which builds a full result with the string\u0027s text,\nand then checked the op on every call.\n\n## Benchmarks\n\n- ExtractArg -0.6%, 11 fewer instructions per lookup.\n\n\n\nReplaces #8981."
    },
    {
      "commit": "45ded3c64ec2ffb7320f5d72f524bf23a0748b5f",
      "tree": "dace53c1458d0d52e1331a50847416080d67f30c",
      "parents": [
        "a2f9d1518a098da41b6321f99f579e8275019b2d"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Sat Nov 28 22:26:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:25 2026"
      },
      "message": "tp: compare a dense nullable column before dropping its nulls (#8993)\n\n## What\n\nFilter compares a dense nullable column on every row first and drops\nthe nulls only from the rows left. This applies to numeric comparisons\nand to string \u003d and !\u003d. String ordering, GLOB and REGEXP still drop\nnulls first, since they read the string pool and a null\u0027s slot need\nnot name a string in it. BufferPool blocks are zeroed when allocated,\nso a null slot always holds a value.\n\n## Why\n\nArgTable\u0027s key column is DenseNull. Dropping nulls first wrote out\nevery row of the batch and tested each bit before comparing, and it\nlost the contiguous FilterRange path a non-null column gets.\n\n## Benchmarks\n\n- ExtractArg -17.5%.\n\n\n\nReplaces #8980."
    },
    {
      "commit": "a2f9d1518a098da41b6321f99f579e8275019b2d",
      "tree": "cb695505eb9916ae2835edc072dbfcbee2e7ecaf",
      "parents": [
        "fc78457c46a643d5205fc7351f1f264adcc303d6"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Sat Nov 28 22:26:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:25 2026"
      },
      "message": "tp: keep the cold paths of Filter and param casting out of line (#8992)\n\n## What\n\nFilter::Process picks its comparison from a table indexed by op and\nstorage type, built at compile time. Regex, glob, IN, sparse and\nsequence gathering, string ordering and the rest of the null handling\nmove out of line. Dropping a dense nullable column\u0027s nulls stays\ninline, since every extract_arg lookup does it. CastParamFor\u003cString\u003e\u0027s\ntext and regex handling moves out of line too, so the \u003d and !\u003d cast\nstays small. Behaviour does not change.\n\n## Why\n\nA point lookup runs Process once on a handful of rows, so its fixed\ncost matters more than its per-row cost. At 25 KB, any nearby edit\nmoved Process\u0027s hot loops across op-cache lines. That is how shrinking\nParamValue in #8982 first measured 15% slower with identical loop code.\nKeeping the hot functions small lets the rest of the series, #8980 to\n#8984, be measured for what each change does.\n\n## Benchmarks\n\n- Filter::Process: 24.9 KB to 0.8 KB.\n- ExtractArg -7.8%, no regressions on IdEq, TsRange or IndexEq.\n- Stripped trace_processor_minimal_shell: +496 bytes.\n\n\n\nReplaces #8979."
    },
    {
      "commit": "fc78457c46a643d5205fc7351f1f264adcc303d6",
      "tree": "93f94602a7df79646d221f4dc2ed1db7ef49f09f",
      "parents": [
        "e782bf67f598a80e57d25e31237da1461d7234b4"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Sat Nov 28 22:26:24 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:24 2026"
      },
      "message": "tp: benchmark lookups on a nullable key column like ArgTable\u0027s (#8991)\n\n## What\n\nBuilds the lookup benchmarks\u0027 args fixture with DenseNull columns. A\ntrailing null row keeps them DenseNull. Only the benchmark changes.\n\n## Why\n\nArgTable\u0027s key column is DenseNull, so every extract_arg lookup filters\na nullable column. The old fixture used a non-null key, which measured\na path production never takes and left the cost of the nulls\nunmeasured. This is the baseline for the lookup series in #8979 to\n#8984.\n\n## Benchmarks\n\n- Baseline only. Measured on g13 for the series: ExtractArg 68.5 ns.\n\n\n\nReplaces #8978."
    },
    {
      "commit": "e782bf67f598a80e57d25e31237da1461d7234b4",
      "tree": "bc3177d139905c9c6c6a67c6ab6600715e60a84d",
      "parents": [
        "88602e26430d3efe30dca521d06b91e4956a82ee"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Sat Nov 28 22:26:24 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:24 2026"
      },
      "message": "tp: speed up the id join\u0027s lookups, copies and casts (#8990)\n\n## What\n\nSpeeds up the loops the id join from #8862 spends its time in:\n- Dropping unmatched rows uses AVX2 left-packing, eight rows at a time.\n  It uses a lookup table rather than BMI2, which is slow on older AMD\n  CPUs, and falls back to a scalar loop elsewhere.\n- The RowStore records which columns are sequences, so gathering other\n  columns skips a per-row check.\n- Widening a flat 32-bit column with no nulls to Int64 runs as one\n  vectorized loop instead of row by row through the selection.\n- Adds PERFETTO_VECTORIZE_LOOP_ONCE, so these loops keep one vector body\n  instead of interleaved and unrolled copies.\n\n## Why\n\nThe id join\u0027s time goes almost entirely to these few tight loops. They\nare kept separate from #8862 so the join itself is easy to review.\n\n## Benchmarks\n\nInstructions per query in BM_Connection_JoinSlicesThreads, measured\nwith callgrind:\n\n| Query | Join operator | Key cast |\n|---|---|---|\n| All keys match | 22.3M -\u003e 19.6M (-12%) | 11.1M -\u003e 1.9M (-83%) |\n| 1 in 10 keys missing | 29.4M -\u003e 22.3M (-24%) | 10.1M -\u003e 1.9M (-81%) |\n\n\nMedian wall time per query, clang release build:\n\n| Query | Before | After |\n|---|---|---|\n| Pipeline JOIN | 2.74 ms | 1.46 ms |\n| Pipeline JOIN, 1 in 10 keys missing | 3.55 ms | 1.91 ms |\n| Scan slices alone | 1.41 ms | 0.25 ms |\n| Same join in SQLite | 53.4 ms | 52.3 ms |\n\nThe scan alone also speeds up because summing utid casts it to Int64.\n\n\n\nReplaces #8869."
    },
    {
      "commit": "88602e26430d3efe30dca521d06b91e4956a82ee",
      "tree": "7ceacb0d5e26a90cfeade2c0876928ed189824d0",
      "parents": [
        "175b13f41abb732119a627d9479475546247178d"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Sat Nov 28 22:26:24 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:24 2026"
      },
      "message": "tp: remove non-constexpr statics from the executor and pipeline (#8989)\n\n## What\n\nRemoves the executor\u0027s and pipeline\u0027s non-constexpr statics. The\noperation registrations become constexpr. IntervalFlatten\u0027s shared push\nand group tables, a NoDestructor singleton, become per-call scratch in\nits state. test::TestContext() goes, so each test owns its Context. The\nlookup and filter benchmarks build their fixtures per call instead of\nleaking one built on first use.\n\n## Why\n\nFunction-local statics and singletons hide state shared across every\nplan, thread and test, initialized at a time nobody chose. With a\nshared test Context, a test could see what an earlier one left in it.\n\n## Benchmarks\n\n- BM_IntervalFlatten: unchanged, within noise on every case.\n\n\n\nReplaces #8975."
    },
    {
      "commit": "175b13f41abb732119a627d9479475546247178d",
      "tree": "4eabe43e27256edf21e8b53514abaf9d3400b76b",
      "parents": [
        "430f93ac92ab14b4faa3a50f7edddc2733a1dcf1"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Sat Nov 28 22:26:23 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:23 2026"
      },
      "message": "tp: add JOIN and LEFT JOIN on an id to PerfettoSQL pipelines (#8988)\n\n## What\n\nAdds `|\u003e JOIN rel USING (col)`, `|\u003e JOIN rel ON a \u003d b` and their\n`LEFT JOIN` forms to PerfettoSQL pipelines, on a single integer key\nwhose values on the right side are consecutive, as a table\u0027s ids are.\nFor example `|\u003e JOIN thread USING (utid)`. The pipe syntax docs\ndescribe the new stage.\n\nThe right side runs first as a sink and stores its rows in a RowStore.\nEach input batch looks up its keys in one pass, drops unmatched rows,\nand copies the matched rows\u0027 columns out of the store. LEFT JOIN\noutputs the unmatched rows afterwards, with nulls.\n\n## Why\n\nPipelines had no way to bring in another table\u0027s columns, so a query\nwanting each slice\u0027s thread name had to leave pipe syntax. Joining on\nthe other table\u0027s id is the common case. Because ids are consecutive,\nthe matching row is found by subtracting the first id, with no hash\ntable. This follows pipitdb\u0027s id join, so the two engines stay close.\n\n## Benchmarks\n\nBM_Connection_JoinSlicesThreads joins 1M slices to 64K threads by utid\nand sums a joined column, matching pipitdb\u0027s first join benchmark. Arg\n4 is the same query with 1 slice in 10 missing its thread.\n\n\nMedian wall time per query, clang release build:\n\n| Query | Time |\n|---|---|\n| Pipeline JOIN | 2.74 ms |\n| Same join in SQLite | 53.4 ms |\n| Scan slices alone | 1.41 ms |\n| Scan threads alone | 0.10 ms |\n| Pipeline JOIN, 1 in 10 keys missing | 3.55 ms |\n\n## Reviewing\n\nWhether the right side\u0027s keys are consecutive is only known once its\nrows are stored, so any other right side fails when the pipeline runs,\nnot when it is compiled. Speedups for this join are in the next PR,\n#8869.\n\n\n\nReplaces #8862, which was approved there; its review comments are being\naddressed here."
    },
    {
      "commit": "430f93ac92ab14b4faa3a50f7edddc2733a1dcf1",
      "tree": "0501eea322b2e1c43062a98bd864613413938b99",
      "parents": [
        "0a866e01b867aeef5bdb5df365c989074a9d5a94"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Sat Nov 28 19:44:55 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 19:44:55 2026"
      },
      "message": "tbV2: report writer aborts on the packet after the abort (#8966)\n\nDuring the TBv3 rollout, traced_buf_data_loss_writer_abort showed up\nin TBv3 traces while staying at 0 in TBv2 on the same builds. Both\nbuffers saw the same writer aborts and emitted DATA_LOSS_WRITER_ABORT,\nbut on the wrong packet.\n\nCopyChunkUntrusted() added DATA_LOSS_WRITER_ABORT to SequenceState as\nsoon as it saw kPacketSizeDropPacket. ReadNextTracePacket() then gave\nthat loss to the next unread packet, which was written before the abort.\n\n```\nSequence order:      [0: \u0027a\u0027] [1: \u0027b\u0027, drop] [2: \u0027c\u0027]\nBefore, \u0027a\u0027 unread:  \u0027a\u0027 gets WRITER_ABORT\nBefore, \u0027a\u0027 read:    \u0027b\u0027 gets WRITER_ABORT\nAfter:               \u0027c\u0027 gets WRITER_ABORT\n```\n\nWhy TBv3 surfaced this\n\n- TBv2 usually reads once at the end of the trace, so \u0027a\u0027 was still\n  unread and got the abort. It is the first packet of the sequence\n  (inserted \u003d true). In ProtoTraceReader, !inserted skipped recording\n  the metric.\n\n```\n    if (decoder.has_trusted_packet_sequence_id() \u0026\u0026 !inserted) {\n      if (uint32_t reasons \u003d decoder.previous_packet_dropped(); reasons) {\n        ++scoped_state-\u003eprevious_packet_dropped_count;\n        RecordDataLossCauses(scoped_state, reasons);\n      }\n    }\n```\n\n- TBv3 drains staging into bundles during the trace, so \u0027a\u0027 was already\n  read and \u0027b\u0027 got the abort. There inserted is false, so\n  ProtoTraceReader counted the metric. It also ran\n  HandlePreviousPacketDropped() on \u0027b\u0027, so it skipped the packets that\n  need incremental state from \u0027b\u0027 up to the drop, even though they were\n  valid.\n\nDropping the !inserted check would make the counters agree, but the\nmarker would stay on the wrong packet. The check is also there for\nTraceBufferV1, which sets previous_packet_dropped on the first packet\nof every sequence even when nothing was lost.\n\nFix\n\nRecord kChunkWriterAbortAfter (0x20) in the spare TBChunk::flags bits\nnext to kChunkIncomplete and kChunkLossBefore. ChunkSeqReader adds\nDATA_LOSS_WRITER_ABORT when it erases the chunk, after reading its\nvalid packets.\n\nEdge cases\n\n- The chunk was scraped before the writer aborted.\n\n    Scrape of chunk 0:  [\u0027a\u0027, \u0027x\u0027 unfinished]  buffer stores [\u0027a\u0027]\n    Commit of chunk 0:  [\u0027a\u0027, drop]            payload is still [\u0027a\u0027]\n\n  ScrapeSharedMemoryBuffers() can copy chunk 0 while the writer is still\n  writing \u0027x\u0027. Because chunk_complete is false, CopyChunkUntrusted()\n  leaves out the last fragment and stores only \u0027a\u0027. The writer then\n  aborts \u0027x\u0027 and commits the chunk.\n\n  The commit brings the abort but no new payload. CopyChunkUntrusted()\n  returns early when a recommit has the same payload size, so set\n  kChunkWriterAbortAfter on the stored chunk before that check.\n\n- The aborted packet started in an earlier chunk.\n\n    Sequence order: [0: \u0027a\u0027, \u0027b\u0027 begin] [1: drop] [2: \u0027d\u0027]\n\n  \u0027b\u0027 continues in chunk 1 and the writer aborts it there. The dropped\n  fragment is the only one in chunk 1, so CopyChunkUntrusted() stores\n  chunk 1 with no payload.\n\n  ReassembleFragmentedPacket() starts at \u0027b\u0027 and finds chunk 1 empty. It\n  used to skip the empty chunk and wait for chunk 2. When chunk 2\n  arrived, \u0027d\u0027 did not continue \u0027b\u0027, so it reported\n  DATA_LOSS_REASSEMBLY_BROKEN_CHAIN on \u0027d\u0027.\n\n  It now checks kChunkWriterAbortAfter on the empty chunk, drops \u0027b\u0027\n  right away and reports DATA_LOSS_WRITER_ABORT on \u0027d\u0027.\n\nKnown limitations\n\n- The writer sets DATA_LOSS_SMB_FULL on the first packet after it\n  recovers, and that is the packet that now gets DATA_LOSS_WRITER_ABORT.\n  The service writes previous_packet_dropped after the producer\u0027s value,\n  so the abort replaces SMB_FULL on every such packet. Until\n  ReadBuffers() merges both bitmasks, traced_buf_data_loss_smb_full\n  misses every loss that starts with kPacketSizeDropPacket.\n\n- If the writer never writes another packet, nothing reports the abort.\n  Before this change an older unread packet reported it.\n\n- If the buffer overwrites the scraped copy from the first edge case\n  before the commit arrives, CopyChunkUntrusted() discards the commit,\n  because it has no new payload, and the abort is lost with it. The\n  writer still sets previous_packet_dropped on its next packet.\n\nBug: 587941384"
    },
    {
      "commit": "0a866e01b867aeef5bdb5df365c989074a9d5a94",
      "tree": "73eae58b2aa96d50c556f7f0cbe813399e0a9205",
      "parents": [
        "f98fd37411f2096b4eb382922511c485926db6e4"
      ],
      "author": {
        "name": "Kean Mariotti",
        "email": "keanmariotti@google.com",
        "time": "Sat Nov 28 14:01:27 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 14:01:27 2026"
      },
      "message": "protovm: cache decoded program (2) (#8528)\n\nAdd Program and Instruction data structures representing the decoded\nin-memory format of a VmProgram proto."
    },
    {
      "commit": "f98fd37411f2096b4eb382922511c485926db6e4",
      "tree": "ce2bf5fde2de33480185c3ea8bc7dcba7174e5ce",
      "parents": [
        "869d787fff5507859c155c2588c356beccf608f7"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Fri Nov 27 21:40:26 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 21:40:26 2026"
      },
      "message": "optimise zstd compression in ReadBuffers() (#8960)\n\n- Keep one ZstdPacketCompressor per read on TracingSession, instead of a\nnew zstd context per ReadBuffers() batch. Free it when the read ends,\nstops early or its consumer detaches.\n- Pledge the exact batch size so zstd sizes its tables and window for\nthe batch, not for a large unknown input.\n- Gather inputs up to 4 KiB before calling ZSTD_compressStream2(), to\ncut the number of zstd calls per packet.\n- Cap output slices at ZSTD_compressBound() of the batch and skip their\nzero-fill.\n- Reuse one compressor per run in compression_benchmark, so it measures\nthe same reuse as ReadBuffers(). Median zstd time per batch:\n  - 1-64 packets are 6-90% faster.\n- 512-4096 packets are within 2%, except TrackEvent, whose small packets\nmake it 21-35% faster.\n\nBug: 587942009"
    },
    {
      "commit": "869d787fff5507859c155c2588c356beccf608f7",
      "tree": "13f1e3480d89a7cd33e72a31443ba6dada8e3d4f",
      "parents": [
        "7ab5ee350f74c78caa3ffadf3de619474ef2fd24"
      ],
      "author": {
        "name": "Ikram Gabiyev",
        "email": "ikram20011127@gmail.com",
        "time": "Fri Nov 27 20:34:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 20:34:25 2026"
      },
      "message": "tp: android.cujs: keep jank CUJs whose frames don\u0027t draw (#8967)\n\nandroid_sysui_jank_cujs computed CUJ boundaries from\n_android_distinct_frames_in_cuj, which only keeps vsyncs that have a\nChoreographer#doFrame, a RenderThread DrawFrame and an app actual frame\ntimeline slice. Frames that only apply SurfaceControl transactions (WM\nShell transitions on wmshell.main / wmshell.anim) or skip drawing\n(\"Frame skipped: NothingToDraw\") have no DrawFrame or no timeline slice,\nso CUJs made of them were dropped, and CUJs with a few such frames were\ntruncated (e.g. a 340 ms LAUNCHER_OVERVIEW_TASK_DISMISS reported as 10\nms). android_jank_latency_cujs and android_cuj_blocking_calls inherited\nthis.\n\nBuild android_sysui_jank_cujs from android_jank_cuj and the existing\n_android_jank_cuj_main_thread_cuj_boundary instead, which uses every\ndoFrame on the CUJ\u0027s UI thread. CUJs with no doFrame fall back to the\nCUJ slice bounds, and a missing #UIThread marker falls back to the\nprocess main thread, matching _android_jank_cuj_do_frames.\n\nCUJs whose doFrames all draw are unchanged: on 6 lab traces (desktop\nmode, launcher, notification shade, heads-up) all 18 such CUJs keep the\nsame ts and ts_end. 10 previously missing CUJs now show up and 8\ntruncated ones get their full length. The column docs now describe the\nboundaries the table actually computes (ts_end has always been the end\nof the last doFrame, not of the last actual frame).\n\nOne expected output changes. In\nandroid_blocking_calls_on_jank_cuj_metric.out, SHADE_ROW_EXPAND goes\nfrom 702 ms to 802 ms. This CUJ is an instance of the bug: its last\ndoFrame (vsync 160, 800-802 ms) has a DrawFrame but no actual timeline\nslice, so the old boundary stopped at the previous doFrame (vsync 150,\nending at 702 ms). With the full window, DrawFrames 150 (701.2-715 ms)\nis no longer clipped to 0.8 ms and DrawFrames 160 (1 ms) is counted,\nhence DrawFrames cnt 15 -\u003e 16, total 84.8 -\u003e 98.8 ms and min 0.8 -\u003e 1.0\nms. No other test output changes.\n\nTest: tools/diff_test_trace_processor.py out/linux/trace_processor_shell\nBug: 581737909\nChange-Id: Ief87347a527d9dde3351ed2fa1d160b78e9b19ee\n\nCo-authored-by: Ikram Gabiyev \u003cgabiyev@google.com\u003e"
    },
    {
      "commit": "7ab5ee350f74c78caa3ffadf3de619474ef2fd24",
      "tree": "6d3acacbc3d5e4c0903497d39704a8ae0d52dfbe",
      "parents": [
        "632722bed1623d8eb2a734fba0156a32e5b3ed17"
      ],
      "author": {
        "name": "Arnav Garg",
        "email": "107744638+gargarnav@users.noreply.github.com",
        "time": "Fri Nov 27 19:31:54 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:31:54 2026"
      },
      "message": "ui: drop localhost from the extension\u0027s externally_connectable (#8920)\n\nFollow-up to #7459. That one removed the `*.perfetto.dev` wildcard, but\n`*://localhost/*` and `*://127.0.0.1/*` were still in\n`externally_connectable`, and Chrome match patterns can\u0027t be limited to\na port. So any page on any local port could `chrome.runtime.connect()`\nto the extension, and since `onConnectExternal` doesn\u0027t check who\u0027s\nconnecting, that page could drive `chrome.debugger` and record a\nbrowser-wide trace, same as the UI. Some random dev server or a local\ntool with an XSS is enough.\n\nI reported this to the Chrome VRP in\nhttps://issuetracker.google.com/issues/574183944. It was closed as not\nsevere enough to track as a security bug, so I\u0027m sending the fix as a\nnormal PR like I said I would on the issue.\n\nThis drops both entries from `manifest.json`, so Chrome won\u0027t let local\npages connect at all. For local UI dev you can add localhost back to an\nunpacked build.\n\nThe first version did a runtime `sender.origin` check in `index.ts`\ninstead, switched to this after review.\n\n### Testing\n\nLoaded the extension in Chrome for Testing 158 and connected from a\nblank local page:\n\n- pages on `127.0.0.1:48123` and `localhost:10000` don\u0027t get\n`chrome.runtime` at all\n- with `*://localhost/*` added back to an unpacked build, a page on\n`localhost:10000` connects and gets replies to `ExtensionVersion` and\n`GetCategories`"
    },
    {
      "commit": "632722bed1623d8eb2a734fba0156a32e5b3ed17",
      "tree": "62d5759ec9a4beb83e236899fe59d0887809db1f",
      "parents": [
        "f18b4ef28445471c9dbbd1291ad45d5e6ce6329d"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Fri Nov 27 19:21:08 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:21:08 2026"
      },
      "message": "ui: Intelletto: Add stdlib-aware SQL discovery tools (#8924)\n\nReplace `get_schema` with two single-purpose tools backed by trace\nprocessor\u0027s `__intrinsic_stdlib_objects` catalog so the assistant can\ndiscover stdlib tables, views, functions, and macros (and the module to\n`INCLUDE`) without guessing. This makes query tool calls a lot more\naccurate.\n\n- `find_sql_objects(search?)`: keyword search over stdlib objects and\nruntime-created tables, each with a one-line description and required\n`INCLUDE`. With no search, lists the always-available prelude tables and\nany runtime tables.\n- `describe_sql_object(name)`: full documentation (columns/args/return\ntype and `INCLUDE`) for an object, the contents of a module, or the live\ncolumns of a runtime-created table.\n\n`get_schema` only inspected `sqlite_schema`, which misses tables from\nun-included modules as well as all functions and macros.\n\nAlso adds stdlib guidance to the system prompt (core tables, common\nmodules, `utid`/`upid`, `dur \u003d -1`) and updates the Data Explorer graph\nformat docs to point at the new tools."
    },
    {
      "commit": "f18b4ef28445471c9dbbd1291ad45d5e6ce6329d",
      "tree": "30033b4da34228299403361baab8e094f678e837",
      "parents": [
        "d08788d823f03356ab26a042347e488e4b0223e6"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Fri Nov 27 19:21:07 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:21:07 2026"
      },
      "message": "ui: Persist Intelletto conversation history in IndexedDB (#8923)\n\nPersist Intelletto conversations (transcript, agent history, model, and\ntoken usage) across sessions and add UI controls to manage them:\n\n- **Storage:** store conversations in IndexedDB (`ConversationStore`) as\nindividual records keyed by `id` and indexed by `updatedAt`, validated\nper-record on hydration and written through asynchronously via a\nserialized write queue (avoiding the 5 MB `localStorage` quota and\nmain-thread serialization overhead).\n- **Switching \u0026 per-conversation model:** add a conversation switcher\ndropdown in the chat panel toolbar; each conversation tracks its own\nmodel, and picking a model applies to the current conversation while\nupdating the default for new conversations.\n- **Rename \u0026 delete:** add toolbar controls to rename conversations\n(custom title overriding the derived title; empty reverts) and delete\nthem with confirmation, disabled while a turn is in flight or before the\nconversation is saved."
    },
    {
      "commit": "d08788d823f03356ab26a042347e488e4b0223e6",
      "tree": "f487c6c2f9c991dce6bfe3db7b836d8346b95855",
      "parents": [
        "2681f1735b24c59e36e19937ae682d54f776ec7f"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Fri Nov 27 19:21:07 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:21:07 2026"
      },
      "message": "ui: Persist Intelletto side panel and session across traces (#8922)\n\nRegister Intelletto in `onActivate` instead of `onTraceLoad` so the\nassistant is available before a trace is loaded and persists across\ntrace switches.\n\nThis opens up the possibility of using the agent to record and switch\ntraces.\n\n- Tools, context providers, and the system prompt resolve dynamically\nagainst the currently loaded trace (falling back to app-level context\nwhen no trace is open).\n- Include the current trace title in prompt context so the model knows\nwhen the user switches traces.\n- Cancel any in-flight turn on trace switch or unload."
    },
    {
      "commit": "2681f1735b24c59e36e19937ae682d54f776ec7f",
      "tree": "cc8a524aeb0b3b6c302a7460f9d8ca5d460bad51",
      "parents": [
        "b3efd3ca7ed2424c423c47a4c0a5b6707be70770"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Fri Nov 27 19:21:07 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:21:07 2026"
      },
      "message": "ui: Intelletto: QoL improvements (#8921)\n\nSeveral QoL improvements to the Intelletto sidebar panel.\n\n- Prompt box: Multi line and auto resizing.\n- Model picker: Moved from header to prompt box next to the send button\n+ add a \u0027Configure models...\u0027 option linking to the settings page (with\n`href` link support on `MenuItem`).\n- Markdown hardening: Disable raw HTML and images to prevent the model\nfrom injecting code into the DOM.\n- Table formatting: Fenced `datagrid` tables rendered in a DataGrid.\n- Code blocks are rendered inside a CodeSnippet widget.\n- Queued followups: Messages sent while the model is running are queued\nand sent after the current turn has completed. They can be sent\nimmediately, or dropped.\n- Retry button: If a turn goes wrong, add a retry button on the error\nmessage to try again.\n- Eagerly load skills at plugin activation time, and show a spinner\nwhile skills are loading.\n- Modernised styling.\n- Internal cleanup: Make ChatPanel a stateless component and extract\nPromptBox + add fixtures for both for testing."
    },
    {
      "commit": "b3efd3ca7ed2424c423c47a4c0a5b6707be70770",
      "tree": "b9e91b21d9042f48d6a1488c84e98b7c4a50180f",
      "parents": [
        "443614cf9710bb894f9bea4e92b844837bf3a998"
      ],
      "author": {
        "name": "etiennep-chromium",
        "email": "etiennep@chromium.org",
        "time": "Fri Nov 27 19:15:45 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:15:45 2026"
      },
      "message": "tp: Fix Convert to .json / Switch to legacy UI  (#8956)\n\nFixes Convert to .json / Switch to legacy UI trapping in 32-bit\ntraceconv.wasm (RuntimeError: memory access out of bounds in ExportJson,\nregressed in #6894).\n\nBecause TraceProcessorImpl inherits non-virtually from both\nTraceProcessor and TraceProcessorStorageImpl, passing a TraceProcessor*\nto json::ExportJson(TraceProcessorStorage*, ...) causes its\nreinterpret_cast\u003cTraceProcessorStorageImpl*\u003e to invoke UB (accidentally\nworking on 64-bit, but crashing on 32-bit Wasm).\n\nAlternative to #7652 that keeps public include/perfetto/trace_processor/\nheaders untouched:\n\nAdd a json::ExportJson(TraceProcessor*, ...) overload in\ninclude/perfetto/ext/trace_processor/export_json.h, implemented in\nsrc/trace_processor/trace_processor.cc via\nstatic_cast\u003cTraceProcessorImpl*\u003e.\nAdd a TraceToJson integration test.\n\nBug: b/564874453\nBug: b/566969314"
    },
    {
      "commit": "443614cf9710bb894f9bea4e92b844837bf3a998",
      "tree": "87c1c4c16b326d24a81230ba965fd45b62cdb8e3",
      "parents": [
        "cf332e8c61f494832a93ce8aaa822d71bbf49203"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Fri Nov 27 19:03:04 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:03:04 2026"
      },
      "message": "perfetto: restore ConstraintWithList alias in trace_uri_resolver (#8964)\n\n#8952 removed the ConstraintWithList type alias from\ntrace_uri_resolver/resolver.py as it appeared unused.\n\nHowever, it is imported by external resolvers (e.g. the Google-internal\nChrometto resolver), which use it in __init__ type hints and inspect its\nUnion structure at runtime via get_type_hints(). Its removal causes an\nImportError and breaks the Perfetto autoroll.\n\nRestore the alias with its original definition to unblock autoroll"
    },
    {
      "commit": "cf332e8c61f494832a93ce8aaa822d71bbf49203",
      "tree": "f1ccb6bed6faade5e4601938f0f35eff10a602b3",
      "parents": [
        "a7a0376659349646c76fc2c78d6cb809735a7990"
      ],
      "author": {
        "name": "Primiano Tucci",
        "email": "primiano@google.com",
        "time": "Fri Nov 27 17:23:25 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 17:23:25 2026"
      },
      "message": "blog: Add blog link to home page (#8970)"
    },
    {
      "commit": "a7a0376659349646c76fc2c78d6cb809735a7990",
      "tree": "3bb05ee7a1747f5c431fa8ffad444acfeadb1c32",
      "parents": [
        "d1283d113bfb8d6fc5303b29ed895c1769b78852"
      ],
      "author": {
        "name": "zezeozue",
        "email": "zezeozue@google.com",
        "time": "Fri Nov 27 17:03:46 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 17:03:46 2026"
      },
      "message": "android_sdk: add byte[] addField overload to PerfettoTrackEventBuilder (#8788)\n\nPERFETTO_TE_HL_PROTO_TYPE_BYTES and PerfettoTeHlProtoFieldBytes already\nexist in the C SDK HL ABI and shared lib, but PerfettoTrackEventBuilder\nhad no byte[] overload and addField(long, String) runs through\nStringBuffer::utf16_to_ascii, which mangles bytes \u003e 0xFF and stops at\nNUL.\n\nPlumb addField(long id, byte[] val) through Field and JNI into\nfield_bytes, copying the array into ProtoField\u0027s owned buffer so the\ndata stays live until emit() and survives nested emits on the same\nthread.\n\nThis unblocks Java processes from using the android.screenshots data\nsource which accepts a byte array as the screenshot"
    },
    {
      "commit": "d1283d113bfb8d6fc5303b29ed895c1769b78852",
      "tree": "1d0b1991809882422c7367bc23990c2f3f0feeaa",
      "parents": [
        "ddd2dc62408b3ee278727a0a8cef694a115405c4"
      ],
      "author": {
        "name": "gignat-dev",
        "email": "gignat@google.com",
        "time": "Fri Nov 27 15:14:19 2026"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 15:14:19 2026"
      },
      "message": "stdlib + ui: add OOM score transitions and details to ProcessState (#8819)\n\nArea selections over the OOM score lanes showed no tab, and clicking a\nlane selected nothing. Add OOM Score Transitions, listing each score\nchange with the previous and current scores, how long each lasted, and\nthe OomAdjuster reason. Clicking a score shows the same details for that\nchange. _android_process_oom_scores now keeps the reason and an id."
    }
  ],
  "next": "ddd2dc62408b3ee278727a0a8cef694a115405c4"
}
