---
name: v8-trace-processor
description: "Managing and querying Perfetto traces using the trace_processor MCP server."
license: "NOASSERTION"
metadata:
  decimalai-skill-id: "13c4de9d-4e6c-49c7-a9d7-954e55f6b820"
  decimalai-version-id: "47414153-7e0e-483d-8894-84e655aae2d3"
  decimalai-version: "1"
  decimalai-body-sha256: "a2aa611bbbb543bd1c86024f7790d3ef58628633717e084b703cb1c5d238c674"
  decimalai-name: "v8/trace_processor"
  decimalai-format: "1"
  decimalai-invocation: "model"
  decimalai-category: "devops"
  decimalai-source: "https://app.decimal.ai/s/v8-trace-processor@1/SKILL.md"
---
# Trace Processor

The `trace_processor` extension launches a long-running FastMCP server wrapping
Perfetto's trace processor capabilities, allowing seamless interaction with
trace files (`.pftrace`, `.perfetto-trace`, `.pb`).

## Writing PerfettoSQL and Schema Analysis

For comprehensive guidance on querying traces, utilizing standard library
modules, and schema structures, refer directly to the native Perfetto AI skills
inside `third_party/perfetto/ai/skills`:

- **Querying Traces**: See the
  [perfetto querying traces](/third_party/perfetto/ai/skills/perfetto/infra-references/querying.md)
  skill.
- **Common SQL Tables**: Explore standard table definitions such as `slice`,
  `thread`, `process`, `sched_slice`, and `track`.
- **Perfetto Standard Library**: Utilize standard library modules like
  `slices.with_context` by starting queries with `INCLUDE PERFETTO MODULE`.

## Official Perfetto References

- Trace Processor reference:
  <https://perfetto.dev/docs/analysis/trace-processor>
- Generated SQL Tables: <https://perfetto.dev/docs/analysis/sql-tables>
- Standard Library Documentation:
  <https://perfetto.dev/docs/analysis/stdlib-docs>
