perfetto
Production-grade client-side tracing, profiling, and analysis for complex software systems
What XERJ indexed
Snapshot
Only src/trace_redaction at commit 477c28ae06 (2026-10-05). main is 357 commits ahead.
Selected work

“Redactor trace size optimization: Add synthetic process adjacent cpu …”. 9 files, 954 lines in src/trace_redaction, the project root.
Licence
The repository
LICENSE file checked at the pinned commit; the author agreed to inclusion.
The XERJ corpus
The author agreed by email on 2026-10-12. Same terms as the repository. Answers name the repo, the commit and the file:line.
selected for the XERJ Corpus Hublicence clearedsuggested use: adapt with attribution
Example questions
- What does src/trace_redaction do in perfetto?
Inside the indexed corpus
- 12,833 files, 122.7 MB in total, about 9.8 KB per file.
- The selected commit changed 9 of those files.
- Languages by size: C++ 54.3%, TypeScript 24.2%, Python 13%, C 3.5%, Starlark 1.4%.
- On GitHub since 2019-12-10, last push 2026-10-31, 83,508 commits on main.
- The pin is 357 commits behind main; the corpus answers from the pinned code, not the newest.
Licence on GitHub and in the corpus
GitHub reported Apache-2.0 for google/perfetto on 2026-10-31, but the LICENSE file at commit 477c28ae06 was reviewed as NOASSERTION. The corpus is the pinned commit, so answers from it follow NOASSERTION.
Contributors
Edgar Arriaga (@edgararriagag) has 1 selected repository on the hub.
Using XERJ with perfetto
- Index a monorepo so your agent stops reading the whole repo The pinned tree has 12,833 files.
- Find every place a config key is set in a repo The hub files it under Operations and SRE.
- Ask questions about a GitHub repo without cloning it
- Index a reference library for a coding agent
The prompt
Paste it into your AI agent. It clones google/perfetto at the pinned commit and indexes it on your machine.
Search the GitHub repository google/perfetto with XERJ (https://hub.xerj.org/corpus/google--perfetto). Run these in a shell, in order, and check each result before the next: 1. xerj --help (success: it prints usage). If xerj is missing: curl -fsSL https://xerj.org/get | sh 2. git clone https://github.com/google/perfetto perfetto && git -C perfetto checkout 477c28ae0653e446a16ced4fc3b489bfb3e357fa 3. Start a local node and leave it running: xerj --insecure --data-dir ./xerj-data 4. xerj autoindex ./perfetto --url http://127.0.0.1:9200 --prefix perfetto --progress plain 5. xerj autoindex map --url http://127.0.0.1:9200 Then answer my question from the indexed files and cite the ax_path of every hit. Query syntax: https://xerj.org/llms.txt Licence: check the LICENSE file. Keep the copyright notice and credit the authors.
Related
Edgar ArriagaOperations and SRE corpora
Stats: GitHub API, fetched 2026-10-31. Snapshot: the git tree at the pinned commit. Selected work and consent: the XERJ registry.