diff mbox series

linux-user: Add strace output for clock_getres_time64() and futex_time64()

Message ID 20230115113517.25143-1-deller@gmx.de (mailing list archive)
State New, archived
Headers show
Series linux-user: Add strace output for clock_getres_time64() and futex_time64() | expand

Commit Message

Helge Deller Jan. 15, 2023, 11:35 a.m. UTC
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(+)

--
2.38.1

Comments

Laurent Vivier Jan. 26, 2023, 3:08 p.m. UTC | #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(+)
> 


Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Laurent Vivier Jan. 26, 2023, 4:11 p.m. UTC | #2
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
diff mbox series

Patch

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