[Qemu-devel] [PATCH v7 0/9] linux-user: strace improvements

Philippe Mathieu-Daudé posted 9 patches 6 years, 1 month ago
Only 5 patches received!
There is a newer version of this series
linux-user/strace.c       | 120 +++++++++++++++++++++++++++++++++-----
linux-user/strace.list    |   4 +-
linux-user/syscall.c      |   6 +-
linux-user/syscall_defs.h |  41 +++++++------
4 files changed, 137 insertions(+), 34 deletions(-)
[Qemu-devel] [PATCH v7 0/9] linux-user: strace improvements
Posted by Philippe Mathieu-Daudé 6 years, 1 month ago
Hi Laurent,

Few patches I'v been writting while trying to figure out this issue:
http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html

As usual with linux-user files, this series will trigger some checkpatch
benign warnings.

Regards,

Phil.

Since v6:
- Use ABI types in sockaddr

Since v5:
- dropped 'Verify recvfrom(addr)' since failing LTP testsuite (see [1])
- also define print_sockfd() for bind() (patches #6 and #7)

Since v4:
- rebased on master (no change)

Since v3:
- addressed Laurent comments
- added print_sockfd()
- removed the print_sockaddr_ptr() patch, also the two
  getsockname()/recvfrom() patches for after 3.0.

Since v2:
- display invalid pointer in print_timeval() and print_timezone()
- do not display gettimeofday() arguments

Since v1:
- addressed Laurent comments
- added 'last' argument to print_sockaddr()
- reordered series, so patches already correct can get applied directly
- dropped "linux-user/syscall: simplify recvfrom()" for now

v1: http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg05855.html
v2: http://lists.nongnu.org/archive/html/qemu-devel/2018-06/msg08216.html
v3: http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg00411.html
v5: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02067.html
v6: https://lists.gnu.org/archive/html/qemu-devel/2019-09/msg01346.html
[1] https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02807.html

Philippe Mathieu-Daudé (9):
  linux-user/strace: Display invalid pointer in print_timeval()
  linux-user/strace: Add print_timezone()
  linux-user/strace: Improve settimeofday()
  linux-user/syscall: Introduce target_sockaddr_nl
  linux-user/strace: Dump AF_NETLINK sockaddr content
  linux-user/strace: Add print_sockfd()
  linux-user/strace: Improve bind() output
  linux-user/strace: Let print_sockaddr() have a 'last' argument
  linux-user/syscall: Align target_sockaddr fields using ABI types

 linux-user/strace.c       | 120 +++++++++++++++++++++++++++++++++-----
 linux-user/strace.list    |   4 +-
 linux-user/syscall.c      |   6 +-
 linux-user/syscall_defs.h |  41 +++++++------
 4 files changed, 137 insertions(+), 34 deletions(-)

-- 
2.20.1


Re: [PATCH v7 0/9] linux-user: strace improvements
Posted by Philippe Mathieu-Daudé 6 years, 1 month ago
On 9/15/19 11:39 PM, Philippe Mathieu-Daudé wrote:
> Hi Laurent,
> 
> Few patches I'v been writting while trying to figure out this issue:
> http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html
> 
> As usual with linux-user files, this series will trigger some checkpatch
> benign warnings.
> 
> Regards,
> 
> Phil.
> 
> Since v6:
> - Use ABI types in sockaddr
> 
> Since v5:
> - dropped 'Verify recvfrom(addr)' since failing LTP testsuite (see [1])
> - also define print_sockfd() for bind() (patches #6 and #7)
> 
> Since v4:
> - rebased on master (no change)
> 
> Since v3:
> - addressed Laurent comments
> - added print_sockfd()
> - removed the print_sockaddr_ptr() patch, also the two
>   getsockname()/recvfrom() patches for after 3.0.
> 
> Since v2:
> - display invalid pointer in print_timeval() and print_timezone()
> - do not display gettimeofday() arguments
> 
> Since v1:
> - addressed Laurent comments
> - added 'last' argument to print_sockaddr()
> - reordered series, so patches already correct can get applied directly
> - dropped "linux-user/syscall: simplify recvfrom()" for now
> 
> v1: http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg05855.html
> v2: http://lists.nongnu.org/archive/html/qemu-devel/2018-06/msg08216.html
> v3: http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg00411.html
> v5: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02067.html
> v6: https://lists.gnu.org/archive/html/qemu-devel/2019-09/msg01346.html
> [1] https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02807.html

Ping?

Re: [PATCH v7 0/9] linux-user: strace improvements
Posted by Philippe Mathieu-Daudé 6 years ago
ping ping?

On 9/30/19 5:44 PM, Philippe Mathieu-Daudé wrote:
> On 9/15/19 11:39 PM, Philippe Mathieu-Daudé wrote:
>> Hi Laurent,
>>
>> Few patches I'v been writting while trying to figure out this issue:
>> http://lists.nongnu.org/archive/html/qemu-arm/2018-01/msg00514.html
>>
>> As usual with linux-user files, this series will trigger some checkpatch
>> benign warnings.
>>
>> Regards,
>>
>> Phil.
>>
>> Since v6:
>> - Use ABI types in sockaddr
>>
>> Since v5:
>> - dropped 'Verify recvfrom(addr)' since failing LTP testsuite (see [1])
>> - also define print_sockfd() for bind() (patches #6 and #7)
>>
>> Since v4:
>> - rebased on master (no change)
>>
>> Since v3:
>> - addressed Laurent comments
>> - added print_sockfd()
>> - removed the print_sockaddr_ptr() patch, also the two
>>    getsockname()/recvfrom() patches for after 3.0.
>>
>> Since v2:
>> - display invalid pointer in print_timeval() and print_timezone()
>> - do not display gettimeofday() arguments
>>
>> Since v1:
>> - addressed Laurent comments
>> - added 'last' argument to print_sockaddr()
>> - reordered series, so patches already correct can get applied directly
>> - dropped "linux-user/syscall: simplify recvfrom()" for now
>>
>> v1: http://lists.nongnu.org/archive/html/qemu-devel/2018-01/msg05855.html
>> v2: http://lists.nongnu.org/archive/html/qemu-devel/2018-06/msg08216.html
>> v3: http://lists.nongnu.org/archive/html/qemu-devel/2018-07/msg00411.html
>> v5: https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02067.html
>> v6: https://lists.gnu.org/archive/html/qemu-devel/2019-09/msg01346.html
>> [1] https://lists.gnu.org/archive/html/qemu-devel/2018-10/msg02807.html
> 
> Ping?