- linux-user: Add strace output for timer_settime64() syscall - fix qemu-core when vhost-user-net config with server mode Signed-off-by: yezengruan <yezengruan@huawei.com>
38 lines
1.2 KiB
Diff
38 lines
1.2 KiB
Diff
From 685f5a507be1f79b1a78fcff38923bc0670f0dc4 Mon Sep 17 00:00:00 2001
|
|
From: tangzhongrui <tangzhongrui@cmss.chinamobile.com>
|
|
Date: Fri, 9 Dec 2022 15:39:52 +0800
|
|
Subject: [PATCH 1/2] linux-user: Add strace output for timer_settime64()
|
|
syscall
|
|
|
|
Add missing timer_settime64() strace output and specify format for
|
|
timer_settime().
|
|
|
|
Signed-off-by: Helge Deller <deller@gmx.de>
|
|
|
|
Message-Id: <Y1b5eIXFoMRDcDL9@p100>
|
|
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
|
|
Signed-off-by: tangzhongrui <tangzhongrui@cmss.chinamobile.com>
|
|
---
|
|
linux-user/strace.list | 5 ++++-
|
|
1 file changed, 4 insertions(+), 1 deletion(-)
|
|
|
|
diff --git a/linux-user/strace.list b/linux-user/strace.list
|
|
index 278596acd1..544869f1ab 100644
|
|
--- a/linux-user/strace.list
|
|
+++ b/linux-user/strace.list
|
|
@@ -1522,7 +1522,10 @@
|
|
{ TARGET_NR_timer_gettime, "timer_gettime" , NULL, NULL, NULL },
|
|
#endif
|
|
#ifdef TARGET_NR_timer_settime
|
|
-{ TARGET_NR_timer_settime, "timer_settime" , NULL, NULL, NULL },
|
|
+{ TARGET_NR_timer_settime, "timer_settime" , "%s(%d,%d,%p,%p)", NULL, NULL },
|
|
+#endif
|
|
+#ifdef TARGET_NR_timer_settime64
|
|
+{ TARGET_NR_timer_settime64, "timer_settime64" , "%s(%d,%d,%p,%p)", NULL, NULL },
|
|
#endif
|
|
#ifdef TARGET_NR_timerfd
|
|
{ TARGET_NR_timerfd, "timerfd" , NULL, NULL, NULL },
|
|
--
|
|
2.27.0
|
|
|