[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] [PATCH 4/5] linux-user: fix clone() strace
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] [PATCH 4/5] linux-user: fix clone() strace |
Date: |
Fri, 10 Jun 2016 14:13:26 +0100 |
On 8 June 2016 at 21:24, Laurent Vivier <address@hidden> wrote:
> Signed-off-by: Laurent Vivier <address@hidden>
> ---
> linux-user/strace.c | 25 ++++++++++++++-----------
> 1 file changed, 14 insertions(+), 11 deletions(-)
I think this change is correct, but it would be clearer to read
if we defined a do_print_clone() that did the actual printing and
took arguments in the same order as the do_fork() function in
syscall.c. Then it would be easy to compare the syscall.c and
this code to check they pass the arguments in the same order
to the function that does the work.
(Also, naming the arguments here arg1..arg6 rather than arg0..arg5
would make them match syscall.c.)
thanks
-- PMM
- [Qemu-devel] [PATCH 0/5] linux-user: some strace improvements, Laurent Vivier, 2016/06/08
- [Qemu-devel] [PATCH 3/5] linux-user: add socket() strace, Laurent Vivier, 2016/06/08
- [Qemu-devel] [PATCH 4/5] linux-user: fix clone() strace, Laurent Vivier, 2016/06/08
- Re: [Qemu-devel] [PATCH 4/5] linux-user: fix clone() strace,
Peter Maydell <=
- [Qemu-devel] [PATCH 2/5] linux-user: correct setsockopt() strace., Laurent Vivier, 2016/06/08
- [Qemu-devel] [PATCH 1/5] linux-user: add socketcall() strace, Laurent Vivier, 2016/06/08
- [Qemu-devel] [PATCH 5/5] linux-user: update get_thread_area/set_thread_area strace, Laurent Vivier, 2016/06/08