syscall tracing overheads: utrace vs. kprobes

2009-04-28 Thread Frank Ch. Eigler
Hi - In a few contexts, it comes up as to whether it is faster to probe process syscalls with kprobes or with something higher level such as utrace. (There are other hypothetical options too (per-syscall tracepoints) that could be measured this way in the future.) It was time to check the

Re: syscall tracing overheads: utrace vs. kprobes

2009-04-28 Thread Roland McGrath
Certainly, in general. But in this specific test, only the under-test system calls occurred in essnetially the whole system, so the overhead measurements were in a way the bare minimums imposed by the kprobes vs. utrace callback infrastructure itself. Yes. That's why I meant to explain how

Re: syscall tracing overheads: utrace vs. kprobes

2009-04-28 Thread David Smith
Frank Ch. Eigler wrote: Hi - In a few contexts, it comes up as to whether it is faster to probe process syscalls with kprobes or with something higher level such as utrace. (There are other hypothetical options too (per-syscall tracepoints) that could be measured this way in the future.)