Closed Bug 17116 Opened 25 years ago Closed 24 years ago

hack gcc "-gprof" to generate code coverage info

Categories

(Core :: XPCOM, defect, P3)

x86
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: waterson, Assigned: waterson)

Details

(Keywords: perf)

Per discussion in PJ meeting on 11/21, spend a couple of hours trying to hack
the "-gprof" stub to generate code coverage information during startup. The
goal being to identify dead code and "hot code" used during startup.
Severity: critical → minor
Status: NEW → ASSIGNED
Target Milestone: M15
lowering priority b/c sfraser was going to do this on Mac.
Simon said he'd take this bug and use it for Mac called-during-startup coverage
measurement.  It can revert to a linux-only bug after he's done.  Chris, is this
ok, or would you prefer a separate bug?

/be
Keywords: perf
Summary: [perf] hack gcc "-gprof" to generate code coverage info → hack gcc "-gprof" to generate code coverage info
Target Milestone: M15 → M20
Have we tried using Pure Coverage?
Target Milestone: M20 → Future
gcc does this.

http://gcc.gnu.org/onlinedocs/gcc_7.html#SEC120
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → WORKSFORME
Component: XP Miscellany → XPCOM
You need to log in before you can comment on or make changes to this bug.