Open
Bug 899764
Opened 11 years ago
Updated 3 years ago
Relax profiler_get_backtrace restrictions
Categories
(Core :: Gecko Profiler, enhancement, P3)
Core
Gecko Profiler
Tracking
()
NEW
People
(Reporter: bugzilla, Unassigned)
References
(Depends on 1 open bug)
Details
Currently mozilla_sampler_get_backtrace() does not capture a stack if either:
(a) We're not currently profiling; or
(b) The profiler is in privacy mode.
For the purposes of mozilla_sampler_get_backtrace(), these restrictions are too conservative. In particular, we should still be able to capture a stack using mozilla_sampler_get_backtrace() even if the profiler is initialized but not currently running. In the case of (b), we can still capture a backtrace as long as we restrict ourselves to the C++ stack.
Comment 1•11 years ago
|
||
I think we can kill (b). Currently in the platform code we already keep URLs in memory and we already have a system for grabbing backtraces. It's up the user of the backtrace to deal with private browsing correctly.
Fixing a) would be great.
Reporter | ||
Updated•8 years ago
|
Assignee: aklotz → nobody
Depends on: 1651259
Severity: normal → N/A
Type: defect → enhancement
Priority: -- → P3
You need to log in
before you can comment on or make changes to this bug.
Description
•