summaryrefslogtreecommitdiff
path: root/linux/tile
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2011-10-11 17:07:05 +0000
committerDmitry V. Levin <ldv@altlinux.org>2011-10-11 17:07:05 +0000
commitd99e48c0f33f5230a743cd91a986edba176db2f8 (patch)
tree3721bbc9a677276967e93763d1298d4cf09e74c7 /linux/tile
parentc327d71258edb75a8120dfbbdd0b1828a3f43a9a (diff)
downloadstrace-d99e48c0f33f5230a743cd91a986edba176db2f8.tar.gz
strace-d99e48c0f33f5230a743cd91a986edba176db2f8.tar.bz2
strace-d99e48c0f33f5230a743cd91a986edba176db2f8.tar.xz
Implement decoding of splice, tee and vmsplice(2) syscalls
* io.c (print_loff_t): New function. (sys_sendfile64): Use it. (splice_flags): New xlat structure. (sys_tee, sys_splice, sys_vmsplice): New functions. * linux/syscall.h (sys_tee, sys_splice, sys_vmsplice): Declare them. * linux/*/syscallent.h: Use them.
Diffstat (limited to 'linux/tile')
-rw-r--r--linux/tile/syscallent.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/linux/tile/syscallent.h b/linux/tile/syscallent.h
index 42814bc..4f406a0 100644
--- a/linux/tile/syscallent.h
+++ b/linux/tile/syscallent.h
@@ -283,10 +283,10 @@
{ 1, TP, sys_unshare, "unshare" }, /* 282 */
{ 2, 0, printargs, "set_robust_list" }, /* 283 */
{ 3, 0, printargs, "get_robust_list" }, /* 284 */
- { 6, TD, printargs, "splice" }, /* 285 */
+ { 6, TD, sys_splice, "splice" }, /* 285 */
{ 4, TD, printargs, "sync_file_range" }, /* 286 */
- { 4, TD, printargs, "tee" }, /* 287 */
- { 4, TD, printargs, "vmsplice" }, /* 288 */
+ { 4, TD, sys_tee, "tee" }, /* 287 */
+ { 4, TD, sys_vmsplice, "vmsplice" }, /* 288 */
{ 6, TP, sys_move_pages, "move_pages" }, /* 289 */
{ 1, TP, printargs, "unused" }, /* 290 */
{ 1, 0, printargs, "cmpxchg_badaddr" }, /* 291 */