linux-user: Add strace output for clock_getres_time64() and futex_time64()
PATCH 1/1 linux-user: Add strace output for clock_getres_time64() and futex_time64()
Add the two syscalls to strace output to avoid "Unknown syscall" message.
Signed-off-by Helge Deller <[email protected]>
--- linux-user/strace.list | 6 ++++++ 1 file changed, 6 insertions(+)
linux-user/strace.list +6 -0
@@ -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 :
Quoted 7 lines
Add the two syscalls to strace output to avoid "Unknown syscall" message.
Signed-off-by Helge Deller <[email protected]>--- linux-user/strace.list | 6 ++++++ 1 file changed, 6 insertions(+)
Reviewed-by Laurent Vivier <[email protected]>
Laurent Vivier
AppliedLe 15/01/2023 à 12:35, Helge Deller a écrit :
Quoted 32 lines
Add the two syscalls to strace output to avoid "Unknown syscall" message.
Signed-off-by Helge Deller <[email protected]>--- linux-user/strace.list | 6 ++++++ 1 file changed, 6 insertions(+)linux-user/strace.list +6
-1@@ -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 --
Quoted 3 lines
2.38.1
Applied to my linux-user-for-8.0 branch.
Thanks,
Laurent