From: "Alex Bennée" <alex.bennee@linaro.org>
To: Filip Bozuta <filip.bozuta@syrmia.com>
Cc: laurent@vivier.eu, qemu-devel@nongnu.org
Subject: Re: [PATCH 0/5] Add strace support for printing arguments of selected syscalls
Date: Wed, 03 Jun 2020 15:43:09 +0100 [thread overview]
Message-ID: <87pnag5hxe.fsf@linaro.org> (raw)
In-Reply-To: <20200602115331.1659-1-filip.bozuta@syrmia.com>
Filip Bozuta <filip.bozuta@syrmia.com> writes:
> From: Filip Bozuta <Filip.Bozuta@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
prev parent reply other threads:[~2020-06-03 14:43 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-06-02 11:53 [PATCH 0/5] Add strace support for printing arguments of selected syscalls Filip Bozuta
2020-06-02 11:53 ` [PATCH 1/5] linux-user: Add strace support for a group of syscalls Filip Bozuta
2020-06-03 14:23 ` Laurent Vivier
2020-06-02 11:53 ` [PATCH 2/5] linux-user: Add strace support for printing argument of syscalls used for extend attributes Filip Bozuta
2020-06-03 16:20 ` Laurent Vivier
2020-06-02 11:53 ` [PATCH 3/5] linux-user: Add strace support for printing arguments of lseek() Filip Bozuta
2020-06-03 14:41 ` Laurent Vivier
2020-06-02 11:53 ` [PATCH 4/5] linux-user: Add strace support for printing arguments of chown()/lchown() Filip Bozuta
2020-06-03 14:44 ` Laurent Vivier
2020-06-02 11:53 ` [PATCH 5/5] linux-user: Add strace support for printing arguments of fallocate() Filip Bozuta
2020-06-03 14:54 ` Laurent Vivier
2020-06-02 13:42 ` [PATCH 0/5] Add strace support for printing arguments of selected syscalls no-reply
2020-06-03 14:43 ` Alex Bennée [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pnag5hxe.fsf@linaro.org \
--to=alex.bennee@linaro.org \
--cc=filip.bozuta@syrmia.com \
--cc=laurent@vivier.eu \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.