Closed Bug 1008243 Opened 11 years ago Closed 3 years ago

Replace set_stderr_callback with proper weak linking

Categories

(Core :: Gecko Profiler, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED WONTFIX

People

(Reporter: BenWa, Unassigned)

References

Details

+++ This bug was initially created as a clone of Bug #1004899 +++ We need a way for printf_stderr to call the profiler only if it is linked with the profiler. Right now for simplicity we went with an optional callback set by the profiler. We should fix this by using a proper cross platform weak linking mechanism provided by mozglue.

profiler_log (where stderr was sent) is not there anymore.

Note that MOZ_LOGs can be output as markers with MOZ_LOG="profilermarkers,..."

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