list_stdlib_modules
Returns a curated list of PerfettoSQL stdlib modules with descriptions and example queries. Helps explore available modules before writing SQL.
Instructions
List a curated set of PerfettoSQL stdlib modules. Returns a JSON array — each entry has module (the value for INCLUDE PERFETTO MODULE), domain (chrome / android / generic), views, description, and an illustrative usage query.
Use when: exploring what's available before writing SQL against an unfamiliar trace type, or discovering modules outside the dedicated chrome_* tools (memory, sched, wattson, v8, etc.). Call this before load_trace if you want to scope your analysis upfront — no trace needs to be loaded.
Don't use for: discovering all stdlib modules — this is a curated subset of the most useful ones. The exhaustive list lives at https://perfetto.dev/docs/analysis/stdlib-docs.
Parameters: none.
Then use execute_sql with INCLUDE PERFETTO MODULE <module>; SELECT ... (both can be in one call). If PERFETTO_TP_PATH points to a custom binary, some modules may not exist in that version — verify column names with list_table_structure if a query fails.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||