Skip to contentSkip to conversation

linux-user: Add strace output for timer_settime64() syscall

PATCH Applied Helge Deller 2 participants 2 messages Oct 24, 2022 – Nov 2, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 linux-user: Add strace output for timer_settime64() syscall

Add missing timer_settime64() strace output and specify format for timer_settime().

linux-user/strace.list +4 -1
index cd995e5d56..3a898e2532 100644
@@ -1534,7 +1534,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 },
#1 lore raw

Le 24/10/2022 à 22:45, Helge Deller a écrit :

Quoted 12 lines

Add missing timer_settime64() strace output and specify format for timer_settime().

linux-user/strace.list +0 -0
index cd995e5d56..3a898e2532 100644
@@ -1534,7 +1534,10 @@
  { TARGET_NR_timer_gettime, "timer_gettime" , NULL, NULL, NULL },

linux-user/strace.list line 1543

Quoted 10 lines
linux-user/strace.list +4 -1
  #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 },

Applied to my linux-user-for-7.2 branch.

Thanks,
Laurent