RFE on jprof: pause, resume, rewind

RESOLVED FIXED in Future

Status

RESOLVED FIXED
18 years ago
14 years ago

People

(Reporter: sspitzer, Assigned: mcafee)

Tracking

Trunk
Future
x86
Linux

Firefox Tracking Flags

(Not tracked)

Details

more details to follow soon.

this would be a great feature for jprof.  I'll do some thinking about it, and cc
jlance to see what he thinks.

assigning to mcafee for now, as he's a linux hacker and may have time to help
get this going.
(Assignee)

Comment 1

18 years ago
[sspitzer writes]
thanks to dbaron, jprof does have pause.

here's how I'm using jprof to profile a particular action:

in your ~/.cshrc, do this:

setenv JPROF_FLAGS JP_DEFER

That makes it so you don't start profiling until it gets the SIGPROF signal.

# run mozilla, and get ready to do your stuff...
./mozilla

# start profiling...
kill -PROF {mozilla-bin pid}

# do your stuff...

# pause profiling...
kill -USR1 {mozilla-bin pid}

# exit mozilla

./jprof ./mozilla-bin jprof-log > jprof.html

_____________

I will leave this in as a reminder to add some docs to
the jprof page.  Off the new-bug radar.
Status: NEW → ASSIGNED
Target Milestone: --- → Future
(Assignee)

Comment 2

18 years ago
docs posted, marking fixed.












(Assignee)

Comment 3

18 years ago
fixed.


(Assignee)

Comment 4

18 years ago
fixed
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.