tp: bundle source files and disassembly alongside symbols `trace_processor bundle` now also writes sources.pb and disassembly.pb members so the UI can show annotated source and assembly without the binaries or source tree at hand. Source files are the ones referenced by symbolized frames, both from symbols already in the trace and those just produced. Only absolute paths are tried, files over 1 MB are skipped and at most 16 MB is bundled; --source-prefix-map FROM=TO reads files under a different root while keeping the debug info path as the key, and --no-sources skips the step. Disassembly covers the functions containing sampled addresses of every mapping the local symbolizer resolved against a binary on disk. The symbolizer now reports that binary and the mapping-to-link-time address correction; the bundler finds the containing functions with llvm-nm and disassembles each with llvm-objdump, keeping bytes, text, statically known branch targets and source lines. When the symbols came from a split debug file (a .dSYM bundle or an ELF holding only debug info) the code is taken from the mapping's own path, verified to have the same build id, with objdump pointed at the debug file for lines. The last symbol of a section extends to the section's end. --no-disassembly skips the step. Both steps report what they bundled and, with --verbose, what they could not.
Perfetto is an open-source suite of SDKs, daemons and tools which use tracing to help developers understand the behaviour of complex systems and root-cause functional and performance issues on client and embedded systems.
It is a production-grade tool that is the default tracing system for the Android operating system and the Chromium browser.
Perfetto is not a single tool, but a collection of components that work together:
Perfetto was designed to be a versatile and powerful tracing system for a wide range of use cases.
ftrace, allowing you to visualize scheduling, syscalls, interrupts, and custom kernel tracepoints on a timeline.chrome://tracing. Use it to debug and root-cause issues in the browser, V8, and Blink.We‘ve designed our documentation to guide you to the right information as quickly as possible, whether you’re a newcomer to performance analysis or an experienced developer.
New to tracing? If you're unfamiliar with concepts like tracing and profiling, start here:
Ready to dive in? Our “Getting Started” guide is the main entry point for all users. It will help you find the right tutorials and documentation for your specific needs:
Want the full overview? For a comprehensive look at what Perfetto is, why it's useful, and who uses it, see our main documentation page:
For users interested in the Debian distribution of Perfetto, the official source of truth and packaging efforts are maintained at Debian Perfetto Salsa Repository
Have questions? Need help?
We follow Google's Open Source Community Guidelines.