Closed Bug 243483 Opened 21 years ago Closed 21 years ago

[FIX]realtime jprof has __restore_rt all over the profile results

Categories

(SeaMonkey :: General, defect, P1)

x86
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED
mozilla1.8alpha1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

Attachments

(1 file, 1 obsolete file)

<shaver> bz: it's part of glibc's signal handling code for realtime signals, IIRC <shaver> are you using the rtc for profiling? > yes > I am <shaver> mmmm, yes, yes <shaver> I suspect there's an extra frame in place sometimes
Assignee: general → bzbarsky
Priority: -- → P1
Summary: realtime jprof has __restore_rt all over the profile results → [FIX]realtime jprof has __restore_rt all over the profile results
Target Milestone: --- → mozilla1.8alpha
Attachment #148376 - Flags: superreview?(dbaron)
Attachment #148376 - Flags: review?(shaver)
Comment on attachment 148376 [details] [diff] [review] Skip over the __restore_rt frames I think that's fine, given the general state of that code. r=shaver.
Attachment #148376 - Flags: review?(shaver) → review+
Comment on attachment 148376 [details] [diff] [review] Skip over the __restore_rt frames You could save the extra findSymbol call by moving the added code just inside the |if(idx>=0)|, i.e., by comparing to externalSymbols[idx].name and then decrementing and re-calling findSymbol if needed.
Attached patch Do thatSplinter Review
Attachment #148376 - Attachment is obsolete: true
Comment on attachment 148396 [details] [diff] [review] Do that I was looking for something like that... ;)
Attachment #148396 - Flags: superreview?(dbaron)
Attachment #148396 - Flags: review?(shaver)
Attachment #148376 - Flags: superreview?(dbaron) → superreview-
Comment on attachment 148396 [details] [diff] [review] Do that Yes, indeed, even better. r=shaver.
Attachment #148396 - Flags: review?(shaver) → review+
Attachment #148396 - Flags: superreview?(dbaron) → superreview+
Fixed.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: