diff options
author | Mike Gelfand | 2020-08-30 11:22:42 +0200 |
---|---|---|
committer | Laurent Vivier | 2020-09-01 11:47:12 +0200 |
commit | 38be863d418a507bd2b27f20c4585c50eace8b98 (patch) | |
tree | 7c9e6cdb5596cd8c0d77905bf522a8844e60481b /linux-user | |
parent | util/vfio-helpers: Unify trace-events size format (diff) | |
download | qemu-38be863d418a507bd2b27f20c4585c50eace8b98.tar.gz qemu-38be863d418a507bd2b27f20c4585c50eace8b98.tar.xz qemu-38be863d418a507bd2b27f20c4585c50eace8b98.zip |
linux-user: Add strace support for printing OFD fcntl operations
Signed-off-by: Mike Gelfand <mikedld@mikedld.com>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <20200830092242.31506-1-mikedld@mikedld.com>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/strace.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/linux-user/strace.c b/linux-user/strace.c index 4f77b0cf76..11fea14fba 100644 --- a/linux-user/strace.c +++ b/linux-user/strace.c @@ -2056,6 +2056,18 @@ print_fcntl(void *cpu_env, const struct syscallname *name, print_pointer(arg2, 1); break; #endif + case TARGET_F_OFD_GETLK: + qemu_log("F_OFD_GETLK,"); + print_pointer(arg2, 1); + break; + case TARGET_F_OFD_SETLK: + qemu_log("F_OFD_SETLK,"); + print_pointer(arg2, 1); + break; + case TARGET_F_OFD_SETLKW: + qemu_log("F_OFD_SETLKW,"); + print_pointer(arg2, 1); + break; case TARGET_F_SETLEASE: qemu_log("F_SETLEASE,"); print_raw_param(TARGET_ABI_FMT_ld, arg2, 0); |