]> granicus.if.org Git - strace/commit
Move parsers of sync_file_range and sync_file_range2 syscalls to libstrace
authorDmitry V. Levin <ldv@altlinux.org>
Fri, 22 Apr 2016 04:17:06 +0000 (04:17 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Fri, 22 Apr 2016 04:34:22 +0000 (04:34 +0000)
commita7501f6adbde78f7c0e86e1df9b52d1dfcd122ed
tree31cf02b9550b14a62e6a3c8723b6c40ff474c7e2
parenta9540e72c7cac973bb9c81abe38f199c176f947e
Move parsers of sync_file_range and sync_file_range2 syscalls to libstrace

For each given architecture only one of these two syscalls has a
syscallent entry.  When each parser is placed into a separate file,
moving to libstrace ensures that only one of them that is need
is linked into strace executable.

* sync_file_range.c (SYS_FUNC(sync_file_range2)): Move ...
* sync_file_range2.c: ... here.
* Makefile.am (strace_SOURCES): Move sync_file_range.c ...
(libstrace_a_SOURCES): ... here.  Add sync_file_range2.c.
(strace_SOURCES_c): Add filtered libstrace_a_SOURCES.
Makefile.am
sync_file_range.c
sync_file_range2.c [new file with mode: 0644]