mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 07:13:54 -06:00
linux-user: Add support for strace for statx() syscall
All of the flags need to be conditional as old systems don't have statx support. Otherwise it works the same as other stat family syscalls. This requires the pending patch to add statx support. Tested on Ubuntu 16.04 (no host statx) and Ubuntu 19.04 (with host statx) using a riscv32-linux toolchain. Signed-off-by: Jim Wilson <jimw@sifive.com> Signed-off-by: Aleksandar Markovic <amarkovic@wavecomp.com> Reviewed-by: Laurent Vivier <laurent@vivier.eu> Message-Id: <1561718618-20218-3-git-send-email-aleksandar.markovic@rt-rk.com> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
parent
efa921845c
commit
d42744fe04
2 changed files with 89 additions and 0 deletions
|
@ -1650,3 +1650,6 @@
|
|||
#ifdef TARGET_NR_atomic_barrier
|
||||
{ TARGET_NR_atomic_barrier, "atomic_barrier", NULL, NULL, NULL },
|
||||
#endif
|
||||
#ifdef TARGET_NR_statx
|
||||
{ TARGET_NR_statx, "statx", NULL, print_statx, NULL },
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue