summaryrefslogtreecommitdiff
path: root/linux/x86_64
diff options
context:
space:
mode:
authorDamir Shayhutdinov <damir@altlinux.ru>2011-05-12 16:57:40 +0400
committerDmitry V. Levin <ldv@altlinux.org>2011-05-30 21:14:55 +0000
commit3087dd678088754dddc0c801008e22ca2b7b9a37 (patch)
tree020aaee565bf4d104eefcde4a75536e0181e7683 /linux/x86_64
parent1201426dd43f5b4e12dfe520e2a9c5027d33dc11 (diff)
downloadstrace-3087dd678088754dddc0c801008e22ca2b7b9a37.tar.gz
strace-3087dd678088754dddc0c801008e22ca2b7b9a37.tar.bz2
strace-3087dd678088754dddc0c801008e22ca2b7b9a37.tar.xz
Linux: implement decoding of preadv and pwritev syscalls
* io.c [LINUX && HAVE_SYS_UIO_H] (sys_preadv, sys_pwritev): New functions. * linux/syscall.h (sys_preadv, sys_pwritev): Declare them. * linux/*/syscallent.h: Use them. Signed-off-by: Damir Shayhutdinov <damir@altlinux.ru> Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
Diffstat (limited to 'linux/x86_64')
-rw-r--r--linux/x86_64/syscallent.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/x86_64/syscallent.h b/linux/x86_64/syscallent.h
index 2c2ed24..c58cc82 100644
--- a/linux/x86_64/syscallent.h
+++ b/linux/x86_64/syscallent.h
@@ -293,8 +293,8 @@
{ 3, TD, sys_dup3, "dup3" }, /* 292 */
{ 2, TD, sys_pipe2, "pipe2" }, /* 293 */
{ 1, TD, sys_inotify_init1, "inotify_init1" }, /* 294 */
- { 5, TD, printargs, "preadv" }, /* 295 */
- { 5, TD, printargs, "pwritev" }, /* 296 */
+ { 5, TD, sys_preadv, "preadv" }, /* 295 */
+ { 5, TD, sys_pwritev, "pwritev" }, /* 296 */
{ 4, TP|TS, printargs, "rt_tgsigqueueinfo"}, /* 297 */
{ 5, TD, printargs, "perf_event_open"}, /* 298 */
{ 5, TN, sys_recvmmsg, "recvmmsg" }, /* 299 */