From: Mike Gelfand Date: Sun, 30 Aug 2020 09:22:42 +0000 (+0300) Subject: linux-user: Add strace support for printing OFD fcntl operations X-Git-Tag: v5.2.0-rc0~146^2~12 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=38be863d418a507bd2b27f20c4585c50eace8b98;p=thirdparty%2Fqemu.git linux-user: Add strace support for printing OFD fcntl operations Signed-off-by: Mike Gelfand Reviewed-by: Laurent Vivier Message-Id: <20200830092242.31506-1-mikedld@mikedld.com> Signed-off-by: Laurent Vivier --- diff --git a/linux-user/strace.c b/linux-user/strace.c index 4f77b0cf76e..11fea14fba2 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);