Robert Watson <[EMAIL PROTECTED]> writes:
> There are a fair number of differences, but from my perspective, one of
> the primary ones is that truss relies on procfs,

Truss could be easily be rewritten to use ptrace() instead of procfs.
It'd be a lot slower though, because ptrace() can only return one int
at a time from process memory whereas with /proc/pid/mem you can read
as much as you want in one go.

DES
-- 
Dag-Erling Smorgrav - [EMAIL PROTECTED]

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to