Closed
Bug 1367654
Opened 6 years ago
Closed 6 years ago
Clean up ProfileEntry
Categories
(Core :: Gecko Profiler, enhancement)
Core
Gecko Profiler
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: n.nethercote, Assigned: n.nethercote)
Details
Attachments
(3 files)
6.75 KB,
patch
|
shu
:
review+
|
Details | Diff | Splinter Review |
7.75 KB,
patch
|
mstange
:
review+
|
Details | Diff | Splinter Review |
1.82 KB,
patch
|
shu
:
review+
|
Details | Diff | Splinter Review |
No description provided.
![]() |
Assignee | |
Comment 1•6 years ago
|
||
This patch: - renames flags_ as flagsAndCategory_ because it contains both the flags and the category; - uses << for some bitfield definitions, because it's easier to read; - removes some dead methods from ProfileEntry; - removes the unnecessary JS_FRIEND_API from setPC().
Attachment #8871180 -
Flags: review?(shu)
![]() |
Assignee | |
Updated•6 years ago
|
Assignee: nobody → n.nethercote
Status: NEW → ASSIGNED
![]() |
Assignee | |
Comment 2•6 years ago
|
||
Because everything else in this file is called ProfilerFoo or PROFILER_FOO.
Attachment #8871181 -
Flags: review?(mstange)
![]() |
Assignee | |
Comment 3•6 years ago
|
||
BEGIN_PSEUDO_JS frames are necessary before a sequence of JS frames, in order to provide a stack address. But in AutoGeckoProfilerEntry the BEGIN_PSEUDO_JS frame is before a C++ frame, so it's useless.
Attachment #8871182 -
Flags: review?(shu)
![]() |
Assignee | |
Comment 4•6 years ago
|
||
Try server looks good: https://treeherder.mozilla.org/#/jobs?repo=try&revision=224cc9d5f69ebd04b988b635e509e56a5f46122d
Updated•6 years ago
|
Attachment #8871180 -
Flags: review?(shu) → review+
Updated•6 years ago
|
Attachment #8871182 -
Flags: review?(shu) → review+
Updated•6 years ago
|
Attachment #8871181 -
Flags: review?(mstange) → review+
![]() |
Assignee | |
Comment 5•6 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/7b82e5e570d6e28138167115fe74a2d5d32c9e07 Bug 1367654 (part 1) - Clean up ProfileEntry. r=shu. https://hg.mozilla.org/integration/mozilla-inbound/rev/343d001b8dfe9746d5423d0d1fca61c248805cc9 Bug 1367654 (part 2) - In GeckoProfiler.h, rename Sampler* as Profiler*. r=mstange. https://hg.mozilla.org/integration/mozilla-inbound/rev/735a87a03948ba9462017b37f64fed601444c7cd Bug 1367654 (part 3) - Remove unnecessary BEGIN_PSEUDO_JS frame from AutoGeckoProfilerEntry. r=shu.
Comment 6•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/7b82e5e570d6 https://hg.mozilla.org/mozilla-central/rev/343d001b8dfe https://hg.mozilla.org/mozilla-central/rev/735a87a03948
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•