rr-collect-symbols(1)
π NAME π
rr-collect-symbols β bestie, this is the lil tool that adds symbols to your rr traces β¨
πΈ SYNOPSIS πΈ
rr-collect-symbols <trace-dir> [<url> | <path>]
π¦ DESCRIPTION π¦
rr-collect-symbols merges symbols into an rr(1) trace. It's giving "glow-up for your stack traces" π
okay so here's the vibe check on your trace dir: the trace sitting in trace-dir must be packaged, with rr pack, so that all the relevant files actually show up inside the trace directory. No pack, no symbols, no cap π§
Now, where do the symbols come from? Two options, pick your fighter:
- a ZIP file downloaded from url, or
- a
.build-iddirectory under path, with the usual structure.
and path defaults to /usr/lib/debug, which means it'll just go ahead and use any available system debuginfo files. free real estate, literally π
Where do the extracted debuginfo files end up? Inside the trace, under a debug subdirectory, in a .build-id directory with the usual structure. Slay, organized, iconic π
and one more thing, because of course there's a plot twist: if a debuginfo file contains a .gnu_debugaltlink section, then the referenced file will also be copied β if it's available β with the same file name as the .debug file, but with a .sup suffix. she brings her friend to the party, we love that π«Ά
fr fr, don't skip the rr pack step. the trace must be packaged first or this whole thing doesn't do its thing π
π AUTHORS π
rr was written by Robert O'Callahan, Chris Jones, Nathan Froyd and others. a whole squad, main character energy, we stan π
This manual page was adapted from the help output by Stephen Kitt <skitt@debian.org>, for the Debian GNU/Linux system (but may be used by others). It was last modified for rr version 5.3.0. ty Stephen, you ate π
soooo that's the whole page bestie, documented in May 2020, living in the rr-collect-symbols(1) manual, sourced from rr version 5.3.0 β go collect those symbols, mwah πβ¨
π¦ where this page comes from
- debian bookworm: rr 5.6.0-3+b1 Β· X11 AND BSD-2
- debian trixie: rr 5.9.0-3 Β· X11 AND BSD-2
- ubuntu jammy: rr 5.5.0-1build1 Β· X11 AND BSD-2
- ubuntu jammy: rr 5.5.0-1ubuntu0.1 Β· X11 AND BSD-2
- ubuntu noble: rr 5.7.0-2build1 Β· X11 AND BSD-2
- ubuntu noble: rr 5.7.0-2ubuntu0.24.04.1 Β· X11 AND BSD-2
- ubuntu questing: rr 5.9.0-3
- ubuntu resolute: rr 5.9.0-5 Β· X11 AND BSD-2
- ubuntu stonking: rr 5.9.0-9 Β· X11 AND BSD-2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms