Closed Bug 1502917 Opened 2 years ago Closed 2 years ago

Adding ChromeUtils.RequestProcInfo()

Categories

(Core :: Widget, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: tarek, Assigned: tarek)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

Adding a function that returns Firefox processes info.

The work in done in two layers:

- a new platform-agnostic module in widget/procinfo that returns info on a process given its pid
- a Chrome util function that iterates on processes started by Firefox and use procinfo to collect info

This function can be used to collect Firefox' processes behavior over time.

The platform agnostic function will be developed only for Linux/Win32/macOs for now and might be extended later to support all OSes flavors Firefox currently supports.
RE: discussion in mozlando, about adding proc/thread info. Especially interested in getting any thread info for web assembly! But starting with any level of thread info is great.
Assignee: nobody → tarek
Attachment #9020792 - Attachment description: Bug 1502917 - Adding ChromeUtils.GetProcInfo() → Bug 1502917 - Adding ChromeUtils.GetProcInfo() - r?ehsan
Attachment #9020792 - Attachment description: Bug 1502917 - Adding ChromeUtils.GetProcInfo() - r?ehsan → Bug 1502917 - Adding ChromeUtils.GetProcInfo() - r?ehsan,mstange
Attachment #9020792 - Attachment description: Bug 1502917 - Adding ChromeUtils.GetProcInfo() - r?ehsan,mstange → Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r?ehsan,mstange
Summary: Adding ChromeUtils.GetProcInfo() → Adding ChromeUtils.RequestProcInfo()
Attachment #9020792 - Attachment description: Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r?ehsan,mstange → Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r?ehsan,mstange,kershaw
Attachment #9020792 - Attachment description: Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r?ehsan,mstange,kershaw → Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r?ehsan,mstange,kershaw,aklotz
Attachment #9020792 - Attachment description: Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r?ehsan,mstange,kershaw,aklotz → Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r?ehsan,mstange,kershaw,mhowell
Blocks: 1529022
Blocks: 1529023
Blocks: 1529510
Component: Performance Monitoring → Widget
Product: Toolkit → Core
Pushed by tziade@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/cd5dbeee8c5d
Adding ChromeUtils.RequestProcInfo() - r=Ehsan,mstange,kershaw,mhowell
Pushed by tziade@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/95d0c10a390c
Adding ChromeUtils.RequestProcInfo() - r=Ehsan,mstange,kershaw,mhowell
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
Flags: needinfo?(tarek)
Regressions: 1634585
Regressions: 1642257
You need to log in before you can comment on or make changes to this bug.