Closed Bug 1465922 Opened 6 years ago Closed 3 years ago

Make it possible to choose which threads are sampled when running with --geckoProfile

Categories

(Testing :: Talos, enhancement, P3)

Version 3
enhancement

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1702310

People

(Reporter: mconley, Unassigned)

References

Details

We already have --geckoProfile and --geckoProfileEntries for how big the buffer to be. We should also add something like --geckoProfileThreads to provide a list of thread filters to sample for.

Bonus points if we go the extra mile and add --geckoProfileSamplingRate to override the tests default sampling rate.

We've added this to Raptor recently. Is there still interest in supporting this in Talos?

Flags: needinfo?(mconley)
Priority: -- → P3

(In reply to Dave Hunt [:davehunt] [he/him] ⌚️UTC from comment #1)

We've added this to Raptor recently. Is there still interest in supporting this in Talos?

I meant to reference the bug here, it's bug 1544686.

Yes, very much so!

Flags: needinfo?(mconley)

I believe this should work once bug 1702310 lands, though you might need to spell it --gecko-profile-entries, --gecko-profile-interval, and --gecko-profile-threads. I left in the existing aliases, but I don't think I added new ones for eg --geckoProfileThreads. They wouldn't be hard to add if the camelCase ones are preferred for some reason; I was just trying to follow the current code that seems to deprecate those names.

Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.