Closed Bug 974986 Opened 10 years ago Closed 10 years ago

Specify stack address in SamplerStackFramePrintfRAII::SamplerStackFramePrintfRAII

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla30

People

(Reporter: jchen, Assigned: jchen)

Details

Attachments

(1 file)

This line at [1] runs when using SamplerStackFramePrintfRAII when the profiler is inactive or in privacy mode,

> mHandle = mozilla_sampler_call_enter(aDefault, nullptr, false, line);

I think it's a bug that it passes nullptr as the stack address.

[1] http://mxr.mozilla.org/mozilla-central/source/tools/profiler/GeckoProfilerImpl.h?rev=82cd92e10736#335
Attachment #8379114 - Flags: review?(bgirard) → review+
https://hg.mozilla.org/mozilla-central/rev/560957199199
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla30
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: