Re: core files

Chris Wedgwood (chris@cybernet.co.nz)
Wed, 30 Dec 1998 16:16:24 +1300


On Tue, Dec 29, 1998 at 09:13:27PM -0600, Michael Elizabeth Chastain wrote:

> 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.

On a UP box it still need to switch to the tracing context once (or
more) per system call. Ouch.

-cw

-
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/