)]}'
{
  "log": [
    {
      "commit": "5b3620e311d337dcffa642f994ae2fafe233372a",
      "tree": "94a5690ec0734fe6c238bdaeebccc4f602d4991a",
      "parents": [
        "c70be5ad3d9487440448d2712547ba0b15de939c"
      ],
      "author": {
        "name": "etiennep-chromium",
        "email": "etiennep@chromium.org",
        "time": "Mon Nov 30 14:16:27 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 14:16:27 2026 -0500"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 18:19:54 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 18:15:04 2026 +0000"
      },
      "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 18:27:28 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 17:27:28 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 14:51:15 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 13:21:10 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 13:05:10 2026 +0000"
      },
      "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 20:22:32 2026 +0900"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 11:22:32 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 11:16:00 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Mon Nov 30 11:16:00 2026 +0000"
      },
      "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 15:17:37 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 15:17:37 2026 -0800"
      },
      "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 14:26:25 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:25 2026 +0000"
      },
      "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 14:26:25 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:25 2026 +0000"
      },
      "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 14:26:25 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:25 2026 +0000"
      },
      "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 14:26:24 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:24 2026 +0000"
      },
      "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 14:26:24 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:24 2026 +0000"
      },
      "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 14:26:24 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:24 2026 +0000"
      },
      "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 14:26:23 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 22:26:23 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 19:44:55 2026 +0000"
      },
      "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 15:01:27 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Sat Nov 28 14:01:27 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 21:40:26 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 20:34:25 2026 +0000"
      },
      "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": "Sat Nov 28 01:01:54 2026 +0530"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:31:54 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:21:08 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:21:07 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:21:07 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 19:21:07 2026 +0000"
      },
      "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 14:15:45 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 14:15:45 2026 -0500"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 11:03:04 2026 -0800"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 17:23:25 2026 +0000"
      },
      "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 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 17:03:46 2026 +0000"
      },
      "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 17:14:19 2026 +0200"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 15:14:19 2026 +0000"
      },
      "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."
    },
    {
      "commit": "ddd2dc62408b3ee278727a0a8cef694a115405c4",
      "tree": "6851b1bc1c9e37bc4e6192175fb909bdc38c4fc8",
      "parents": [
        "9b375dbaed6b54509e6cf0924fe7ad3b95328e0b"
      ],
      "author": {
        "name": "Kean Mariotti",
        "email": "keanmariotti@google.com",
        "time": "Fri Nov 27 15:58:24 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 14:58:24 2026 +0000"
      },
      "message": "protovm: cache decoded program (1) (#8527)\n\nMove ExtractBytes() from vm_benchmark.cc to test/utils.h and\ntest/utils.cc so it can be shared across benchmarks and unit tests."
    },
    {
      "commit": "9b375dbaed6b54509e6cf0924fe7ad3b95328e0b",
      "tree": "11eba376bd4f7d38425f0685c8bf715e9c763bf0",
      "parents": [
        "973ba11b97a5ab8bb1f0bcbf8a05791e46a21b2c"
      ],
      "author": {
        "name": "gignat-dev",
        "email": "gignat@google.com",
        "time": "Fri Nov 27 16:50:35 2026 +0200"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 14:50:35 2026 +0000"
      },
      "message": "ui: group ProcessState By process tracks by package (#8730)\n\nGroup `Process states \u003e By process` timelines by package by default\n(`Package: \u003cpkg\u003e` -\u003e `Process: \u003cname\u003e | PID: \u003cpid\u003e`), with a command to\nalso split by user (`User: \u003cid\u003e` -\u003e `Package: \u003cpkg\u003e` -\u003e process).\n\n`By process`, user and package rows show the most important state among\ntheir processes over time, also while expanded. `By process` and user\nrows ignore PERSISTENT and PERSISTENT_UI, which would otherwise hide all\nother states."
    },
    {
      "commit": "973ba11b97a5ab8bb1f0bcbf8a05791e46a21b2c",
      "tree": "ca68672e39026016c17baf991e66289b10a3a98d",
      "parents": [
        "6df7324fa99281522b07d27bf9ac82bb71497f77"
      ],
      "author": {
        "name": "gignat-dev",
        "email": "gignat@google.com",
        "time": "Fri Nov 27 16:42:28 2026 +0200"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 14:42:28 2026 +0000"
      },
      "message": "stdlib + ui: add freezer and capability tabs to ProcessState (#8720)\n\nArea selections over the freezer lanes, the FROZEN and UNFROZEN\ncounters, or the capability tracks showed no tab. Add Freezer Residency,\nFreezer Transitions and Capability Residency, sharing one residency\naggregator. _android_freezer_intervals now keeps the unfreeze reason,\nshown in the transitions and the freezer slice details, and how long the\nprevious state lasted."
    },
    {
      "commit": "6df7324fa99281522b07d27bf9ac82bb71497f77",
      "tree": "00f23b344ac8e8b41694cb64b91c8530a9cbfb7a",
      "parents": [
        "0f8b34a06af4e589116b0a8eaf7e157bff234a60"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Fri Nov 27 14:36:00 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 14:36:00 2026 +0000"
      },
      "message": "ui: Right align sidebar item chips (#8941)\n\nSome sidebar entries have chips - e.g. features that are in preview.\nThey sit awkwardly at the end of the title. This patch right aligns\nthem. Pure visual tweak.\n\n\u003cimg width\u003d\"984\" height\u003d\"952\" alt\u003d\"chips-aligned\"\nsrc\u003d\"https://github.com/user-attachments/assets/e5e32cb5-f38e-45d4-bf89-494588c790ef\"\n/\u003e"
    },
    {
      "commit": "0f8b34a06af4e589116b0a8eaf7e157bff234a60",
      "tree": "f22b261ed8684e857f3703962812fc22808ad739",
      "parents": [
        "a002a0091c81f5ea3e43153d3b410fe774c1f7f5"
      ],
      "author": {
        "name": "Parth Sane",
        "email": "parthsane@gmail.com",
        "time": "Fri Nov 27 14:35:16 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 14:35:16 2026 +0000"
      },
      "message": "tp: warn on invalid Android proc_state and freezer start times (#8718)\n\nAndroid proc_state and freezer events/snapshots carry CLOCK_BOOTTIME\nstart timestamps (`prev_proc_state_start_ns`, `proc_state_start_ns`,\n`unfrozen_start_ns`, `frozen_start_ns`) that trace processor drops\nwhen negative or later than the reporting event or snapshot.\n\nWarn when these are dropped."
    },
    {
      "commit": "a002a0091c81f5ea3e43153d3b410fe774c1f7f5",
      "tree": "c218a9f6b08bc4a0010c53cc73fd4415fc2c8928",
      "parents": [
        "76ca491635d294515637aa9a7ea84bcbd3c84a5b"
      ],
      "author": {
        "name": "copybara-service[bot]",
        "email": "56741989+copybara-service[bot]@users.noreply.github.com",
        "time": "Fri Nov 27 14:11:25 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 14:11:25 2026 +0000"
      },
      "message": "Copybara import from Chromium: proto and stdlib changes (#8830)\n\nCopybara import from Chromium: proto and stdlib changes\n\n- 99e76b624a33d9079fe4ae2aac8a34779ccb42e8 Delete\nbase::MemoryPressureListener by Patrick Monette \u003cpmonette@chromium.org\u003e\n\nCOPYBARA_IMPORT\u003dProject import generated by Copybara.\n\nGitOrigin-RevId: 99e76b624a33d9079fe4ae2aac8a34779ccb42e8\n\nCo-authored-by: Perfetto Team \u003ccopybara-servicebot@google.com\u003e"
    },
    {
      "commit": "76ca491635d294515637aa9a7ea84bcbd3c84a5b",
      "tree": "d5b61742c1ac54ef26a56198fb7cb08bd37f2e90",
      "parents": [
        "16f86340ebfd593f902dd96da6cbe36be483df4c"
      ],
      "author": {
        "name": "Parth Sane",
        "email": "parthsane@gmail.com",
        "time": "Fri Nov 27 13:11:24 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 13:11:24 2026 +0000"
      },
      "message": "tp: ingest Android process_state_died and exact freezer start times (#8511)\n\nIngest AndroidProcessStateDiedEvent (2023) so that processes that die\nbefore the end-of-trace dump without changing state during the trace can\nrecover their initial process state from the died event\u0027s prev_* fields."
    },
    {
      "commit": "16f86340ebfd593f902dd96da6cbe36be483df4c",
      "tree": "357f12f6838e290b4de1e02c24e385ee4119bb4b",
      "parents": [
        "83bebe8323ff2eac06c666f733f815399cb83082"
      ],
      "author": {
        "name": "Parth Sinha",
        "email": "41264578+sinhaparth5@users.noreply.github.com",
        "time": "Fri Nov 27 12:33:45 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 04:33:45 2026 -0800"
      },
      "message": "tp: decode ART method v2 traces in AOSP ART\u0027s record layout (#8942)\n\nFixes #8939\n\nAOSP ART writes V2 records as `SLEB(Δ method_ptr|action)`, `ULEB(Δ\nwall_ns)`, `[ULEB(Δ thread_cpu_ns)]` and leaves the header TSC fields\nzeroed. When `tsc_frequency \u003d\u003d 0`, the tokenizer now decodes that\nlayout. Otherwise the existing path runs unchanged. Testing: added the\n`ArtMethodParser:art_method_v2_aosp_layout` diff test, whose trace\ngenerator follows `FlushEntriesFormatV2`. All 6 `ArtMethodParser` diff\ntests pass on a release build of `trace_processor_shell`."
    },
    {
      "commit": "83bebe8323ff2eac06c666f733f815399cb83082",
      "tree": "005a05d3b154bcb0d93b4a02740a753601106817",
      "parents": [
        "8d6ddaaac3426b8a6fc5ea794fb22438f3490631"
      ],
      "author": {
        "name": "Parth Sane",
        "email": "parthsane@gmail.com",
        "time": "Fri Nov 27 11:28:11 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 11:28:11 2026 +0000"
      },
      "message": "tp: ingest initial Android proc_state timestamp with proc_state_start_ns (#8388)\n\nIn ring-buffer and AOT traces, the event that entered a process state is\noften lost. Trace Processor previously extended the first observed state\nback to process start or trace start. system_server now records when\neach state began, providing proc_state_start_ns in process state dumps\nand prev_proc_state_start_ns in deltas.\n\nExpose the start of the initial proc_state as state_start_ts in\nAndroidProcessStateTable (__intrinsic_android_process_state):\n- The values are CLOCK_BOOTTIME and are converted to trace time with the\nclock tracker; values that can\u0027t be converted are dropped (the clock\ntracker records the conversion error stat).\n- For processes with change events, the start always comes from the\nearliest delta, even when that delta has none (system_server omits\nprev_proc_state_start_ns when it is 0, e.g. on the first transition out\nof NONEXISTENT). The trace-stop snapshot\u0027s proc_state_start_ns is the\nstart of the last state and must not leak into the initial row.\n\n_android_process_state_intervals starts the initial interval at\nstate_start_ts when known. Like the other initial intervals, it is\nclamped to the process start anchored at trace start, and it is capped\nat the process\u0027s first change event. A state_start_ts after the first\nchange event is invalid and treated as unknown. Change rows are not\naffected. The ts of initial rows stays NULL, so the capability and OOM\nscore initial intervals keep their existing anchoring.\n\nprev_proc_state_start_ns on AndroidProcessStateDiedEvent is handled in\nthe follow-up that ingests that event."
    },
    {
      "commit": "8d6ddaaac3426b8a6fc5ea794fb22438f3490631",
      "tree": "3d14b3674d4792d094e332774b52711e0b680eec",
      "parents": [
        "8ae8be5f11534b7459ed18600c19ffefe3254887"
      ],
      "author": {
        "name": "Etienne Cordonnier",
        "email": "ecordonnier@snap.com",
        "time": "Fri Nov 27 11:48:33 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 10:48:33 2026 +0000"
      },
      "message": "shlib: make PerfettoTeInit idempotent and thread-safe (#8706)\n\nPerfettoTeInit() registered the track_event data source on every call\nwithout synchronization. TracingMuxerImpl::RegisterDataSource must not\nrun concurrently, so concurrent calls (e.g. several libraries in one\nprocess each initializing track events) raced on the data source static\nstate, and repeated calls logged \"registration ignored\".\n\nSerialize callers with a mutex and return early if the data source is\nalready registered. Check the registration state rather than using a\nonce flag: ResetForTesting() clears the registration and the tests call\nPerfettoTeInit() again after it, which a once flag would skip.\n\nDocument in the ABI header that the function is safe to call repeatedly\nand from multiple threads.\n\nAdd a test that races the first registration across threads after\nResetForTesting(). It passes without the fix in a regular build; under\nTSAN it reports data races in DataSourceType::Register without the fix\nand none with it.\n\nSigned-off-by: Etienne Cordonnier \u003cecordonnier@snap.com\u003e"
    },
    {
      "commit": "8ae8be5f11534b7459ed18600c19ffefe3254887",
      "tree": "dda614eaa0af1afeed674c494ed0c36b7bb45dee",
      "parents": [
        "42cd5a93b0f43574e6cf42a075931bd659589948"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Fri Nov 27 11:30:48 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 10:30:48 2026 +0000"
      },
      "message": "perfetto: Fix Pyrefly default-preset errors in `trace_uri_resolver` and `batch_trace_processor` (#8952)\n\nFollowing #8947, and analogous to #8945, here\u0027s the second batch of type\nerror fixes that show up when using the preset \u003d \"default\" Pyrefly\nconfig.\n\nFor purposes of type-narrowing, I added some `assert _ is not None`\nstatements here and there, which should not change any behavior because\nright after, `None` would have lead to a crash regardless.\n\nSince `perfetto` requires Python 3.9+, PEP 585 syntax can be used,\nmeaning we can write e.g. `list[T]` instead of `typing.List[T]` (which\nis deprecated even). I left such pre-existing legacy typeforms alone\nthough, but if you want, I could open a PR that modernizes the\n`perfetto` type annotations as a whole. We could modernize the\nannotations even further if Python 3.9 and 3.10 were to be dropped (both\nof which are [EOL](https://devguide.python.org/versions/), btw, so\nthey\u0027re not receiving security updates anymore)."
    },
    {
      "commit": "42cd5a93b0f43574e6cf42a075931bd659589948",
      "tree": "0ea4edfd7f9660a7f81f9db362256169b94c470b",
      "parents": [
        "f344ac7551794778a7fb87788836a0a5f74524a5"
      ],
      "author": {
        "name": "Elisa Tai",
        "email": "47915194+zytyz@users.noreply.github.com",
        "time": "Fri Nov 27 02:36:18 2026 -0700"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 09:36:18 2026 +0000"
      },
      "message": "ui: Agent skills for Intelletto (#8266)\n\nThis lets Intelletto use the Perfetto agent skill (`ai/skills/perfetto`)\nthe\nsame way coding agents use skills: only the name and description sit in\nthe\nprompt, and the agent reads the rest when it needs it.\n\nThe UI build runs `tools/gen_skill_bundle.py` with the UI adapter\n(`environment-references/ui.md`) and `--layout index`, and serves the\nresult\nnext to the other assets. `App.skills` lists the skills and reads one\nfile at\na time. Intelletto gets three tools: `load_skill`, `read_skill_file` and\n`run_skill_sql`. Compared to a CLI agent:\n\n| | CLI agent harness | Intelletto |\n|---|---|---|\n| Always in the prompt | name and description of each skill (and the\npath of `SKILL.md`) | a \"Skills:\" section in the system prompt, with one\n`- \u003cname\u003e: \u003cdescription\u003e` line per skill |\n| When a task matches | the agent reads `SKILL.md`, and finds other\nfiles through links or `ls` | `load_skill(name)` returns `SKILL.md` and\nthe skill\u0027s file list (paths and sizes) |\n| When a file is needed | the agent reads it, or runs `trace_processor\nquery --query-file \u003cpath\u003e` | `read_skill_file(name, path)`, or\n`run_skill_sql(name, path)` on the open trace |\n\n#8411 builds on this to load skills from extension servers."
    },
    {
      "commit": "f344ac7551794778a7fb87788836a0a5f74524a5",
      "tree": "6af08b9d8e4c3b1b8099135b045bb1f38830bc98",
      "parents": [
        "6f1570112927dce4d9752c3679a4b32b9a2b2a64"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Fri Nov 27 02:39:31 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 01:39:31 2026 +0000"
      },
      "message": "perfetto: Fix Pyrefly \"default\" preset errors in `trace_processor` (#8945)\n\nAs promised in #8880, here\u0027s the first batch of typing fixes that show\nup when using the `preset \u003d \"default\"` Pyrefly config.\nThe new `types-protobuf` requirement is necessary because `protobuf`\nitself does not have typing support, and instead relies on typeshed to\nmaintain their stubs externally. Without it, Pyrefly will warn about\nuntyped imports, and will make type-checking the related code less\nuseful in general."
    },
    {
      "commit": "6f1570112927dce4d9752c3679a4b32b9a2b2a64",
      "tree": "b7ec0834e602612b84e231ada4f1259732024a22",
      "parents": [
        "eb2f371be5c1c5e84823f3137de5c055decf8acf"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Thu Nov 26 17:28:23 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Fri Nov 27 01:28:23 2026 +0000"
      },
      "message": "ui: memscope: reuse paired WebUSB devices and share AdbKeyManager (#8801)\n\n`ConnectionPage` previously instantiated a fresh `AdbKeyManager` per\nmount (discarding the cached in-memory ADB key as soon as the page\nunmounted after connecting) and unconditionally called\n`navigator.usb.requestDevice()` on every connect instead of enumerating\nalready-paired devices.\n\n- Export a shared `adbKeyManager` instance and use it in both\n`ConnectionPage` and `AdbWebusbTargetProvider` so the in-memory ADB key\npersists across page unmounts/remounts and is shared across plugins.\n- Query `navigator.usb.getDevices()` on mount and on USB\n`connect`/`disconnect` events in `ConnectionPage`, allowing one-click\nreconnect to already-paired devices without re-opening the WebUSB\nchooser, while keeping a button to pair a new device.\n- Close the `AdbDevice` in `LiveSession.dispose()` so disconnecting\ncleanly releases the claimed USB interface.\n\nTests: new `connection_jsdomtest.ts` covering paired device enumeration,\none-click reconnect without `requestDevice`, hotplug events, listener\ncleanup, and shared `AdbKeyManager` reuse across remounts."
    },
    {
      "commit": "eb2f371be5c1c5e84823f3137de5c055decf8acf",
      "tree": "e864e846af87d3f973467de744b499c83d96a639",
      "parents": [
        "3a5639baaf22f4c173d46994b3137b689558d4a9"
      ],
      "author": {
        "name": "Pablo Gamito",
        "email": "pablogamito@google.com",
        "time": "Fri Nov 27 00:58:45 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 16:58:45 2026 -0800"
      },
      "message": "tp: Track duplicate ProtoLog viewer config dumps in import logs (#8849)\n\nAdd `winscope_protolog_viewer_config_duplicates` via\n`ImportLogsTracker::RecordTokenizationLog` to record\n`ProtoLogViewerConfig` packets containing redundant `Group` or\n`MessageData` entries, attaching the per-packet serialized duplicate\npayload size in the `duplicate_bytes` arg.\n\n`ProtoLogMessageDecoder::TrackGroup` and `TrackMessage` now return\nwhether an identical entry was already tracked, and `ProtoLogParser`\naccumulates the serialized byte size of duplicate entries per packet."
    },
    {
      "commit": "3a5639baaf22f4c173d46994b3137b689558d4a9",
      "tree": "1e16110a49338d1fe50762fddf530b80fd9e2233",
      "parents": [
        "42087943107c6664f29dd8e99f81c0bdf7356000"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Fri Nov 27 00:57:21 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 16:57:21 2026 -0800"
      },
      "message": "ui: Drive: Enable drive by default for Googlers (#8883)\n\nThis patch adds a new defaultPlugins field to the policy object\ncontaining an additional list of plugins to enable by default.\n\nWhen isInternalUser is true (e.g. when the internal extension server is\navailable, add `dev.perfetto.GoogleDrive` to this list.\n\nThis enables \u0027Share to Drive\u0027 and \u0027Open from Drive\u0027 features for\ninternal users."
    },
    {
      "commit": "42087943107c6664f29dd8e99f81c0bdf7356000",
      "tree": "be32446816f2038de4aee397dfd86989f980e0a0",
      "parents": [
        "2540c97fd1341b08f89e878cd072b1cc1247b45a"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Thu Nov 26 21:27:24 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 21:27:24 2026 +0000"
      },
      "message": "sdk: fix StartBlocking() hang on producer disconnect (#8943)\n\nTracingSession::StartBlocking() and SetOnStartCallback() can hang when a\nproducer disconnects or unregisters a data source during start.\n\nConsumerImpl tracked TYPE_DATA_SOURCES_INSTANCES updates in\ndata_source_states_ and waited until every entry was STARTED. When a\nproducer unregisters before start completes, the service sends STOPPED\nand erases the instance. Because there is no remove event, the entry\nstays STOPPED, so ConsumerImpl ignores all_data_sources_started and\nhangs.\n\nSubscribe only to TYPE_ALL_DATA_SOURCES_STARTED and delete\ndata_source_states_. The service already drops erased instances before\nit sends all_data_sources_started.\n\nThis drops the fallback for pre-Android 11 services (sessions with no\nmatching data sources still need Android 12 / Perfetto v10+). Chromium\u0027s\nPerfettoTracingBackend already supports TYPE_ALL_DATA_SOURCES_STARTED.\n\nBug: 587941572"
    },
    {
      "commit": "2540c97fd1341b08f89e878cd072b1cc1247b45a",
      "tree": "cfc2ee02f2d8d4f88b1168d42af72e69d0f08a8b",
      "parents": [
        "57d330433c0d7c51d09bc6e9a175ab24ddabe763"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Thu Nov 26 22:03:00 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 21:03:00 2026 +0000"
      },
      "message": "perfetto: Fix `BatchTraceProcessor` polars flatten on query failure (#8947)\n\nWhile working fixing some Pyrefly errors in `batch_trace_processor` as\nfollow-up to #8945, I noticed that with\n`xecute_failure_handling\u003dINCREMENT_STAT`, `query_and_flatten_polars()`\nand `execute_and_flatten_polars()` would crash with an `AttributeError`\nwhen a made query failed. This has to do with `pl.concat` not liking\nempty dataframes (I\u0027m guessing because of the missing schema, but I\nhaven\u0027t checked).\n\nThis fixes it by skipping query results of failed queries, using a\n`_QueryFailed` helper class [^1].\n\n[^1]: I also could\u0027ve used an `object()` sentinel for this, but since\n`object` is the *top type*, that would\u0027ve lead to typing issues during\ntype narrowing with `isinstance`."
    },
    {
      "commit": "57d330433c0d7c51d09bc6e9a175ab24ddabe763",
      "tree": "710efd8835a059b10a63f7f8c2f55df77ba22ccc",
      "parents": [
        "789342c2a8b1d48c13c88d08ea823d2825e56a0c"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Thu Nov 26 20:52:02 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 20:52:02 2026 +0000"
      },
      "message": "android_sdk: minor fixes and perf improvements (#8909)\n\nFollow-up optimizations, small fixes and benchmark updates for raw-proto\nJava track events. Trace output does not change.\n\nHot path\n- Split public PerfettoTrackEventBuilder setters into a small enabled\n  check and a private helper so ART can inline disabled call chains.\n- Read final Category.nativePtr() once per event instead of virtual\n  getPtr(). This skips any subclass override of getPtr().\n- Store the owner thread and pool on root builders so same-thread emit()\n  skips a second ThreadLocal lookup.\n- Return child builders to Pool in endProto() and endNested() so sibling\n  nested messages reuse one builder.\n- Mark stack_bytes in emit_with_formats as uninitialized so Android\n  builds do not zero 1 KiB per call. Move PERFETTO_HAS_ATTRIBUTE to\n  include/perfetto/public/compiler.h for this macro.\n\nFixes and cleanups\n- Check mIsCategoryEnabled in setEventName() so disabled events do not\n  write to the shared NO_OP_BUILDER.\n- Build the event once in expensiveDebugCallStack() instead of calling\n  category.isEnabled() before instant().\n- Scan the builder pool from slot 0, update the memory cleaner only when\n  mIsDebug changes, and drop redundant init and release work.\n\nBenchmark\n- Add --format\u003dextras|raw_proto|mixed, --writer\u003dv1|v2,\n  --verified-iters\u003d\u003cn\u003e, args_long_names and proto_interned to\n  PerfettoTraceBenchmark.\n- Pass Maven jars to RunBench() in tools/run_android_sdk_host_test so\n  verified runs can decode traces.\n\nBug: 587941572"
    },
    {
      "commit": "789342c2a8b1d48c13c88d08ea823d2825e56a0c",
      "tree": "aaacc8f13d9f8507e04eb8f34260c76301f55c05",
      "parents": [
        "7238ff5c1066c6eb840fc3b999095b7dbd632d62"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Thu Nov 26 19:06:05 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 19:06:05 2026 +0000"
      },
      "message": "android_sdk: fix protobuf-lite and SMB flake in PerfettoEventFormatTest  (#8946)\n\nDuring rework, [PR ](https://github.com/google/perfetto/pull/8908) tests\ngot meesed a bit.\n\nTwo tests in PerfettoEventFormatTest failed outside the host full-proto\nsetup:\n- callstackNamesMatchExtrasInEveryFormat failed on protobuf-lite builds\nbecause Trace.parseFrom() decodes string fields as UTF-8 and replaces\nraw Latin-1 bytes such as 0xE9 with U+FFFD, so getFunctionNameBytes()\ndid not match the expected ISO-8859-1 bytes. Read Frame.function_name\ndirectly from the raw trace wire bytes instead, and check both EXTRAS\nand RAW_PROTO traces.\n\n- invalidRawProtoEventsAreDroppedWithoutDebugChecks flaked with missing\nevents or missing interned string definitions because the mixed-session\nfallback wrote a 1 MiB event twice into the 1 MiB in-process SMB. Split\nit into :\n     - invalidRawProtoEventsAreDroppedWithoutDebugChecks (RAW_PROTO\nonly, keeping the 1 MiB drop case)\n- mixedFormatsFallBackToExtrasOnRawProtoFailure (verifying the EXTRAS\nfallback payload on a small nested parent-write event).\n\n\nAlso group PerfettoEventFormatTest with constants and types at the top,\ntests by topic in the middle, and private helpers at the bottom."
    },
    {
      "commit": "7238ff5c1066c6eb840fc3b999095b7dbd632d62",
      "tree": "643430cc9cdd0ac2571b33697facd0ca5fa19719",
      "parents": [
        "0feec42100927678468587397c538c75170f0e27"
      ],
      "author": {
        "name": "gignat-dev",
        "email": "gignat@google.com",
        "time": "Thu Nov 26 19:13:01 2026 +0200"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 17:13:01 2026 +0000"
      },
      "message": "ui: MemoryViz: show LMK events for area selections (#8776)\n\nAn area selection over the LMK tracks showed no details. Add an \"LMK\nEvents\" tab that lists the kills in the selection with their process,\nPID, OOM bucket, OOM score adj and kill reason. The ID column selects\nthe event on its OOM bucket track."
    },
    {
      "commit": "0feec42100927678468587397c538c75170f0e27",
      "tree": "6c37b1ca3bb77ec26c233efc9c4104d5329bd221",
      "parents": [
        "3252e3334746fb9a57331782d45d5f86017a1bca"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Thu Nov 26 15:31:50 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:31:50 2026 +0000"
      },
      "message": "android_sdk: serialize Java track events as raw proto fields (#8908)\n\nWhen a session enables experimental_raw_proto_events, serialize\nTrackEvent protobuf fields into a single byte array in Java and pass it\nto the C SDK in one JNI call instead of one call per field. EXTRAS\nsessions keep the existing PerfettoTeHlExtra path.\n\n- PerfettoRawProtoEvent writes built-in fields, debug args, flows,\n  correlation ids and custom proto fields with inline strings (no\n  interning). Nested messages reserve a 1-byte length placeholder and\n  shift payloads only at 128 bytes or more. Invalid inputs (over 1 MiB,\n  bad field numbers, nesting over 64, or writing to a parent/root while\n  a nested message is open) drop the event, throwing only in debug mode.\n- NonMovableByteArrays allocates non-movable arrays via ART\u0027s VMRuntime\n  on the boot classpath (up to 16 KiB), with a host stub for javac.\n  RAW_PROTO-only non-movable events take @CriticalNative\n  native_emit_raw_proto with no JNI copy. Copied buffers and mixed\n  EXTRAS + RAW_PROTO events take @FastNative native_emit_with_formats,\n  shrinking oversized thread-local buffers after use.\n- PerfettoTrackEventBuilder reads Category.getEventFormats() once per\n  event (with a local is_category_enabled() fast-exit in JNI for\n  disabled categories), lazily allocates native extras only when EXTRAS\n  needs them, tracks builder scope and nesting depth explicitly, skips\n  names on counter/slice-end events, and releases pending pointers and\n  event names in releaseAfterEmit().\n- Callers needing addFieldWithInterning() opt into useExtrasFormat()\n  before adding fields. Calling addFieldWithInterning() on RAW_PROTO\n  logs a warning to stderr and omits the field.\n- Adds PerfettoRawProtoEventTest and PerfettoEventFormatTest and wires\n  both into tools/run_android_sdk_host_test.\n\nBug: 587941572"
    },
    {
      "commit": "3252e3334746fb9a57331782d45d5f86017a1bca",
      "tree": "e393b92d65cf73a7f1ff24502b9a34ac12f7ffc2",
      "parents": [
        "74fbab5c74a92195322f25c3287abf6dfb275964"
      ],
      "author": {
        "name": "elrakadm",
        "email": "elrakadm@google.com",
        "time": "Thu Nov 26 15:25:08 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 07:25:08 2026 -0800"
      },
      "message": "Reserve extension for TraceMetricV2Spec.DimensionSpec (#8935)\n\nReserve extension for TraceMetricV2Spec.DimensionSpec\n\nto add additional custom metadata on vendor side"
    },
    {
      "commit": "74fbab5c74a92195322f25c3287abf6dfb275964",
      "tree": "bfe6bf4d581abd314eb897cf7b5a1d0ed18f9675",
      "parents": [
        "7e55ff6fc1da3184bc06ed90a00a27cb55d8ce41"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Thu Nov 26 16:24:55 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 15:24:55 2026 +0000"
      },
      "message": "perfetto: Type-checking Python with Pyrefly (#8880)\n\nWhile working on #8847 and #8852 I noticed that `perfetto` isn\u0027t using a\nPython type-checker at the moment, so I figured it might be a good idea\nto set one up.\n\nI went with Pyrefly because it\u0027s fast, non-intrusive (as the diff\nshows), scores 100% in the official Python typing spec conformance test\nsuite\n([source](https://htmlpreview.github.io/?https://github.com/python/typing/blob/main/conformance/results/results.html)),\nis stable, and because I have good experience with it in several of the\nprojects I maintain (including NumPy).\n\nOther type-checkers could also work, and I wouldn\u0027t mind looking into\nthat, but judging by this diff, I expect that those won\u0027t be as\nnon-intrusive at Pyrefly.\n\nI configured Pyrefly to use the \"basic\" preset, because the \"default\"\ncuirrently reports several (genuine) type errors (78 to be exact). If\nyou\u0027re open to it, I could address those as follow-up PR or PRs."
    },
    {
      "commit": "7e55ff6fc1da3184bc06ed90a00a27cb55d8ce41",
      "tree": "04e90bde10309f7945814a904e4f42764fca2f2b",
      "parents": [
        "595831cd09ec37529596ba1b03cf6a184889da7d"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Thu Nov 26 13:25:38 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 13:25:38 2026 +0000"
      },
      "message": "shared_lib: add per-session event format and raw proto track events (#8907)\n\nAdd the C SDK side of raw-proto track events so language bindings (such\nas the Android Java SDK) can pass caller-serialized TrackEvent fields\ndirectly instead of building PerfettoTeHlExtra arrays.\n\nSessions opt in via TrackEventConfig.experimental_raw_proto_events\n(EXTRAS remains the default). Ordinary PerfettoTeHlEmitImpl() calls\nignore this setting and emit to every session. All new declarations are\nexperimental and not ABI-stable.\n\n- PerfettoTeCategoryImplGetEventFormats() returns a snapshot bitmask of\n  active PERFETTO_TE_EVENT_FORMAT_* flags via static\n  GlobalState::GetEventFormats(), reading cat-\u003einstances (acquire) and\n  static GlobalState::raw_proto_instances_ (relaxed) with fast exits for\n  disabled categories and EXTRAS-only sessions. Emit checks each\n  session\u0027s TLS format again when writing.\n- PerfettoTeHlEmitWithFormatsImpl() validates inputs and routes each\n  session to EXTRAS or RAW_PROTO with a shared timestamp.\n  PerfettoTeHlEmitRawProtoImpl() is the RAW_PROTO-only fast path\n  validated in debug builds only.\n- EventParams now carries intern_category, intern_name and optional\n  raw_proto_fields, built by PrepareExtrasEvent() or\n  PrepareRawProtoEvent(). WriteTrackEvent() writes category and name\n  inline and appends raw field bytes for RAW_PROTO events.\n- ValidateRawProtoFields() checks the combined size budget and top-level\n  protobuf framing while keeping length-delimited payloads opaque.\n\nBug: 587941572"
    },
    {
      "commit": "595831cd09ec37529596ba1b03cf6a184889da7d",
      "tree": "1560d0fde4facfbd55d9248009c83af22afa3c4a",
      "parents": [
        "ca5c928ca2e4646b5b4fde4019732b5c430fc685"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Thu Nov 26 04:33:02 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 12:33:02 2026 +0000"
      },
      "message": "tp: export sparse columns in their stored layout (#8640)\n\n**Why**\n\nTrace processor stores a sparse column as a null bitmap and the values\nof its non-null rows. Exports expanded this to one Arrow slot per row,\nand reloading compacted it again with a loop over every row.\n\n**Changes**\n\n- `ArrowSparseColumns::kSplit` writes each sparse column as a Boolean\n  `\u003cname\u003e.__validity` column and a `\u003cname\u003e.__values` column holding the\n  stored values, padded with nulls to the row count. Both are standard\n  Arrow, so pyarrow can still read the archive.\n- `perfetto` exports use it. `arrow_tar` keeps one slot per row for\n  external readers.\n- `DeserializeFromArrow` takes the layout and restores a split column\n  by copying the bitmap and the stored values, or for strings the\n  stored dictionary indices, straight into its storage. The values\u0027\n  own validity is implied by the bitmap, so the writer emits it as a\n  run of set bytes and the reader skips it.\n- `WriteValidityBuffer` writes a `BitVector`\u0027s words as they are,\n  since on little-endian hosts they already form an Arrow bitmap,\n  rather than packing each bit. This also speeds up `arrow_tar`.\n- The `perfetto` format version goes to 3.\n\n**Results**\n\n| Trace | Export size | Reload peak memory |\n|---|---:|---:|\n| chrome_android_systrace | 76.6 → 77.1 MB | 160 → 155 MB |\n| system-server-heap-graph-new | 189.7 → 190.5 MB | 409 → 410 MB |\n| ui-funcgraph | 726.5 → 733.3 MB | 1332 → 1282 MB |\n\nReloading ui-funcgraph is 4% faster. The extra bitmap grows exports by\nunder 1%. Compressed, the padding costs nothing: with zstd over the\nwhole archive it is 2% smaller than the expanded layout."
    },
    {
      "commit": "ca5c928ca2e4646b5b4fde4019732b5c430fc685",
      "tree": "bcc483a76e76e7542b34a32809456cbbb8eb0fcb",
      "parents": [
        "dafda36ababe54064edac3e3a6f51d56a6a537f9"
      ],
      "author": {
        "name": "the0cp",
        "email": "63190431+the0cp@users.noreply.github.com",
        "time": "Thu Nov 26 19:52:51 2026 +0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 11:52:51 2026 +0000"
      },
      "message": "tp: handle IMA policy tags in debuginfod URLs (#8752)\n\nFixes #8633\n\nFedora includes `ima:enforcing` and `ima:ignore` policy tags in\n`DEBUGINFOD_URLS`. Perfetto previously treated these as server URLs and\nrejected the configuration.\n\nThis change:\n\n- Parses policy tags while preserving server order.\n- Warns when `ima:enforcing` applies, since Perfetto does not verify IMA\nsignatures."
    },
    {
      "commit": "dafda36ababe54064edac3e3a6f51d56a6a537f9",
      "tree": "5f7333ec05c5eda5591a736cbaf933d2ffc97229",
      "parents": [
        "d4a83d27f16b7aae71c264471190ae629f70a8bd"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Thu Nov 26 10:58:25 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 10:58:25 2026 +0000"
      },
      "message": "docs: document external contribution policy (#8032)\n\nDocument policy for external PR submissions in the contributing guide.\n\n---------\n\nCo-authored-by: gemini-code-assist[bot] \u003c176961590+gemini-code-assist[bot]@users.noreply.github.com\u003e"
    },
    {
      "commit": "d4a83d27f16b7aae71c264471190ae629f70a8bd",
      "tree": "ab0c91d5820ee4e651d50ebadf2c28d36badf299",
      "parents": [
        "62c98476da96d598170b8714a5ae385a8b579d53"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Thu Nov 26 02:38:56 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 10:38:56 2026 +0000"
      },
      "message": "ai: Expose gen_skill_bundle and skill files in Bazel BUILD (#8918)\n\nFollow-up to #8410.\n\nAdds `gen_skill_bundle_py` (`perfetto_py_binary`) and\n`ai_skills_perfetto` (`perfetto_filegroup`) to `BUILD.extras` and\nregenerates `BUILD` via `tools/gen_bazel` so Bazel consumers can build\nhost-specific skill bundles directly from the upstream\n`ai/skills/perfetto` sources."
    },
    {
      "commit": "62c98476da96d598170b8714a5ae385a8b579d53",
      "tree": "4235cb0874ff2e88587a1ff6e94eba4556d50b0c",
      "parents": [
        "fbcae9d39554665512dcc373a011554f65c9ab32"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Thu Nov 26 01:57:04 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 01:57:04 2026 -0800"
      },
      "message": "ui: skip cached trace reopen while a trace load is in progress (#8856)\n\nGuard `maybeOpenCachedTrace()` against `AppImpl.instance.isLoadingTrace`\nso route changes while another trace is actively loading do not\nre-trigger or prompt to reopen a previously cached trace.\n\nReplaces #8799, which was approved but got closed while restructuring\nits stack."
    },
    {
      "commit": "fbcae9d39554665512dcc373a011554f65c9ab32",
      "tree": "815e89f1ef30d5f9d2736848868a9e983cbb08ba",
      "parents": [
        "982bd570e7900ee9faa53d5203f2180fb8988634"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Thu Nov 26 00:42:56 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 00:42:56 2026 -0800"
      },
      "message": "ui: memscope: parse adb devices without model tag and filter non-device states (#8800)\n\nWhen listing devices via `adb devices -l` over WebSocket in\n`ConnectionPage`, require the device state column to be `device`\n(ignoring `offline`/`unauthorized` entries) and treat the `model:` field\nas optional so emulators and TCP-forwarded devices are not dropped."
    },
    {
      "commit": "982bd570e7900ee9faa53d5203f2180fb8988634",
      "tree": "4de73ebf6cf73e618e979f2358ed7e2d28f30192",
      "parents": [
        "54c5635dc187fa8f3f526f1f991b6ecd629456c7"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Thu Nov 26 00:42:55 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 00:42:55 2026 -0800"
      },
      "message": "ui: make the dev server\u0027s asset root an absolute URL (#8798)\n\nUnder the dev server `__GLOBAL_ASSET_ROOT__` is a relative path, while\nproduction `getServingRoot()` returns an absolute URL. Resolve\n`__GLOBAL_ASSET_ROOT__` against `location.href` so browser APIs\nrequiring an absolute URL work under the dev server too."
    },
    {
      "commit": "54c5635dc187fa8f3f526f1f991b6ecd629456c7",
      "tree": "a3afdf91f6b2fc01245ea71aee30c2fa14e8ee48",
      "parents": [
        "1e05a0d63cef4290d1d8de3738d35bd829a03c94"
      ],
      "author": {
        "name": "Elisa Tai",
        "email": "47915194+zytyz@users.noreply.github.com",
        "time": "Wed Nov 25 17:56:05 2026 -0700"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Thu Nov 26 00:56:05 2026 +0000"
      },
      "message": "ai: Build the Perfetto skill for each host from one source (#8410)\n\nImplements RFC-0052 (#8375): the Perfetto skill has one source tree, and\na\ngenerator builds the skill for each host from it. This PR adds two\nhosts:\ncoding agents (`cli.md`) and the Perfetto UI (`ui.md`). #8266 adds the\nUI\ncode that reads the UI bundle.\n\n1. **Generator and adapters.** `tools/gen_skill_bundle.py --adapter\n\u003cpath\u003e\n--layout tree|index` builds the skill for one host. Each adapter lists\nthe\n   actions its host provides, and each skill file lists the actions it\n   requires. A host gets only the files it can run. `cli.md` replaces\n`setup.md`, and `ai/skills/drop_reports/` lists the files each host does\n   not get.\n2. **Workflows written against actions.** The shared files say what to\nrun,\n   not how. `cli.md` and `ui.md` say how their host does each action.\n3. **Split of `system_trace_memory.md`.** As in the RFC, the two-trace\npart\n   moves to `system_trace_memory_compare.md` and the recording part to\n`recording_memory_signals.md`. The UI gets the one-trace workflow only.\nThe new eval case `memory-compare-launches` compares two system traces.\n4. **Dominator path note.** The note in `heap_dump.md` is about\n   `heap_dump_cluster.md`, which the UI does not get, so it moves there.\n\n## Evaluation results\n\n`main` (66e3df42f6) and this PR, CLI skill. Claude Code `opus` (LLM\njudge:\n`haiku`), 3 runs per case and condition. 0% contaminated.\nThe score is the mean fraction of graders passed. The all-pass rate is\nthe\nfraction of runs that passed every grader.\n\n| Eval Case | `main` | This PR |\n| :--- | :---: | :---: |\n| `anr-why` | `1.00` / `100%` | `1.00` / `100%` |\n| `binder-main-thread` | `1.00` / `100%` | `1.00` / `100%` |\n| `cpu-hotspot` | `1.00` / `100%` | `1.00` / `100%` |\n| `cpu-top-thread` | `1.00` / `100%` | `1.00` / `100%` |\n| `gpu-bound` | `1.00` / `100%` | `1.00` / `100%` |\n| `heap-dump-diff` | `1.00` / `100%` | `1.00` / `100%` |\n| `heap-dump-hprof-diff` | `1.00` / `100%` | `1.00` / `100%` |\n| `heap-profile-java-diff` | `1.00` / `100%` | `1.00` / `100%` |\n| `heap-profile-native-diff` | `1.00` / `100%` | `1.00` / `100%` |\n| `heap-retained` | `1.00` / `100%` | `1.00` / `100%` |\n| `jank-worst-frame` | `1.00` / `100%` | `1.00` / `100%` |\n| `memory-compare-launches` (new) | `1.00` / `100%` | `1.00` / `100%` |\n| `memory-dmabuf-camera` | `0.89` / `67%` | `1.00` / `100%` |\n| `memory-gc-churn` | `0.94` / `67%` | `1.00` / `100%` |\n| `memory-missing-signals` | `0.83` / `67%` | `1.00` / `100%` |\n| `memory-sysui-spike` | `0.47` / `0%` | `0.60` / `0%` |\n| `negative-python` | `1.00` / `100%` | `1.00` / `100%` |\n| `no-startup-trap` | `0.67` / `67%` | `1.00` / `100%` |\n| `sched-latency` | `1.00` / `100%` | `1.00` / `100%` |\n| `startup-slow` | `1.00` / `100%` | `0.89` / `67%` |\n| **Mean** | **`0.940`** | **`0.974`** |\n\n| Mean per trial | `main` | This PR |\n| :--- | :---: | :---: |\n| Duration | `88.7s` | `84.3s` |\n| `trace_processor` invocations | `8.15` | `8.12` |\n| SQL errors | `1.50` | `1.25` |\n| Cost | `$0.35` | `$0.36` |"
    },
    {
      "commit": "1e05a0d63cef4290d1d8de3738d35bd829a03c94",
      "tree": "c36860dd30e92d606f5d460b7a5a59aeda8269c4",
      "parents": [
        "20d79178e8e79849bbfd96383db9088bf4769300"
      ],
      "author": {
        "name": "sashwinbalaji",
        "email": "sashwinbalaji@google.com",
        "time": "Wed Nov 25 23:29:52 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 23:29:52 2026 +0000"
      },
      "message": "shared_lib: read timestamp and scan extras once per event (#8906)\n\nMove per-event work in TeHlEmit() out of the per-session loop so it runs\nonce per event instead of once per active tracing session. There is no\nAPI change.\n\nPreviously InstanceOp() and WriteTrackEvent() ran inside the session\nloop, reading the clock per session, scanning extra_data in separate\npasses for each field type, recomputing strlen(name) and rehashing\ntop-level named track UUIDs for every session.\n\n- ActiveInstances wraps the data source prologue, iteration and epilogue\n  in an RAII helper so TeHlEmit() can bail out before doing any\n  per-event work when no instance is active.\n- PrepareEvent() runs once per event to populate EventParams. It reads\n  the timestamp once so all sessions record the same timestamp, scans\n  extra_data once for session-shared fields (track, timestamp, dynamic\n  category, interning, flush and custom proto presence), and computes\n  strlen(name) and top-level named track UUIDs once. Nested named tracks\n  are still hashed per session.\n- WriteTrackEvent() writes built-in fields in a single pass over\n  extra_data in array order, and only runs the trailing custom proto\n  fields pass when PrepareEvent() saw any.\n- Adds TrackEventHlSessionsShareTimestamp and an eight-session benchmark\n  (BM_Shlib_MultiSession) over an in-process service to measure\n  multi-session emit cost.\n\nBug: 587941572"
    },
    {
      "commit": "20d79178e8e79849bbfd96383db9088bf4769300",
      "tree": "004f6061db933b9391a2e778d0fef632aaef54f1",
      "parents": [
        "d2d2b6c6e4c867da61979885758ab984ae38895c"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Wed Nov 25 15:15:30 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 15:15:30 2026 -0800"
      },
      "message": "tp: run breakers as sinks, and read side pipelines through the context (#8839)\n\n## What\n\n- **`Sink`**: consumes every batch of the pipeline it ends, then\nfinalizes what it built.\n- **`Breaker` is a `Sink`**: sort, top-k, grouped sort, hash aggregate\nand child-first tree order end the pipeline they consume. A `Served`\nsource starts the next pipeline with what they built.\n- **`Pipelines`**: a plan\u0027s pipelines besides its main one. Each either\nends in a sink or is streamed into the operator reading it.\n- **`PipelineUse`**: the only way a step reads one of them, through the\nrun\u0027s `Context`. `Context` builds a sink or starts a stream the first\ntime it is asked in a run, and ends it with the step\u0027s run.\n- **Side inputs** of interval intersection, fill gaps and graph trees\nstay streamed batch by batch, now through `Context`.\n\n## Why\n\nA breaker held its rows as an operator in the middle of a pipeline, and\nan operator with side inputs owned and drained its side pipelines\nitself. The executor could not see where a plan\u0027s work is split, or\nstart and end what one step waits on. A join\u0027s build side needs exactly\nthis.\n\nThis ports pipitdb\u0027s sinks, #574 and #576, without the local states and\ncombining that only a parallel executor would use.\n\n## Size\n\nStripped `trace_processor_minimal_shell` on x86_64, against #8602:\n**+3,536 bytes**. pipitdb #574 and #576 together: +3,236 bytes.\n\n## Benchmarks\n\nMedians of 10 runs on one pinned core, against #8602:\n\n| Benchmark | Before | After |\n|---|---|---|\n| `BM_StepsSortDescending/1` | 396 ns | 412 ns |\n| `BM_StepsSortDescending/1048576` | 7.43 ms | 7.57 ms |\n| `BM_TreeChildFirst/1000000/1` | 73.8 ms | 73.7 ms |\n\nA sort now ends a pipeline and starts another, which costs about 16 ns a\nrun.\n\n`BM_IntervalIntersect` had no valid baseline: it rewound without ending\nits run, so every iteration after the first output nothing. It now\nrestarts each iteration.\n\nAll unit and diff tests pass with unchanged output."
    },
    {
      "commit": "d2d2b6c6e4c867da61979885758ab984ae38895c",
      "tree": "ba4e9aec32b057baeb5c2996ad73cc01f9511e0a",
      "parents": [
        "0379b6885cc8aaf032712ed19a2e5ab8dc770343"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 22:51:12 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 22:51:12 2026 +0000"
      },
      "message": "ui: Drive: Constrain modal dialog width (#8905)\n\nAdd max width to drive \u0027open\u0027 and \u0027share\u0027 dialogs to avoid them getting\ntoo wide on wide monitors.\n\nPreviously we were sizing the content not the dialog. This PR sizes the\ndialog and the content is display block anyway so fills its container\nhorizontally."
    },
    {
      "commit": "0379b6885cc8aaf032712ed19a2e5ab8dc770343",
      "tree": "bb8ea9e5fb824048e55c0698b70755e644c1d470",
      "parents": [
        "73364e042b9b4d8ff341935da6d011157b7f8e74"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Wed Nov 25 14:43:21 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 14:43:21 2026 -0800"
      },
      "message": "tools: remove legacy regex-based PerfettoSQL module checks (#8539)\n\nNow that google3 and Chromium (https://crrev.com/c/8740503) run\n`pfsql`-based PerfettoSQL module checks, remove the legacy regex-based\nstdlib parser and module checker:\n\n- Delete `tools/check_sql_modules_legacy.py` and require\n`--pfsql-binary` unconditionally in `tools/check_sql_modules.py`.\n- Delete `docs_extractor_legacy.py`, `docs_parse_legacy.py`,\n`stdlib_parser_legacy.py`, and `utils_legacy.py` from\n`python/generators/sql_processing/`, along with the `parse_file` and\n`check_banned_patterns` forwards and `TestStdlibLegacy`.\n- Inline the small set of legacy metric lint patterns directly into\n`tools/check_sql_metrics.py`.\n\nHold as draft until https://crrev.com/c/8740503 lands in Chromium and\nPerfetto rolls past it.\n\nFixes: #7823"
    },
    {
      "commit": "73364e042b9b4d8ff341935da6d011157b7f8e74",
      "tree": "77d2b9da4887fe82eed4e3fa895ef73f1fa68425",
      "parents": [
        "1f6279c11d11eed658e58e9c05eef39bf6f60989"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 22:17:25 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 22:17:25 2026 +0000"
      },
      "message": "ui: Add 1P google branding and terms links to homepage and sidebar (#8854)\n\nAdd 1P Google branding + terms \u0026 privacy links to the sidebar."
    },
    {
      "commit": "1f6279c11d11eed658e58e9c05eef39bf6f60989",
      "tree": "41b2165d658901dc8a686dc28ecdb52cba896bf5",
      "parents": [
        "467c35b4502e3e7f47df559d237bb487aae28e98"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Wed Nov 25 14:13:13 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 22:13:13 2026 +0000"
      },
      "message": "tp: shrink the dataframe bytecode ToString code (#8837)\n\nPrinting bytecode is only used for debugging, by metatrace arguments and\nthe query plan decoder, yet it took 43 KB of code. ToString(Bytecode)\nbuilt its result separately in each of its 187 cases, and each\ninstruction\u0027s ToString formatted all nine of its arguments inline.\n\nThe switch now only picks which instruction\u0027s fields to print, taking\nthe name from one packed string, and each argument is formatted by a\nsingle out-of-line call. The output is unchanged and the code is 25 KB\nsmaller."
    },
    {
      "commit": "467c35b4502e3e7f47df559d237bb487aae28e98",
      "tree": "2481124f97dab0fee07015f7e79d79be9de75b53",
      "parents": [
        "a856787dc58ebf2651b025fbf497e1c228c80b4c"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 21:47:49 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 21:47:49 2026 +0000"
      },
      "message": "ui: Add path-based component screenshot helper and fail-fast harness errors (#8878)\n\nFollow-up fixes addressing review feedback on PR #8721:\n\n- Override `snapshotPathTemplate` on the `components` Playwright project\nin `ui/playwright.config.ts` to use `{testFilePath}` so colocated\n`*.ctest.ts` screenshot baselines cannot collide across directories.\n- Extract `formatScreenshotName()` into `ui/src/test/screenshot_name.ts`\n(avoiding a forbidden `/component_harness -\u003e\n/test/perfetto_ui_test_helper` import in `check_imports.py`) and expose\n`expectFixtureScreenshot()` in `harness_test_helper.ts`.\n- Fail fast in `mountFixture()` with a clear error when\n`/component_harness.html` is not served (missing\n`--enable-component-harness`) or when the requested fixture ID is\nunknown."
    },
    {
      "commit": "a856787dc58ebf2651b025fbf497e1c228c80b4c",
      "tree": "90a7391f323963d0bb6ccdc0f7d3e2be2b5f1b36",
      "parents": [
        "85484e8e4ac33badcd75608c7c9c9d199e037a38"
      ],
      "author": {
        "name": "etiennep-chromium",
        "email": "etiennep@chromium.org",
        "time": "Wed Nov 25 16:25:02 2026 -0500"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 16:25:02 2026 -0500"
      },
      "message": "protozero: export PackedBufferBase for component builds (#8895)\n\nPackedBufferBase::Reset() and PackedBufferBase::GrowSlowpath() are\ndefined out-of-line in packed_repeated_fields.cc but the class was not\nannotated with PERFETTO_EXPORT_COMPONENT, unlike every other protozero\nclass with out-of-line methods (Message, MessageArena,\nScatteredHeapBuffer, ...).\n\nGenerated pbzero setters for [packed \u003d true] fields only accept a\nprotozero::PackedVarInt / PackedFixedSizeInt, so any client outside the\nPerfetto shared library that writes a packed field fails to link in\nChromium component builds (is_component_build \u003d true), e.g.:\n\n  undefined symbol: protozero::PackedBufferBase::GrowSlowpath()\n  undefined symbol: protozero::PackedBufferBase::Reset()\n\nExport the class so that these symbols are visible. PackedVarInt and\nPackedFixedSizeInt only have inline methods, so exporting the base is\nsufficient."
    },
    {
      "commit": "85484e8e4ac33badcd75608c7c9c9d199e037a38",
      "tree": "ae474bdbf2283255a7aa793b78a776006ec30147",
      "parents": [
        "30c5514b722c40e87d793eb9b9e15a2a6ae011ce"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 21:24:41 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 21:24:41 2026 +0000"
      },
      "message": "ui: Drive: Prompt users to open file in drive when picker is cancelled (#8822)\n\nWhen attempting to open a gdrive link for a file that\u0027s been shared as\nlink-only rather than searchable, the picker will fail to show anything\nresulting in an empty popup.\n\nSee https://b.corp.google.com/issues/589689655\n\nThis PR makes it so that when the user hits cancels on the picker\ndialog, a new dialog appears instructing them to try opening the file\ndirectly in google drive before trying again. While clunky, this\nunblocks users who have received files they otherwise might not be able\nto open at all.\n\n\u003cimg width\u003d\"899\" height\u003d\"266\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/d26225fe-34cb-43b3-a50c-1cbe61f2c766\"\n/\u003e"
    },
    {
      "commit": "30c5514b722c40e87d793eb9b9e15a2a6ae011ce",
      "tree": "1a59bdac9d3389d52455025b61bc315e5de8f284",
      "parents": [
        "bff91fb70515820591b01f1acd55014cb5fcf0ea"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 21:24:41 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 21:24:41 2026 +0000"
      },
      "message": "ui: Drive: Add Open from Google Drive dialog for browsing or pasting a link (#8817)\n\nIf users get sent a google drive link instead of a perfetto link, but\nthey don\u0027t have Perfetto installed in their drive, they hit a dead end.\n\nThis patch allows users to load a drive file by pasting a url in a box.\nIt\u0027s clunky but it gives users a way forward if they only have a drive\nlink.\n\nList of changes:\n\n- Open a custom dialog when user clicks on \u0027Open from GDrive\u0027 in the\nsidebar (instead of launching the Drive picker directly) offering both\nbrowsing Google Drive and pasting a Google Drive link directly (also\nworks with perfetto links).\n- Add a direct link to open the file in Google Drive in the file\nauthorization prompt (to help with the picker issue on link-only shares\nhttps://b.corp.google.com/issues/589689655).\n- Component fixtures and unit tests for the new open dialog and link\nparsing.\n\n\u003cimg width\u003d\"524\" height\u003d\"247\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/f4152b4b-3b75-4eda-9e9b-afaef4f21f53\"\n/\u003e"
    },
    {
      "commit": "bff91fb70515820591b01f1acd55014cb5fcf0ea",
      "tree": "b530417c90e7e44c29c07ebdd6c8e874f54e65e1",
      "parents": [
        "62ec19415d158f0afe1dc8cfe667cda0af36a547"
      ],
      "author": {
        "name": "Eric Seckler",
        "email": "eseckler@google.com",
        "time": "Wed Nov 25 16:00:21 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 16:00:21 2026 +0000"
      },
      "message": "base: wait for TSC calibration in FarFutureDelayedTaskDoesNotSpin (#8879)\n\nOn Windows (non-ARM64), GetThreadCPUTimeNs() calibrates the TSC\nfrequency over a 50 ms window starting on its first call and returns 0\nuntil calibration completes. When FarFutureDelayedTaskDoesNotSpin runs\nin a process where GetThreadCPUTimeNs() has not yet been calibrated,\ncpu_start is recorded as 0, while the post-Run() call (after the 200 ms\nsleep) completes calibration and returns the thread\u0027s entire cumulative\nCPU time since process startup. On Chromium\u0027s Windows bots (especially\nwin-asan), this exceeds the 100 ms threshold and fails the test.\n\nWait for GetThreadCPUTimeNs() to finish calibrating before capturing\ncpu_start on non-ARM64 Windows.\n\nBug: 590372400"
    },
    {
      "commit": "62ec19415d158f0afe1dc8cfe667cda0af36a547",
      "tree": "19a0e7a7128a489e61e5a10686dc44645f59c9f8",
      "parents": [
        "7f3a117c14b6a6a4504d48f5643b069edd1df6bc"
      ],
      "author": {
        "name": "Morg",
        "email": "morg@google.com",
        "time": "Thu Nov 26 00:38:50 2026 +0900"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 15:38:50 2026 +0000"
      },
      "message": "perfetto: add first-character atrace bitmap in StringFilter (#8860)\n\nStringFilter::MaybeFilterInternal previously scanned every rule\nlinearly, even when only bounded atrace prefix rules\n(atrace_payload_starts_with) covered a semantic type. This linear scan\nalso ran on end events (\"E|...\") and on payloads whose initial byte\nmatched zero configured prefixes.\n\nStringFilter::RecomputeRuleMasks() now maintains a 256-bit initial-byte\nbitmap across bounded atrace prefix rules and tracks semantic types that\ncontain non-atrace or empty-prefix rules. For bounded-only semantic\ntypes, MaybeFilterInternal locates the atrace payload once and rejects\nunmatched initial bytes in O(1) time.\n\nLinux x86_64 release builds show lower CPU time in atrace\nmicrobenchmarks. BM_ProtozeroStringRewriterAtraceRedactMissing/10 drops\nby 71.13% (2.96ms to 0.85ms), AtraceRedactRare/10 drops by 70.12%\n(2.98ms to 0.89ms), and AtraceRedactSpammy/10 drops by 30.10% (5.03ms to\n3.52ms).\n\nDevice measurements used an 8-core x86_64 Android desktop device (P-core\nlocked at 2.40GHz) and a 26-rule production filter config.\nOn real production traces:\n- Live traced filter time per input MB dropped by 22.85% (4.495ms/MB to\n3.468ms/MB).\n- Replay CPU on a 52.52MB trace dropped by 10.98% (246.57ms to 219.50ms,\n-14.88% instructions).\n\nTested:\n- perfetto_unittests --gtest_filter\u003d\u0027StringFilterTest.*\u0027\n- perfetto_benchmarks \\\n--benchmark_filter\u003d\u0027BM_ProtozeroStringRewriterAtrace.*\u0027"
    },
    {
      "commit": "7f3a117c14b6a6a4504d48f5643b069edd1df6bc",
      "tree": "d5f17acb6b566d3150e7cc4d56dbfacd5ea8c39d",
      "parents": [
        "00d052cec98f7a09269e8238d0ee3b28c2247515"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 15:29:50 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 15:29:50 2026 +0000"
      },
      "message": "ui: Drive: Stream opened traces directly into TraceProcessor (#8827)\n\nStream Google Drive trace downloads directly into TraceProcessor via\n`App.openTraceFromStream()` instead of buffering the entire trace in JS\nmemory, so `load_trace.ts` reports live download/loading progress\nautomatically.\n\n- Extend `TraceStreamSource` and `App.openTraceFromStream(stream,\nopts?)` to accept `title` and `pluginArgs`, and allow\n`PluginManager.getOpenerArgs()` to read `pluginArgs` from `STREAM`\nsources.\n- Update `DriveClient.openFile()` to return a `TraceStream` backed by\n`Response.body` (batching chunks up to 32 MB like `TraceHttpStream`).\n- Switch the sidebar and deep-link open flows to\n`app.openTraceFromStream()`, removing custom omnibox progress reporting.\n- Update unit tests for streaming `DriveClient.openFile()` and the open\nflows."
    },
    {
      "commit": "00d052cec98f7a09269e8238d0ee3b28c2247515",
      "tree": "d1791a8d090c3edbde2f032fae15f67dbe6aaf37",
      "parents": [
        "a1591e1e3697b00b6cf8892ae77adffd559351d7"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 15:29:50 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 15:29:50 2026 +0000"
      },
      "message": "ui: Drive: Share flow and dialog improvements (#8715)\n\nThis patch improves the google drive\u0027s upload/share form. A lot of this\nto work around the issue on the receiver end where Perfetto can\u0027t open\nthe file unless it\u0027s searchable (as opposed to link-only) - see\nhttps://b.corp.google.com/issues/589689655\n\n- Add a warning when the user is not sharing with anyone.\n- When the share dialog is closed, if a user has configured sharing with\na domain, automatically make it searchable\n- Note: The exception is if the user shared with \u0027Everyone\u0027, we REALLY\ndon\u0027t want to make files world accessible and searchable. This isn\u0027t\neven an option any more in the share dialog.\n- Remember settings and apply them as default for the next upload:\n  - The file share location.\n  - The shared domain (if any).\n- If the file is otherwise shared with a domain but not searchable, show\na warning and a quick \u0027Make searchable\u0027 button to fix it.\n- Visual overhaul of the share dialog.\n- Component fixtures for the share form in its various states.\n\n## Screenshots:\n\nUploading:\n\u003cimg width\u003d\"508\" height\u003d\"170\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/443cb22b-fccd-4a76-84eb-bb4a1c6a9130\"\n/\u003e\n\nUploaded but not shared:\n\u003cimg width\u003d\"510\" height\u003d\"357\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/cda17592-498c-43e7-8b96-d6857c5ff951\"\n/\u003e\n\nShared link-only with a domain (users within this domain won\u0027t be able\nto open these files).\n\u003cimg width\u003d\"502\" height\u003d\"386\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/95c5bc3a-d53c-4d64-8fa9-b14e00234fe0\"\n/\u003e\n\nHappy state - shared with a domain \u0026 searchable:\n\u003cimg width\u003d\"527\" height\u003d\"311\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/5ec099e2-f307-4655-b2a3-fc004968eefc\"\n/\u003e"
    },
    {
      "commit": "a1591e1e3697b00b6cf8892ae77adffd559351d7",
      "tree": "283ff1dad2389a2b5a8f4e262005a5e14009c361",
      "parents": [
        "986e7af0006a29180a0598971fdfc265099a7c09"
      ],
      "author": {
        "name": "Vibhu Agarwal",
        "email": "vibhuagarwal@google.com",
        "time": "Wed Nov 25 15:00:37 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 15:00:37 2026 +0000"
      },
      "message": "perfetto: temporarily remove shawseanyang@ from OWNERS (#8881)\n\nTemporarily removes shawseanyang@ from OWNERS.\n\nSince #8846, the GitHub → Android-internal merge has been failing.\nGerrit\u0027s code-owners check rejects copybara\u0027s push because\nshawseanyang@google.com doesn\u0027t have an account on the Android Gerrit\nhost yet."
    },
    {
      "commit": "986e7af0006a29180a0598971fdfc265099a7c09",
      "tree": "89cbe33a7fa615e28a146d428af499c6adeb1450",
      "parents": [
        "794c8d0f3931508c34150bd8766d5a28d33e6394"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 14:07:33 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 14:07:33 2026 +0000"
      },
      "message": "ui: Drive: Make DriveClient.openSharingDialog resolve when dialog closes (#8841)\n\nThe `gapi.drive.share.ShareClient` (the drive sharing dialog) doesn\u0027t\nhave any support for calling back when it closes. We need to know when\nthe dialog box closes so we can inspect the configured permissions and\ntell the user if something doesn\u0027t look right.\n\nThis patch uses a hacky approach to detect when the iframe disappears\nusing a mutation observer.\n\nFrom the API side, change `DriveClient.openSharingDialog` to return a\nPromise\u003cvoid\u003e which is resolved when the dialog close is detected."
    },
    {
      "commit": "794c8d0f3931508c34150bd8766d5a28d33e6394",
      "tree": "4af226ab2557f99c1fdecba34b0818ecb09ece22",
      "parents": [
        "ab25cb9265e01c19826ba99982715171d3942de0"
      ],
      "author": {
        "name": "Vibhu Agarwal",
        "email": "vibhuagarwal@google.com",
        "time": "Wed Nov 25 14:04:19 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 14:04:19 2026 +0000"
      },
      "message": "tp: check an interrupt flag in a SQLite progress handler (#8737)\n\n`InterruptQuery()` used `sqlite3_interrupt()`, which SQLite forgets when\nthe next statement starts. So an interrupt that arrived between two\nstatements of a query was lost, and the rest of the query ran on.\n\nNow the engine (`PerfettoSqlConnection`) also keeps an interrupt flag,\nchecked every 10,000 steps by a SQLite progress handler that is\ninstalled once, when the connection is created. `InterruptQuery()` sets\nthe flag and still calls `sqlite3_interrupt()`, so running statements\nstop at once, as before. The flag is cleared when the next query starts\n(`ExecuteQuery()`, or the first statement of `ExecuteNextStatement()`).\nThe cost of the check is below noise: see #8757.\n\nAs before, an interrupt stops everything running on the connection, not\none query. Now it also stops every statement after it until the next\nquery starts, including work in between such as metrics; the\n`InterruptQuery()` docs say so. The flag is also cleared just before the\nprelude at the end of trace loading, since a stopped prelude is fatal.\n\n**Chromium:** its SQLite has no progress handler\n(`SQLITE_OMIT_PROGRESS_CALLBACK`), so there `InterruptQuery()` behaves\nexactly as before.\n\nBug: 586919700"
    },
    {
      "commit": "ab25cb9265e01c19826ba99982715171d3942de0",
      "tree": "fcdc2c6f4512f798706f8e206c0ed16e251e15b7",
      "parents": [
        "5f21e01d26a84034499acef3ca9181bf28547a6e"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 11:40:54 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 11:40:54 2026 +0000"
      },
      "message": "ui: Drive: Add DriveClient permissions API and sharing dialog close callback (#8825)\n\nThis patch adds permissions management APIs to `DriveClient`.\n\n- Add `getPermissions()` to fetch a file\u0027s permissions.\n- Add `createPermission()` to create/update Drive permissions (including\n`allowFileDiscovery`)."
    },
    {
      "commit": "5f21e01d26a84034499acef3ca9181bf28547a6e",
      "tree": "4320164377408da992a8f18d87cb61bb7e87c9c9",
      "parents": [
        "54f44d1c8451a1bcf5ce0561f645e99f127621a0"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 10:51:42 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 10:51:42 2026 +0000"
      },
      "message": "ui: Add determinate value prop to LinearProgress (#8824)\n\nThis patch adds determinate progress support to the `LinearProgress`\nwidget (a linear progress indicator), allowing it to show actual\npercentage progress on a task instead of just an indeterminate \u0027spinner\u0027\nloading state.\n\nAlso added a component harness fixture.\n\nSee CI build at:\nhttps://storage.googleapis.com/perfetto-ci-artifacts/gh-45246260235-1-ui/ui/v59.1-674503ff3/component_harness.html?fixture\u003dwidgets%2Flinear_progress%2Findeterminate"
    },
    {
      "commit": "54f44d1c8451a1bcf5ce0561f645e99f127621a0",
      "tree": "ba5d887ccea76976ce55718635488dc89485b7eb",
      "parents": [
        "5d772fd35a6e5fd47f1df33771681a7831140145"
      ],
      "author": {
        "name": "Steve Golton",
        "email": "stevegolton@google.com",
        "time": "Wed Nov 25 10:51:41 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 10:51:41 2026 +0000"
      },
      "message": "ui: Add component test harness (#8721)\n\nMithril components are difficult to test. Testing them often involves\nmanually running the full UI E2E and exercising each path. While this is\nan important test, it quickly becomes tedious and slow when iterating on\na design for both humans and agents. The fallback has been relying on\nthe widgets demo page to test some components in isolation but this has\nseveral disadvantages:\n\n- It bloats the production bundle.\n- Only widgets can be tested really - components inside other plugins\ncannot not be imported by the widgets plugin.\n- The widgets page is meant to be used as a reference for what widgets\nare available and for humans to fiddle with the various widgets to see\nwhat\u0027s available, not as a testing harness.\n\nThis PR introduces a new component harness framework which helps humans\nand agents build and test components in canned scenarios without having\nto run a full UI E2E test.\n\n### It works like this:\n\n- Add a new fixture file anywhere under `src/` - e.g.\n`mycomponent.fixture.ts`.\n- This fixture default exports a set of named fixtures (these are just\nMithril components). Typically these will be the component-under-test\npuppetted with various interesting combinations of attrs.\n- At build time, if `--enable-component-harness` is passed, a new bundle\nis created containing all of the fixture files in `src/` and served\nunder `/component_harness.html`, e.g.\n`http://localhost:10000/component_harness.index`. It shows all the\nfixtures in a tree mirroring where they were found in the directory\nstructure.\n- The user or an agent can navigate to /component_harness.html and\ninteract with the various fixtures and components.\n- Playwright tests can also be added by adding a file with the suffix\n`.ctest.ts` anywhere under `src/`. These are collected up when the\nintegration tests are run and can be used to automate testing using the\nharness.\n\n\u003e Note: The harness is not part of the prod build (by default) so,\nunlike the widgets demo page, it doesn\u0027t bloat production.\n\n### Compelling example\n\nImaging you\u0027re building a new form to upload files to gdrive. The\nbackend upload logic is working and has unit tests, but the form can be\nin several states - e.g. idle, pending, uploading, error, success,\nsharing warning, etc... If we were to test that the form looks right and\nthe buttons and styling is in the right place for the various states and\niterate on the design, we would normally have to do a full E2E test\nwhich involves actually connecting to drive which is slow, transitions\nmight happen too quickly to test properly, has side effects, and the CI\ncannot do this as it can\u0027t log in with an account.\n\nThe harness makes it simple to create fixtures that puppet the share\nform with the various different states and iterate quickly on designed.\nEspecially for agents which we don\u0027t necessarily want to log in or\ncreate side effects on our behalf.\n\nWhat\u0027s more we can test components in a real browser using playwright\nthat can actually run on the CI because it doesn\u0027t involve logging in.\n\nExample directory structure:\n```\n- dev.perfetto.GoogleDrivePlugin\n  - views\n    - share_form.ts \u003c-- component under test\n    - share_form.fixture.ts \u003c-- fixture file - puppets the component with various state\n    - share_form.ctest.ts \u003c-- playwright tests - observes and asserts properties of the component in the fixtures\n```\n\nTests and fixtures can be colocated near their component-under-test.\n\n### How to test\n\nRun `ui/run-dev-server --enable-component-harness` or see the CI build\nat\nhttps://storage.googleapis.com/perfetto-ci-artifacts/gh-45235808238-1-ui/ui/v59.1-53ff1e09d/component_harness.html\n\nAlso: Move popup tests added to widget demos page in\nhttps://github.com/google/perfetto/pull/8694 to a new component fixture\ninstead, which removes unnecessary test code from bloating production.\n\nScreenshot of the component harness showing some upcoming changes to the\ngoogle drive share dialog.\n\n\u003cimg width\u003d\"780\" height\u003d\"611\" alt\u003d\"image\"\nsrc\u003d\"https://github.com/user-attachments/assets/50385f57-7c6e-455a-a9cd-6e2c7886052b\"\n/\u003e"
    },
    {
      "commit": "5d772fd35a6e5fd47f1df33771681a7831140145",
      "tree": "deb446ba0c7e30fabd0f60c22d67a41fd6ca6f08",
      "parents": [
        "feac2a4effde9a6771672eaacad96c8a503a985d"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Wed Nov 25 01:04:47 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 09:04:47 2026 +0000"
      },
      "message": "tp: serve a final sort\u0027s rows where they are held (#8602)\n\n**Why**\n\nA sort copies the rows it serves into new batches, unless a batch\u0027s\nrows all come from one batch it holds. When a sort is a plan\u0027s last\nstep, its caller reads each row\u0027s cells where they are, so the copy is\nwasted work, and SQLite often reads only some of the cells. A lookup\nsorting rows from several of a table\u0027s windows paid for the copy every\ntime: correlated `android_binder_txns` lookups ran 14.4G instructions\nwhere the interpreter ran 12.6G. Sparse columns were also expanded\ninto buffers before any sort, so the row store copied those batches\ntoo.\n\n**Changes**\n\n- `LoweringContext::sorted_outputs` says whether the caller reads a\n  final sort\u0027s rows where they are held. Lowering then has that sort\n  serve them so.\n- A sort serving in place places its rows with `RowStore::Place()`:\n  for each row in order, the batch held and its row there. Each batch\n  it serves holds only a row count. It serves rows as before if any\n  rows were packed, whose columns can be stored differently from those\n  of the batches shared.\n- `Source::InPlace()` and `Operator::InPlace()` return the placed rows.\n  `Pipeline` returns its last step\u0027s, and `RowCursor` reads each row\n  where it is placed.\n- A sort serving in place keeps the sparse columns a scan lends\n  (`StepColumns::keeps_sparse`), sorting by one through its storage,\n  and the row store shares the batches holding them.\n\n**Results**\n\n| Query, instructions | Interpreter | Before | After |\n|---|---:|---:|---:|\n| 3000 correlated binder lookups | 12.6G | 14.4G | 13.0G |\n| `android_sync_binder_thread_state_by_txn` | 3.00G | 3.31G | 3.00G |\n\n**Testing**\n\n- New `SortTest.ServesRowsInPlaceToACursor`,\n  `SortTest.ServesUnreadColumnsInPlaceAsNulls`,\n  `SortTest.ServesSparseColumnsInPlace`,\n  `RowStoreTest.PlacesRowsOfSharedBatches`,\n  `RowStoreTest.DoesNotPlaceRowsPacked` and\n  `PhysicalPlanTest.SortServingInPlaceKeepsSparseColumns`.\n- `perfetto_unittests` and all diff tests pass."
    },
    {
      "commit": "feac2a4effde9a6771672eaacad96c8a503a985d",
      "tree": "3db1e223cccb5c656cf880d186dac4cbc46d76ee",
      "parents": [
        "41777a991121c0b387425053168f55125fcebc6e"
      ],
      "author": {
        "name": "swapnilpatil-g",
        "email": "swapnilrpatil@google.com",
        "time": "Wed Nov 25 13:50:41 2026 +0530"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 08:20:41 2026 +0000"
      },
      "message": "perfetto: Expose WillClearIncrementalState in C ABI (#8813)\n\nExposes DataSourceBase::WillClearIncrementalState through the C shared\nlibrary ABI so C/Rust producers can emit state packets (such as periodic\nproducer ClockSnapshots across ring-buffer wraps) when incremental state\nclearing is requested by the tracing service, without the\ninside-trace-point restriction of on_clear_incr_cb.\n\n- Adds PerfettoDsWillClearIncrementalStateArgs,\nPerfettoDsWillClearIncrementalStateCb, and\nPerfettoDsSetWillClearIncrementalStateCallback in data_source_abi.h.\n- Wires will_clear_incremental_state_cb into PerfettoDsParams,\nPerfettoDsParamsDefault, and PerfettoDsRegister in data_source.h.\n- Overrides WillClearIncrementalState in ShlibDataSource\n(data_source.cc).\n- Adds SharedLibDataSourceTest.WillClearIncrementalStateCallback\nverifying callback arguments and emitting a trace packet from inside the\ncallback."
    },
    {
      "commit": "41777a991121c0b387425053168f55125fcebc6e",
      "tree": "2bb71e4dfb64ad665390d39745620fc927f3d5ca",
      "parents": [
        "e6a2946f0b3e0d604db6eeec82328e2b293e32e6"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Wed Nov 25 00:04:06 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 08:04:06 2026 +0000"
      },
      "message": "tp: keep what executor loops read in locals (#8601)\n\n**Why**\n\nIn a loop which writes through an integer pointer, or writes bytes,\nthe compiler cannot tell the writes from what the loop reads through a\nreference, a pointer or a struct field, so it reads each of them again\nafter every write. `Filter` compared every row with a value it read\nthrough a reference: an equality scan of the counter table ran 23.4G\ninstructions where the interpreter ran 13.9G. Clang\u0027s\n`-Rpass-missed\u003dlicm` remarks found the same pattern in the per-row\nloops of most operators.\n\n**Changes**\n\n- Loops which run once per row copy their bounds, the values they\n  compare with and the fields they read into locals first. This covers\n  `Filter`, the row layout sort, `ColumnChunk`\u0027s copies and gathers,\n  `Expand`, `DataframeWindows`, the aggregate functions, hash\n  aggregation, `AssertType`, the interval, graph and tree operators and\n  `TopK`.\n- `Selection::indices()` returns the rows a selection keeps, so a loop\n  tests `prefix()` once rather than for every row. `FlatColumnReader`\n  keeps them rather than the selection.\n- `ColumnChunk::Gather`\u0027s loop moves out of its lambda into\n  `GatherValues()`, as the lambda\u0027s captures were read through the\n  closure.\n- `GraphTree` fills its node, seed and edge lists through presized\n  vectors rather than calling `push_back()` in its loops.\n\n**Benchmarks**\n\nRelease build, median of 7 runs, two rounds:\n\n| Benchmark | Change |\n|---|---:|\n| `BM_ExecFilterEqNullable` | -22% |\n| `BM_SortRowLayoutSorted` | -13% to -15% |\n| `BM_TreeNumberNodesIdColumn/10000` | -12% |\n| `BM_ExecFilterEqUint32` | -4% |\n\nThe equality scan of the counter table runs 14.7G instructions.\n\n**Testing**\n\nNo behaviour change. `perfetto_unittests` and all diff tests pass."
    },
    {
      "commit": "e6a2946f0b3e0d604db6eeec82328e2b293e32e6",
      "tree": "6b9a54461a3bbce1c5520275fc6c5e5bc6fd5d04",
      "parents": [
        "a73e2cb3763feea1a41f74257ee662e254d347c6"
      ],
      "author": {
        "name": "willmcvicker",
        "email": "willmcvicker@google.com",
        "time": "Tue Nov 24 16:25:52 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Wed Nov 25 00:25:52 2026 +0000"
      },
      "message": "traced_perf: fix pointer arithmetic DCHECK in ReadCounters (#8859)\n\nIn EventReader::ReadCounters(), `buf` is a `uint64_t*` while `rd_size`\nis measured in bytes (`sizeof(uint64_t) * (1 + num_counters)`).\nComputing `reinterpret_cast\u003cchar*\u003e(buf + rd_size)` advanced by `rd_size\n* 8` bytes instead of `rd_size` bytes, causing the DCHECK to always fail\nin debug builds when reading polled perf counters.\n\nCast `buf` to `const char*` before adding the byte offset `rd_size`.\n\nTesting:\n\nBuilt and verified with is_debug \u003d true (PERFETTO_DCHECK enabled) and\nis_clang \u003d true:\n      • tools/gn gen out/debug --check\n• tools/ninja -C out/debug traced_perf perfetto_profiling_unittests\n      • ./out/debug/perfetto_profiling_unittests (191/191 passed)\n\nSigned-off-by: Will McVicker \u003cwillmcvicker@google.com\u003e"
    },
    {
      "commit": "a73e2cb3763feea1a41f74257ee662e254d347c6",
      "tree": "7d2128e8c3cc45b591ac20ac1b28225833cc478e",
      "parents": [
        "ce46e999e2e51db2b25d926fbe262eadca8d6378"
      ],
      "author": {
        "name": "Ilya Leoshkevich",
        "email": "iii@linux.ibm.com",
        "time": "Wed Nov 25 00:00:32 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 23:00:32 2026 +0000"
      },
      "message": "tp: LE-encode Arrow serialization (#8820)\n\nAdd big-endian support to ArrowSerializer by LE-encoding the message\nprefixes, the footer size and every buffer element. Arrow files declare\nlittle-endian byte order in their Schema [1]. On BE, route dense numeric\ncolumns through the scatter path to byte-swap them instead of emitting\ntheir storage directly. Make Load(), which the deserializer shares,\nLE-decode for the serializer tests.\n\n[1]\nhttps://github.com/apache/arrow/blob/apache-arrow-26.0.1/docs/source/format/Columnar.rst?plain\u003d1#L1458"
    },
    {
      "commit": "ce46e999e2e51db2b25d926fbe262eadca8d6378",
      "tree": "631a80ae09dfce9031c22ffcf525a62645525c39",
      "parents": [
        "17d7c10065d143c18e855fd21e3a847f14c68d47"
      ],
      "author": {
        "name": "Samuel Wu",
        "email": "wusamuel@google.com",
        "time": "Tue Nov 24 12:15:56 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 20:15:56 2026 +0000"
      },
      "message": "traced_perf: Fix perf_event fd leak when stopping polling data sources (#8786)\n\nIn polling mode, PerfProducer::StopDataSource() only reads the final\ncounters and notifies the tracing service that the data source stopped.\nIt never disables the perf events or erases the data source entry.\n\nAs a result, the perf_event file descriptors stay open and the polling\ntimer keeps running even after the trace ends. Across consecutive\ntraces, these leaked fds pile up and can cause PMU counter multiplexing.\n\nCall InitiateReaderStop() and FinishDataSourceStop() instead, which\ndisables the events, flushes the trace writer, erases the data source\n(closing the fds), and stops polling.\n\nBug: 503368151\nTest: out/linux_clang_release/perfetto_unittests\n--gtest_filter\u003d\u0027*TargetFilter*:*EventConfig*:*UnwindQueue*\u0027\nTest: Verified on-device with 6 data sources\n\nSigned-off-by: Samuel Wu \u003cwusamuel@google.com\u003e"
    },
    {
      "commit": "17d7c10065d143c18e855fd21e3a847f14c68d47",
      "tree": "32debc6adf6c4b7665b0e9b1c81f977339920ca3",
      "parents": [
        "e7445ba24ad31461630c9e63eb4e5032a11034b4"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Tue Nov 24 11:50:41 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 11:50:41 2026 -0800"
      },
      "message": "ui: stop pointerdown propagation on TabStrip close and menu buttons (#8797)\n\nClicking the close or menu button on an inactive `TabStrip` tab fired\nthe parent tab\u0027s `onpointerdown` handler before `onclick`, activating\nthe tab being closed."
    },
    {
      "commit": "e7445ba24ad31461630c9e63eb4e5032a11034b4",
      "tree": "88a8de8323cacbd751228b8a4dc8335664815f88",
      "parents": [
        "22230d192041ffd3b4eaa43d7a9f3a1668f2cde6"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Tue Nov 24 11:50:41 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 11:50:41 2026 -0800"
      },
      "message": "ui: fallback to CloneSession by session_id for pre-v48 traced (#8796)\n\nPre-v48 `traced` (e.g. Android 15 QPR1) only supports `CloneSession` by\nnumeric `session_id` rather than `unique_session_name`. Fall back via\n`QueryServiceState(sessions_only\u003dtrue)` and cache the resolved session\nID."
    },
    {
      "commit": "22230d192041ffd3b4eaa43d7a9f3a1668f2cde6",
      "tree": "69387e858c7184c7edcf889a8b30754ea2c30c2c",
      "parents": [
        "58132b4d79d1419640dbef02ae82b3a7bf5e57ed"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Tue Nov 24 11:50:40 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 11:50:40 2026 -0800"
      },
      "message": "tp: reset eof_ in Rpc::ResetTraceProcessorInternal (#8795)\n\nResetting an RPC `TraceProcessor` instance cleared `bytes_parsed_` and\n`current_config_` but left `eof_` set to `true` from the previous trace,\ncausing subsequent parse calls on a reused RPC instance to fail."
    },
    {
      "commit": "58132b4d79d1419640dbef02ae82b3a7bf5e57ed",
      "tree": "be0d0756031580e52fa38b2c8956e4949f48be03",
      "parents": [
        "2167f5e3fd14bea303660aff6dd46ce8bfc7ac1e"
      ],
      "author": {
        "name": "willmcvicker",
        "email": "willmcvicker@google.com",
        "time": "Tue Nov 24 09:04:02 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 09:04:02 2026 -0800"
      },
      "message": "wattson: Gate 1D DSU static on active CPUs and recalibrate Tensor G6 curves (#8823)\n\n## Summary\nThis PR contains two commits improving Tensor G6 Wattson CPU/DSU power\nestimates:\n\n1. **`stdlib: wattson: Gate 1D DSU per-cluster static on active CPUs`**\n(`8c13652a15`)\n- On SoCs with a 1D DSU curve (`_filtered_curves_dsu_1d`, policy 255),\nper-policy `static_1d` represents dynamic L3/SCU/DSU power added by an\nactively\nrunning cluster (`idle \u003d -1`). Hardware power rail measurements show\nthat when\nall CPUs in a cluster are in WFI (`idle \u003d 0`), DSU power remains at the\n     `dsu_1d` floor.\n- Adds `_is_cpu_running!` and `running_static_1d` in `_w_unique_configs`\nand\nselects it only when a 1D DSU curve is present (legacy 1D/2D models\nretain\n     existing `static_1d` behavior).\n- Adds `WattsonStdlib:wattson_1d_dsu_active_static` diff test covering\ndeep\nidle, WFI, single-cluster active, and multi-cluster active states across\nDSU\n     OPPs.\n\n2. **`tp: Recalibrate Tensor G6 CPU, WFI, and DSU power curves`**\n(`f5991bd13e`)\n- Standardizes `Tensor_G6/cpu_1d.csv` across all CPU clusters (policy 0,\n2, 6)\nand DSU (policy 255) to consistent post-regulator logic + on-die cache\nSRAM\n     rails.\n\n## Validation\n- Slice-by-slice validation against hardware power measurements across\n34\nworkload traces (BouncyBall, Video Playback, Speedometer, and web power\n  benchmarks: `idle-msn`, `media-playback-youtube`, `scroll-cnn`,\n  `page-load-cnn`) plus pointer-chasing traces:\n- Overall CPU+DSU MAPE: `12.6% -\u003e 1.9%` (range `-5.2%` to `+6.9%`)\n- Web power benchmarks CPU+DSU MAPE: `12.0% -\u003e 3.2%`\n- Speedometer A-\u003eB CPU+DSU delta: `+57.9%` vs measured `+58.2%`\n(`+1,375` vs `+1,383 mW`)\n- Speedometer A-\u003eB DSU delta: `+10.4%` vs measured `+8.8%` (`+24.7` vs\n`+21.4 mW`)\n\nBug: 553610666\n\n---------\n\nSigned-off-by: Will McVicker \u003cwillmcvicker@google.com\u003e"
    },
    {
      "commit": "2167f5e3fd14bea303660aff6dd46ce8bfc7ac1e",
      "tree": "a2fc789441890120306e08afa38ca64fc4fdbb96",
      "parents": [
        "454fba5cd279ff9b7d67721c27c4edf4598e3ab4"
      ],
      "author": {
        "name": "aliasgar81",
        "email": "aliasgar@meta.com",
        "time": "Tue Nov 24 08:30:21 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 16:30:21 2026 +0000"
      },
      "message": "base: clamp task runner poll timeout to INT_MAX (#8759)\n\nUnixTaskRunner narrows the delay to the next delayed task to int before\npolling. When the only pending task is more than INT_MAX ms (~24.8 days)\naway, the cast wraps negative and std::max(0, ...) turns it into a 0 ms\npoll timeout, so the runner busy-polls until the deadline.\nPostDelayedTask takes a uint32_t delay, so any value above INT_MAX\nreaches this path.\n\nWe hit this in traced_probes on Android: a sys_stats data source with no\npolling period posts a far-off tick, and traced_probes then spins at a\nfull core until its CPU watchdog aborts it.\n\nLockFreeTaskRunner has the same unclamped cast; there it wraps to a\nnegative timeout, which poll() treats as infinite, so it oversleeps\nrather than spins. Both now clamp to [0, INT_MAX].\n\nTest: adds TaskRunnerTest.FarFutureDelayedTaskDoesNotSpin, which posts\nonly a UINT32_MAX ms task, quits from another thread after 200 ms, and\nchecks the run thread used under 100 ms of CPU. Without the fix,\nUnixTaskRunner uses ~199 ms of CPU and the test fails; with it, the full\ntask_runner_unittest suite passes."
    },
    {
      "commit": "454fba5cd279ff9b7d67721c27c4edf4598e3ab4",
      "tree": "65cca6c5249a905557b51c91f20385b46995da54",
      "parents": [
        "c402482e1122ce4217b80fd8b25db3c3d90f07bd"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Tue Nov 24 17:20:08 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 16:20:08 2026 +0000"
      },
      "message": "perfetto: Ship `py.typed` and declare inline typing support (#8852)\n\nFrom the [typing\nspec](https://typing.python.org/en/latest/spec/distributing.html#packaging-type-information):\n\n\u003e Package maintainers who wish to support type checking of their code\nMUST add a marker file named `py.typed` to their package supporting\ntyping. This marker applies recursively: if a top-level package includes\nit, all its sub-packages MUST support type checking as well.\n\nAnd since perfetto has solid public type coverage (99.3%, to be exact;\nsee https://jorenham.github.io/typestats/dashboard/report/#perfetto), it\nwould be a waste for type-checkers to ignore these inline annotations\n(which is what happens without `py.typed`). Now that #204 is merged,\nthis likely won\u0027t cause any issues for downstream typed projects.\n\nI confirmed that a locally built sdist and wheel include this `py.typed`\nnow, as intended.\n\nThis also adds the corresponding official PyPI `\"Typing :: Typed\"`\nclassifier, because that now applies (and looks pretty cool IMO)."
    },
    {
      "commit": "c402482e1122ce4217b80fd8b25db3c3d90f07bd",
      "tree": "0a24af074b5b7bdb5ccb381090d8b12d7b26151b",
      "parents": [
        "838bfbd5b89f717eb99d9df22cac46409cf94805"
      ],
      "author": {
        "name": "Chidera",
        "email": "jenniferolibie@gmail.com",
        "time": "Tue Nov 24 16:10:27 2026 +0000"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 16:10:27 2026 +0000"
      },
      "message": "Fix Breakpad symbol lookup for Chrome module IDs (#8812)\n\nChrome records module IDs as 33-character hex strings, and BuildId keeps\nsuch IDs as text. BreakpadSymbolizer hex-encoded that text again before\nbuilding the symbol file name, so it looked up \u0027\u003chex of module ID\ntext\u003e.breakpad\u0027 (66 characters) instead of \u0027\u003cmodule_id\u003e.breakpad\u0027 and\nnever found the symbols.\n\nUse BuildId::ToHex(), which keeps 33-character Chrome module IDs as they\nare and hex-encodes raw build IDs as before. This also applies to the\nsymbolization summary.\n\nBug: 586951445"
    },
    {
      "commit": "838bfbd5b89f717eb99d9df22cac46409cf94805",
      "tree": "3bfb45a4397a1a30748c9860212cb2c56d36e729",
      "parents": [
        "a01b3d5b3b8f2bac0d12a0c0eb84530c4da84c95"
      ],
      "author": {
        "name": "Joren Hammudoglu",
        "email": "jhammudoglu@gmail.com",
        "time": "Tue Nov 24 16:46:16 2026 +0100"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 15:46:16 2026 +0000"
      },
      "message": "perfetto: Explicit Python public re-exports (#8847)\n\nSome Python static type-checker such as Pyright did not recognize the\nimplicit re-exports in perfetto\u0027s public modules as importable, and\ninstead inferred `Any` (or, equivalently, `Unknown`) for many `perfetto`\nimports.\n\nThis fixes it by using the explicit `import x as x` re-export style.\nThis way of declaring explicit re-exports is officially supported by the\n[Python typing\nspec](https://typing.python.org/en/latest/spec/distributing.html#import-conventions),\nand therefore all compliant static type-checkers. Some of the big guys\nlike PyTorch also use this convention (see e.g.\nhttps://github.com/pytorch/pytorch/blob/130edca4ebcad531eb267df71388428f1bb87af4/torch/nn/__init__.py).\nThe alternative would be to declare the exports in `__all__`, and if\nthat has your preference, we can go with that instead here."
    },
    {
      "commit": "a01b3d5b3b8f2bac0d12a0c0eb84530c4da84c95",
      "tree": "7eb675f28f398100a6952013267b12af6428b1e2",
      "parents": [
        "06db66f017e2c397e574e3e18fc90b3e99e7c5e1"
      ],
      "author": {
        "name": "Lalit Maganti",
        "email": "lalitm@google.com",
        "time": "Tue Nov 24 06:51:10 2026 -0800"
      },
      "committer": {
        "name": "GitHub",
        "email": "noreply@github.com",
        "time": "Tue Nov 24 06:51:10 2026 -0800"
      },
      "message": "tp: end held objects\u0027 runs without a vtable (#8836)\n\nEvery Held\u003cT\u003e inherited RunHeld, whose virtual EndRun and virtual\ndestructor made the compiler emit a vtable and out-of-line destructors\nfor each of the 34 types held, with ~T inlined into each. Nothing ever\ndeletes a Held through RunHeld: the executor only needs to end runs.\n\nA Held\u003cT\u003e now registers its address and a function which ends its run,\nas RunValue already does for plain values. This makes\ntrace_processor_shell 11 KB smaller with no change in behaviour."
    }
  ],
  "next": "06db66f017e2c397e574e3e18fc90b3e99e7c5e1"
}
