Skip to content

"info recording" command that gives the path to the recording - #4085

Merged
rocallahan merged 1 commit into
rr-debugger:masterfrom
timo:info_recording_command
Jul 22, 2026
Merged

rocallahan merged 1 commit into
rr-debugger:masterfrom
timo:info_recording_command

Conversation

@timo

@timo timo commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

info recording prints out the path of the recording folder.

This is useful for running additional rr replay sessions from an existing one, or for calling rr dump to get data that is not otherwise surfaced by any gdb commands.

@rocallahan rocallahan left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good modulo these minor comments.

Comment thread src/test/info_recording.c Resolved
Comment thread src/DebuggerExtensionCommand.cc Resolved
@timo
timo force-pushed the info_recording_command branch from 21173d6 to 14536e9 Compare July 21, 2026 16:48
Comment thread src/DebuggerExtensionCommand.cc Resolved
@timo
timo force-pushed the info_recording_command branch from 14536e9 to 110afcd Compare July 21, 2026 20:49
@rocallahan
rocallahan merged commit a009e7e into rr-debugger:master Jul 22, 2026
4 of 5 checks passed
@timo
timo deleted the info_recording_command branch July 22, 2026 13:27
@GitMensch

Copy link
Copy Markdown
Contributor

Just wondering - Wouldn't it be useful to also output more data - like the amount of events (the when-end?), the current event (= recording equivalence to "program stopped at ..." from "info program"), maybe the recording size on disk, ...?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants