Trace Processor

Managing and querying Perfetto traces using the trace_processor MCP server.

v8 10c3ae1 1.2 KB Updated

File contents

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 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

v8/v8/tree/main/agents/plugins/trace_processor/skills/trace_processor commit 10c3ae1ade

Frequently asked questions

npx skillmds@latest add v8/trace-processor