Open Bug 1778494 Opened 2 years ago Updated 1 year ago

Add API in ChromeUtils to check if profiler is active

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: jdescottes, Unassigned, Mentored)

References

Details

(Whiteboard: [fxp-profiler])

From https://phabricator.services.mozilla.com/D151211#4942133

If we need to know if the profiler is active from a worker, it should be relatively easy to add a new ChromeUtils method returning the value of profiler_thread_is_being_profiled_for_markers().

Once this is added we can use it from devtools' Actor.js and make sure we have markers in worker threads as well.

Crash Signature: From https://phabricator.services.mozilla.com/D151211#4942133 > If we need to know if the profiler is active from a worker, it should be relatively easy to add a new ChromeUtils method returning the value of profiler_thread_is_being_profiled_for_marker…
Component: General → Gecko Profiler
Product: DevTools → Core
Mentor: canaltinova
Whiteboard: [fxp] → [fxp-profiler]
You need to log in before you can comment on or make changes to this bug.