)]}'
{
  "commit": "7094e2fbef8879460cb5a0a8a06bdb3931a439a0",
  "tree": "86fe7d4199f9b3ebc972a969318807ee15b4867c",
  "parents": [
    "5dba463ad4f9288ac30774185b65cbbe34bd2ce1"
  ],
  "author": {
    "name": "David Reveman",
    "email": "reveman@meta.com",
    "time": "Wed May 13 15:36:23 2026 -0700"
  },
  "committer": {
    "name": "David Reveman",
    "email": "reveman@meta.com",
    "time": "Wed May 13 18:22:09 2026 -0700"
  },
  "message": "sdk: honor TraceConfig.compression_type on the in-process backend\n\nMirror what `src/traced/service/service.cc` does for the system\nbackend: when the SDK is built with `enable_perfetto_zlib\u003dtrue`,\nconstruct the in-process backend\u0027s TracingService with\n`init_opts.compressor_fn \u003d \u0026ZlibCompressFn` so that\n`TraceConfig.compression_type \u003d COMPRESSION_TYPE_DEFLATE` actually\ntakes effect. Without this, the in-process service is created with\ndefault `init_opts` (compressor_fn \u003d\u003d nullptr) and the\n`compression_type` field on the TraceConfig is silently ignored —\nembedders writing a local `.pftrace` via `TracingSession::Setup(cfg, fd)`\ngot an uncompressed file regardless of what they set in the config.\n\nThe compressor is wired only when PERFETTO_ZLIB is enabled, matching\nthe existing pattern in `service.cc:136-139`. No new public API; the\nbehavior is opt-in via the TraceConfig field that already exists.\n",
  "tree_diff": [
    {
      "type": "modify",
      "old_id": "9725ee96767319122ab6636585f0c4a296efcdb3",
      "old_mode": 33188,
      "old_path": "Android.bp",
      "new_id": "041df2d63d7281d435ea8c7d590b5cdfab3648bb",
      "new_mode": 33188,
      "new_path": "Android.bp"
    },
    {
      "type": "modify",
      "old_id": "637cc3c3f05645e9dd4cd1c4632de3810f74d683",
      "old_mode": 33188,
      "old_path": "BUILD",
      "new_id": "02fd70ddb08d27b7029401c3c5719e63f9ddc525",
      "new_mode": 33188,
      "new_path": "BUILD"
    },
    {
      "type": "modify",
      "old_id": "acd6bbf95bdd07925fe359ea631e567753ceda4a",
      "old_mode": 33188,
      "old_path": "src/tracing/BUILD.gn",
      "new_id": "730ccc9ebc1d0838f70e081feb8641eac4567ec5",
      "new_mode": 33188,
      "new_path": "src/tracing/BUILD.gn"
    },
    {
      "type": "modify",
      "old_id": "7d2d7e6624d7c1039aabfc8b43ffc7e264ea4248",
      "old_mode": 33188,
      "old_path": "src/tracing/internal/in_process_tracing_backend.cc",
      "new_id": "85891421de511d97592ab627f3848d2771bc120e",
      "new_mode": 33188,
      "new_path": "src/tracing/internal/in_process_tracing_backend.cc"
    }
  ]
}
