Closed
Bug 859928
Opened 12 years ago
Closed 12 years ago
Gecko Profiler is broken for B2G
Categories
(Core :: Gecko Profiler, defect)
Tracking
()
RESOLVED
FIXED
mozilla23
People
(Reporter: dhylands, Assigned: dhylands)
References
Details
Attachments
(1 file)
1.61 KB,
patch
|
BenWa
:
review+
|
Details | Diff | Splinter Review |
It looks like the Gecko Profiler was changed in bug 851748 to save the profile files to /sdcard
Under b2g, not all processes have permission to write to the sdcard, so this means that the profile data is not captured if the process doesn't have sufficient permission (i.e. the HomeScreen app doesn't have write permission to the sdcard).
It used to write the files to /data/local/tmp. Under B2G, this is the only location on the phone which is writable by any app.
The error message also says: "Fail to open profile log file."
It would be really nice if it said what the filename that failed was.
Assignee | ||
Updated•12 years ago
|
Assignee: nobody → dhylands
Assignee | ||
Comment 1•12 years ago
|
||
I also added the filename to the error message which is printed when it's unable to save a file.
Attachment #735354 -
Flags: review?(bgirard)
Updated•12 years ago
|
Attachment #735354 -
Flags: review?(bgirard) → review+
Assignee | ||
Comment 2•12 years ago
|
||
Comment 3•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in
before you can comment on or make changes to this bug.
Description
•