Closed Bug 1328373 Opened 4 years ago Closed 4 years ago

Remove dead mozilla_sampler_* functions

Categories

(Core :: Gecko Profiler, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla53
Tracking Status
firefox53 --- fixed

People

(Reporter: mstange, Assigned: njn)

References

Details

Attachments

(3 files, 1 obsolete file)

It's unused.
Attached patch Remove mozilla_sampler_save (obsolete) — Splinter Review
It's unused.
Attachment #8827720 - Flags: review?(mstange)
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
Actually, more than just mozilla_sampler_save() can be removed...
Summary: Remove mozilla_sampler_save → Remove dead mozilla_sampler_* functions
Attachment #8827720 - Attachment is obsolete: true
Attachment #8827720 - Flags: review?(mstange)
This also allows the removal of GeckoSampler::ToFileAsync() and one overloading
of ProfileGatherer::Start().
Attachment #8827749 - Flags: review?(mstange)
Attachment #8827742 - Flags: review?(mstange) → review+
Attachment #8827743 - Flags: review?(mstange) → review+
Comment on attachment 8827749 [details] [diff] [review]
(part 3) - Remove mozilla_sampler_save_profile_to_file_async

Review of attachment 8827749 [details] [diff] [review]:
-----------------------------------------------------------------

This is currently intended to be called from the debugger (at least that's how Thinker is using it to get TaskTracer data at the moment). We should also expose it on nsIProfiler so that Talos profiling can use it. Talos currently uses dumpProfileToFile which calls the sync version of this and thus misses subprocess profiles.
Attachment #8827749 - Flags: review?(mstange) → review-
https://hg.mozilla.org/mozilla-central/rev/b7baa1086a60
https://hg.mozilla.org/mozilla-central/rev/c93c8b83e929
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla53
You need to log in before you can comment on or make changes to this bug.