diff options
author | Helge Deller <deller@gmx.de> | 2023-01-27 21:18:58 +0100 |
---|---|---|
committer | Laurent Vivier <laurent@vivier.eu> | 2023-02-03 22:55:12 +0100 |
commit | ab6c497e7eb8a9dca45978e5118f5c67bb74ab62 (patch) | |
tree | 4a7ed3f7c63576a02af9893ac85fa399c54466f2 /linux-user | |
parent | e0174afeea23e56765db56fbbe465ed1fcbdd07a (diff) | |
download | qemu-ab6c497e7eb8a9dca45978e5118f5c67bb74ab62.zip qemu-ab6c497e7eb8a9dca45978e5118f5c67bb74ab62.tar.gz qemu-ab6c497e7eb8a9dca45978e5118f5c67bb74ab62.tar.bz2 |
linux-user: Improve strace output of personality() and sysinfo()
Make the strace look nicer for those two syscalls.
Signed-off-by: Helge Deller <deller@gmx.de>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Reviewed-by: Laurent Vivier <laurent@vivier.eu>
Message-Id: <Y9QxskymWJjrKQmT@p100>
Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/strace.list | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/linux-user/strace.list b/linux-user/strace.list index cf291d0..3a1f618 100644 --- a/linux-user/strace.list +++ b/linux-user/strace.list @@ -1049,7 +1049,8 @@ { TARGET_NR_perfctr, "perfctr" , NULL, NULL, NULL }, #endif #ifdef TARGET_NR_personality -{ TARGET_NR_personality, "personality" , NULL, NULL, NULL }, +{ TARGET_NR_personality, "personality" , "%s(0x"TARGET_ABI_FMT_lx")", NULL, + print_syscall_ret_addr }, #endif #ifdef TARGET_NR_pipe { TARGET_NR_pipe, "pipe" , NULL, NULL, NULL }, @@ -1504,7 +1505,7 @@ { TARGET_NR_sysfs, "sysfs" , NULL, NULL, NULL }, #endif #ifdef TARGET_NR_sysinfo -{ TARGET_NR_sysinfo, "sysinfo" , NULL, NULL, NULL }, +{ TARGET_NR_sysinfo, "sysinfo" , "%s(%p)", NULL, NULL }, #endif #ifdef TARGET_NR_sys_kexec_load { TARGET_NR_sys_kexec_load, "sys_kexec_load" , NULL, NULL, NULL }, |