Re: core files

Michael Elizabeth Chastain (mec@shout.net)
Tue, 29 Dec 1998 21:13:27 -0600


Hi Chris,

> The speed would suck rocks. Run squid or netscape under strace and
> you'll see what I mean.

strace does a lot more work than necessary for this kind of filtering.
It fetches all the arguments and *data* for the system call through a
straw one word wide named PTRACE_PEEKDATA. A 'ucore' program wouldn't
have to do that, because almost all the time, all it needs is ORIG_EAX.

Run strace under strace and you'll see what I mean.

Michael Elizabeth Chastain
<mailto:mec@shout.net>
"love without fear"

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/