Re: ptrace? Other similar interfaces?

From: Casper H.S. Dik (Casper.Dik_at_Sun.COM)
Date: 03/30/05

  • Next message: Kamal R. Prasad: "Re: sleep_on_timeout() equivalent on aix"
    Date: 30 Mar 2005 08:27:37 GMT
    
    

    Dan Stromberg <strombrg@dcs.nac.uci.edu> writes:

    >How portable is ptrace? Are there other ways of keeping tabs on what
    >system calls a process is utilizing?

    Less and less (the ptrace interface is fairly arcane and inefficient;
    on Solaris it is supported only for source compatibility and implemented
    on top of /proc tracing).

    System call tracing specifically is a "new" thing in the ptrace world and
    not supported by all implementations (not implemented in the Solaris
    emulation as far as I can tell).

    Casper

    -- 
    Expressed in this posting are my opinions.  They are in no way related
    to opinions held by my employer, Sun Microsystems.
    Statements on Sun products included here are not gospel and may
    be fiction rather than truth.
    

  • Next message: Kamal R. Prasad: "Re: sleep_on_timeout() equivalent on aix"
  • Quantcast