Add missing timer_settime64() strace output and specify format for
timer_settime().
Signed-off-by: Helge Deller <deller@gmx.de>
diff --git a/linux-user/strace.list b/linux-user/strace.list
index cd995e5d56..3a898e2532 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -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 },
Le 24/10/2022 à 22:45, Helge Deller a écrit : > Add missing timer_settime64() strace output and specify format for > timer_settime(). > > Signed-off-by: Helge Deller <deller@gmx.de> > > diff --git a/linux-user/strace.list b/linux-user/strace.list > index cd995e5d56..3a898e2532 100644 > --- a/linux-user/strace.list > +++ b/linux-user/strace.list > @@ -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 }, > Applied to my linux-user-for-7.2 branch. Thanks, Laurent
© 2016 - 2024 Red Hat, Inc.