Add the two syscalls to strace output to avoid "Unknown syscall" message.
Signed-off-by: Helge Deller <deller@gmx.de>
---
linux-user/strace.list | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/linux-user/strace.list b/linux-user/strace.list
index 41bb6bbfbc..3924046426 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -86,6 +86,9 @@
{ TARGET_NR_clock_getres, "clock_getres" , NULL, print_clock_getres,
print_syscall_ret_clock_getres },
#endif
+#ifdef TARGET_NR_clock_getres_time64
+{ TARGET_NR_clock_getres_time64, "clock_getres_time64" , NULL, NULL, NULL },
+#endif
#ifdef TARGET_NR_clock_gettime
{ TARGET_NR_clock_gettime, "clock_gettime" , NULL, print_clock_gettime,
print_syscall_ret_clock_gettime },
@@ -275,6 +278,9 @@
#ifdef TARGET_NR_futex
{ TARGET_NR_futex, "futex" , NULL, print_futex, NULL },
#endif
+#ifdef TARGET_NR_futex_time64
+{ TARGET_NR_futex_time64, "futex_time64" , NULL, NULL, NULL },
+#endif
#ifdef TARGET_NR_futimesat
{ TARGET_NR_futimesat, "futimesat" , NULL, print_futimesat, NULL },
#endif
--
2.38.1
Le 15/01/2023 à 12:35, Helge Deller a écrit : > Add the two syscalls to strace output to avoid "Unknown syscall" message. > > Signed-off-by: Helge Deller <deller@gmx.de> > --- > linux-user/strace.list | 6 ++++++ > 1 file changed, 6 insertions(+) > > diff --git a/linux-user/strace.list b/linux-user/strace.list > index 41bb6bbfbc..3924046426 100644 > --- a/linux-user/strace.list > +++ b/linux-user/strace.list > @@ -86,6 +86,9 @@ > { TARGET_NR_clock_getres, "clock_getres" , NULL, print_clock_getres, > print_syscall_ret_clock_getres }, > #endif > +#ifdef TARGET_NR_clock_getres_time64 > +{ TARGET_NR_clock_getres_time64, "clock_getres_time64" , NULL, NULL, NULL }, > +#endif > #ifdef TARGET_NR_clock_gettime > { TARGET_NR_clock_gettime, "clock_gettime" , NULL, print_clock_gettime, > print_syscall_ret_clock_gettime }, > @@ -275,6 +278,9 @@ > #ifdef TARGET_NR_futex > { TARGET_NR_futex, "futex" , NULL, print_futex, NULL }, > #endif > +#ifdef TARGET_NR_futex_time64 > +{ TARGET_NR_futex_time64, "futex_time64" , NULL, NULL, NULL }, > +#endif > #ifdef TARGET_NR_futimesat > { TARGET_NR_futimesat, "futimesat" , NULL, print_futimesat, NULL }, > #endif > -- > 2.38.1 > > Applied to my linux-user-for-8.0 branch. Thanks, Laurent
Le 15/01/2023 à 12:35, Helge Deller a écrit : > Add the two syscalls to strace output to avoid "Unknown syscall" message. > > Signed-off-by: Helge Deller <deller@gmx.de> > --- > linux-user/strace.list | 6 ++++++ > 1 file changed, 6 insertions(+) > Reviewed-by: Laurent Vivier <laurent@vivier.eu>
© 2016 - 2024 Red Hat, Inc.