aboutsummaryrefslogtreecommitdiff
path: root/linux-user/strace.list
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2020-04-16 18:59:57 +0100
committerLaurent Vivier <laurent@vivier.eu>2020-06-05 21:23:22 +0200
commitfd568660b7ae9b9e45cbb616acc91ae4c065c32d (patch)
treefe216965e1999874d1b2e1da7a02630c9254f1bf /linux-user/strace.list
parent93a5661dc5aca5c8c4eaa4b75f36707199a78f0e (diff)
downloadqemu-fd568660b7ae9b9e45cbb616acc91ae4c065c32d.zip
qemu-fd568660b7ae9b9e45cbb616acc91ae4c065c32d.tar.gz
qemu-fd568660b7ae9b9e45cbb616acc91ae4c065c32d.tar.bz2
linux-user/strace.list: fix epoll_create{,1} -strace output
Fix syscall name and parameters priinter. Before the change: ``` $ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp/a ... 1274697 %s(%d)(2097152,274903156744,274903156760,274905840712,274877908880,274903235616) = 3 1274697 exit_group(0) ``` After the change: ``` $ alpha-linux-user/qemu-alpha -strace -L /usr/alpha-unknown-linux-gnu/ /tmp/a ... 1273719 epoll_create1(2097152) = 3 1273719 exit_group(0) ``` Fixes: 9cbc0578cb6 ("Improve output of various syscalls") Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org> CC: Riku Voipio <riku.voipio@iki.fi> CC: Laurent Vivier <laurent@vivier.eu> Cc: qemu-stable@nongnu.org Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Message-Id: <20200416175957.1274882-1-slyfox@gentoo.org> Signed-off-by: Laurent Vivier <laurent@vivier.eu>
Diffstat (limited to 'linux-user/strace.list')
-rw-r--r--linux-user/strace.list4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux-user/strace.list b/linux-user/strace.list
index d49a1e9..9281c0a 100644
--- a/linux-user/strace.list
+++ b/linux-user/strace.list
@@ -125,10 +125,10 @@
{ TARGET_NR_dup3, "dup3" , "%s(%d,%d,%d)", NULL, NULL },
#endif
#ifdef TARGET_NR_epoll_create
-{ TARGET_NR_epoll_create, "%s(%d)", NULL, NULL, NULL },
+{ TARGET_NR_epoll_create, "epoll_create", "%s(%d)", NULL, NULL },
#endif
#ifdef TARGET_NR_epoll_create1
-{ TARGET_NR_epoll_create1, "%s(%d)", NULL, NULL, NULL },
+{ TARGET_NR_epoll_create1, "epoll_create1", "%s(%d)", NULL, NULL },
#endif
#ifdef TARGET_NR_epoll_ctl
{ TARGET_NR_epoll_ctl, "epoll_ctl" , NULL, NULL, NULL },