Closed
Bug 735262
Opened 13 years ago
Closed 13 years ago
Make leaf address profiling saner
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: jrmuizel, Assigned: jrmuizel)
Details
Attachments
(1 file)
|
2.68 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
We don't need to store an mLeafAddress field for each profile entry. Instead just add a 'l' tag for the leaf entries.
Attachment #605410 -
Flags: review?(bgirard)
Comment 1•13 years ago
|
||
Comment on attachment 605410 [details] [diff] [review]
Make leaf address profiling saner
I think you're missing a ENABLE_SPS_LEAF_DATA near 'aProfile.addTag(ProfileEntry('l', sample->pc));'
Attachment #605410 -
Flags: review?(bgirard) → review+
Comment 2•13 years ago
|
||
Updated•13 years ago
|
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla14
Comment 3•13 years ago
|
||
ehr was backed out. please annotate changes to the bugs.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 4•13 years ago
|
||
I'm seeing in my local build:
In member function ‘void TableTicker::doBacktrace(ThreadProfile&, TickSample*)’:
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:462:48: error: no matching function for call to ‘ProfileEntry::ProfileEntry(char, const char [7], int)’
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:462:48: note: candidates are:
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:141:3: note: ProfileEntry::ProfileEntry(char, Address)
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:141:3: note: candidate expects 2 arguments, 3 provided
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:136:3: note: ProfileEntry::ProfileEntry(char, uintptr_t)
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:136:3: note: candidate expects 2 arguments, 3 provided
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:131:3: note: ProfileEntry::ProfileEntry(char, double)
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:131:3: note: candidate expects 2 arguments, 3 provided
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:126:3: note: ProfileEntry::ProfileEntry(char, const char*)
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:126:3: note: candidate expects 2 arguments, 3 provided
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:120:3: note: ProfileEntry::ProfileEntry()
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:120:3: note: candidate expects 0 arguments, 3 provided
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:117:7: note: constexpr ProfileEntry::ProfileEntry(const ProfileEntry&)
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:117:7: note: candidate expects 1 argument, 3 provided
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:117:7: note: constexpr ProfileEntry::ProfileEntry(ProfileEntry&&)
/home/dbaron/builds/ssd/mozilla-central/mozilla/tools/profiler/TableTicker.cpp:117:7: note: candidate expects 1 argument, 3 provided
Landed bustage fix after brief discussion with jrmuizel on irc:
https://hg.mozilla.org/integration/mozilla-inbound/rev/bb484a084008
Comment 7•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/773b2db48d0c
https://hg.mozilla.org/mozilla-central/rev/bb484a084008
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Comment 8•13 years ago
|
||
This broke the profiling branch, I fixed it in https://hg.mozilla.org/mozilla-central/rev/fe91ab23b390
You need to log in
before you can comment on or make changes to this bug.
Description
•