System call tracing in Linuxulator
Martin Cracauer
cracauer at cons.org
Fri May 20 08:11:22 PDT 2005
Didn't we use top have a linux-strace port?
It seems that there is currently no stracing tool which would resolve
Linux system calls to some text description.
Using the strace Linux binary fails with an invalid argument to
ptrace:
./strace /compat/linux/bin/cat
execve("/compat/linux/bin/cat", ["/compat/linux/bin/cat"], [/* 56 vars
*/]) = 0
trace: ptrace(PTRACE_SYSCALL, ...): Invalid argument
FreeBSD truss of the above strace ends with:
linux_ptrace(0x18,0x17c41,0x1,0x0) ERR#22 'Invalid argument'
trace: ptrace(PTRACE_SYSCALL, ...): Invalid argument
What are people using these days?
Martin
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer at cons.org> http://www.cons.org/cracauer/
No warranty. This email is probably produced by one of my cats
stepping on the keys. No, I don't have an infinite number of cats.
More information about the freebsd-emulation
mailing list