Closed Bug 859928 Opened 11 years ago Closed 11 years ago
Gecko Profiler is broken for B2G
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.
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)
Attachment #735354 - Flags: review?(bgirard) → review+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla23
You need to log in before you can comment on or make changes to this bug.