Open Bug 1750806 Opened 3 years ago Updated 8 months ago

Adding the ability to run Raptor through RR

Categories

(Testing :: Raptor, task, P3)

task

Tracking

(Not tracked)

People

(Reporter: sparky, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [fxp])

Attachments

(1 file)

This bug is for investigating adding the ability to run Raptor through RR. There are a good number of devs that use this for debugging so this would help them when it comes to investigating regressions.

Furthermore, we should also look into gdb using --debugger <> [--debugger-args <>].

In this bug, we should either implement a method for both of these methods, or come up with a plan to get them working.

:sparky do we have support for these in MozPerfTest?

Flags: needinfo?(gmierz2)

:davehunt, no we should implement this there as well as part of the tier-1 effort.

Flags: needinfo?(gmierz2)
Priority: P2 → P3

:gerard-majax has done some hacking and found a way to get rr working with raptor using this patch:

diff --git a/testing/mozbase/rust/mozrunner/src/runner.rs b/testing/mozbase/rust/mozrunner/src/runner.rs
index 3f9c114785b72..f0f70da8a2399 100644
--- a/testing/mozbase/rust/mozrunner/src/runner.rs
+++ b/testing/mozbase/rust/mozrunner/src/runner.rs
@@ -160,11 +160,12 @@ impl FirefoxRunner {
     /// i.e. _/Applications/Firefox.app_, as well as to an executable program
     /// such as _/Applications/Firefox.app/Content/MacOS/firefox_.
     pub fn new(path: &Path, profile: Option<Profile>) -> FirefoxRunner {
+       let rr_path = "/home/alexandre/Documents/codaz/Mozilla/MiscWork/rr-install/bin/rr";
         FirefoxRunner {
-            path: path.to_path_buf(),
+            path: rr_path.into(),
             envs: HashMap::new(),
             profile,
-            args: vec![],
+            args: vec![path.into()],
             stdout: None,
             stderr: None,
         }
Flags: needinfo?(lissyx+mozillians)
Flags: needinfo?(lissyx+mozillians)

Sorry for the need info!

Assignee: nobody → lissyx+mozillians
Assignee: lissyx+mozillians → nobody
Summary: Investigate adding the ability to run Raptor through RR → Adding the ability to run Raptor through RR
See Also: → 1942525
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: