Closed Bug 1399146 Opened 8 years ago Closed 3 years ago

Unbreak jprof and minor cleanup

Categories

(Core :: Gecko Profiler, enhancement, P3)

enhancement

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
firefox57 --- fix-optional

People

(Reporter: jesup, Assigned: jesup)

References

Details

Attachments

(2 files, 1 obsolete file)

Something broke building jprof recently; the fix is fairly simple (provide an moz_xalloc() wrapper). In the process I did some very minor cleanup that had been waiting. JPROF_REAL is still broken (as it has been for years, thanks Linux). Cleopatra output disabled since it no longer works.
Priority: -- → P3
Comment on attachment 8907114 [details] [diff] [review] Unbreak jprof analysis and minor jprof cleanup r=dbaron; sorry for the delay
Attachment #8907114 - Flags: review?(dbaron) → review+

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:jesup, could you have a look please?

Flags: needinfo?(rjesup)

Here's a profile taken with jprof of loading CNN. One thing we could do with jprof would be to turn on the gecko profiler in markers-only mode, and merge the stack from jprof with the markers from gecko (and get all the threads without the heavy overhead -- but without the script stack info - unless we can get it to use the data from --enable-perf). Generally the stacks appear better than what we get from perf, note.

https://perfht.ml/2FylTSN

Flags: needinfo?(rjesup)
Depends on: 1561821

The following patch is waiting for review from an inactive reviewer:

ID Title Author Reviewer Status
D35853 Bug 1399146: Have jprof output "perf script"-compatible profiles r=gerald jesup gerald: Resigned from review

:jesup, could you please find another reviewer or abandon the patch if it is no longer relevant?

For more information, please visit auto_nag documentation.

Flags: needinfo?(rjesup)
Severity: normal → S3
Status: NEW → RESOLVED
Closed: 3 years ago
Flags: needinfo?(rjesup)
Resolution: --- → INCOMPLETE
Attachment #9073927 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: