Sign in
kernel
/
pub
/
scm
/
linux
/
kernel
/
git
/
legion
/
kbd
/
refs/heads/master
/
.
/
tests
/
strace.sh
blob: 927ad64daf5bc657ee0dbf6af0d10e705363d60d [
file
]
#!/bin/sh -efu
cwd
=
"$(readlink -ev "
$
{
0
%/*}
")"
rc
=
0
strace
-
o syscalls
.
raw
-
s
1073741823
-
e abbrev
=
none
-
e trace
=/
open
.*,/
ioctl \
--
"$@"
\
1
>
stdout \
2
>
stderr
||
rc
=
$
?
"$cwd/syscall-filter.sed"
<
syscalls
.
raw
>
syscalls
||:
exit $rc