From 01180e6e37c3e06953cd5cbf8cf10f8316edf5d0 Mon Sep 17 00:00:00 2001 From: Jie Sheng <jiesheng@google.com> Date: Fri, 28 Mar 2025 20:48:01 -0700 Subject: [PATCH] Add how to setup rr tool in the linux debug doc for chromium. Change-Id: I69543b2b775bc4bf3e201753800d183223533600 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6404573 Commit-Queue: Jie Sheng <jiesheng@google.com> Reviewed-by: Gary Tong <gatong@chromium.org> Cr-Commit-Position: refs/heads/main@{#1439838} --- docs/linux/debugging.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/linux/debugging.md b/docs/linux/debugging.md index 5cbe7a61cbb8e..33c501982d6b8 100644 --- a/docs/linux/debugging.md +++ b/docs/linux/debugging.md @@ -332,6 +332,10 @@ You can use [rr](https://rr-project.org) for time travel debugging, so you can also step or execute backwards. This works by first recording a trace and then debugging based on that. +For Googlers, if you have a remote cloud machine, please follow this +[instruction](https://engdoc.corp.google.com/eng/doc/devguide/debugging/rr.md#setting-up-rr) +to set up the machine in order to use the rr tool. + You need an up-to-date version of rr, since rr is frequently updated to support new parts of the Linux system call API surface that Chromium uses. If you have any issues with the latest release version, try compiling rr