Closed
Bug 768598
Opened 11 years ago
Closed 11 years ago
add support for saving LR register
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
FIXED
mozilla16
People
(Reporter: vlad, Assigned: vlad)
Details
Attachments
(1 file, 1 obsolete file)
2.75 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
This is a hacky stopgap until we get full stack walking support. We save the LR register with every PC sample, and then in the profiler UI we trust LR only from a set of whitelisted functions (mainly leaf functions from libc/bionic, e.g. various sycalls). This gives us a bit of a better idea what's being called, even if we don't have the full stack.
Attachment #636830 -
Flags: review?(bgirard)
Assignee | ||
Comment 1•11 years ago
|
||
Missing #ifdefs around saving ->lr
Attachment #636830 -
Attachment is obsolete: true
Attachment #636830 -
Flags: review?(bgirard)
Attachment #636837 -
Flags: review?(bgirard)
Comment 2•11 years ago
|
||
Comment on attachment 636837 [details] [diff] [review] Save ARM LR register in profiles r+ with the ifdef fixed to only add the L labels if we're coming from platform-linux so we don't trigger this on say windows arm.
Attachment #636837 -
Flags: review?(bgirard) → review+
Comment 4•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/2e9813915a1b
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•