SUN 4 profiler

e2b at psuecl.bitnet e2b at psuecl.bitnet
Tue Nov 6 05:42:41 AEST 1990


I am having a problem writing a dynamic profiler for the SUN 4.  I
spawn a child process and overlay it with an existing program using
the execl command.  The SUN 4 does not have the necessary hardware
to implement the single step command of the ptrace system call.  When
ptrace(SINGLE_STEP,...) is executed an I/O error is returned.  If
anyone knows how to dynamically single step through a program using
ptrace or any other way, I would greatly appreciate you letting me
know.  I can be reached at E2B at PSUECL.bitnet, or please post a
solution to this newsgroup.


                                        Eric Bass



More information about the Comp.unix.internals mailing list