Filip Bozuta <filip.boz...@syrmia.com> writes:
> From: Filip Bozuta <filip.boz...@syrmia.com> > > This series covers strace support for printing arguments of following > syscalls: > > *acct() *lgetxattr() *lseek() > *fsync() *fgetxattr() *chown() > *fdatasync() *listxattr() *lchown() > *listen() *llistxattr() *fallocate() > *getxattr() *flistxattr() > > The implementation details for strace support is described in this series > patch > commit messages. > > Testing method: > > Mini test programs were written that run these syscalls for different > arguments. > Those programs were compiled (sometimes using cross-compilers) for the > following > architectures: How big is this mini-test? Is it worth adding to tests/tcg? > > * Intel 64-bit (little endian) (gcc) > * Power pc 32-bit (big endian) (powerpc-linux-gnu-gcc) > * Power pc 64-bit (big endian) (powerpc64-linux-gnu-gcc) > * Mips 32-bit (little endian) (mipsel-linux-gnu-gcc) > * Mips 64-bit (little endian) (mips64el-linux-gnuabi64-gcc) > > The corresponding native programs were executed with strace, without using > QEMU, on Intel Core i7-4790K (x86_64) host. > > All applicable compiled programs were in turn executed with "-strace" > through QEMU and the strace printing results obtained were the same > ones gotten for native execution. If we have reference traces from real HW we can compare them using diff-out or conditional-diff-out make rules. See the run-float_%: float_% rules in tests/tcg/multiarch/Makefile.target. > > Filip Bozuta (5): > linux-user: Add strace support for a group of syscalls > linux-user: Add strace support for printing argument of syscalls used > for extend attributes > linux-user: Add strace support for printing arguments of lseek() > linux-user: Add strace support for printing arguments of > chown()/lchown() > linux-user: Add strace support for printing arguments of fallocate() > > linux-user/strace.c | 174 +++++++++++++++++++++++++++++++++++++++++ > linux-user/strace.list | 28 +++---- > 2 files changed, 188 insertions(+), 14 deletions(-) -- Alex Bennée