Open
Bug 1321607
Opened 8 years ago
Updated 2 years ago
Expose the list of all threads which are available for profiling through nsIProfiler
Categories
(Core :: Gecko Profiler, task, P2)
Core
Gecko Profiler
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox53 | --- | affected |
People
(Reporter: mstange, Unassigned)
References
(Blocks 1 open bug)
Details
No description provided.
Reporter | ||
Comment 1•8 years ago
|
||
GetAvailableThreads
Comment 2•7 years ago
|
||
Note to Markus: I don't see any `GetAvailableThreads` in the gecko codebase at the moment. Is [1] the right data ? [1] https://searchfox.org/mozilla-central/rev/bab833ebeef6b2202e71f81d225b968283521fd6/js/src/vm/HelperThreads.h#102
Reporter | ||
Updated•5 years ago
|
Summary: Expose the list of profileable threads through nsIProfiler → Expose the list of all threads which are available for profiling through nsIProfiler
Reporter | ||
Comment 3•4 years ago
|
||
Oh, wow, let me supply some context:
The profiler currently has a list of registered threads, in CorePS::RegisteredThreads
. It could easily expose that list via a new nsIProfiler method, for example nsIProfiler.getAvailableThreads.
Comment 4•2 years ago
|
||
This might be useful for about:processes to show an icon next to threads that are not registered.
And I was thinking about the reverse as well: about:profiling could also list the threads that are not registered, to both help Firefox devs to find more thread to register, and for users to know which threads may not (yet) appear in profiles.
You need to log in
before you can comment on or make changes to this bug.
Description
•