]> granicus.if.org Git - strace/commit
Fix decoding of move_pages syscall
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 29 Apr 2016 17:26:56 +0000 (17:26 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 29 Apr 2016 18:21:02 +0000 (18:21 +0000)
commite212a15955824a384cf2a17c4d13a293e908cc6e
tree2022812526ee6ee7fb4f13909f77d861ef008ab6
parent900a282d3606ce3045254c736a27a3cc959f7ef3
Fix decoding of move_pages syscall

* numa.c (print_page_array, print_status, print_int, print_int_array):
New functions.
(SYS_FUNC(move_pages)): Rewrite using these functions.
* tests/move_pages.c: New file.
* tests/move_pages.test: New test.
* tests/.gitignore: Add move_pages.
* tests/Makefile.am (check_PROGRAMS): Likewise.
(DECODER_TESTS): Add move_pages.test.
numa.c
tests/.gitignore
tests/Makefile.am
tests/move_pages.c [new file with mode: 0644]
tests/move_pages.test [new file with mode: 0755]