Dmitry V. Levin
9e9ceab3b1
* readahead.c: New file. * Makefile.am (strace_SOURCES): Add it. * file.c (sys_readahead): Move to readahead.c.
14 lines
214 B
C
14 lines
214 B
C
#include "defs.h"
|
|
|
|
int
|
|
sys_readahead(struct tcb *tcp)
|
|
{
|
|
if (entering(tcp)) {
|
|
int argn;
|
|
printfd(tcp, tcp->u_arg[0]);
|
|
argn = printllval(tcp, ", %lld", 1);
|
|
tprintf(", %ld", tcp->u_arg[argn]);
|
|
}
|
|
return 0;
|
|
}
|