[comp.unix.internals] SUN 4 profiler

e2b@psuecl.bitnet (11/06/90)

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@PSUECL.bitnet, or please post a
solution to this newsgroup.


                                        Eric Bass