ed84a97da5
linux/*/syscallent*.h part is updated automatically by: sed -i '/TSFA\|stat[iu]s/! s/,[[:space:]]\?\([[:space:]]*SEN(.*stat\)/|TSTA,\1/' \ linux/*/syscallent*.h * sysent.h (TRACE_STAT_LIKE): New macro. * syscall.c: Alias TSTA to TRACE_STAT_LIKE around syscallent.h inclusion. * qualify.c (lookup_class): Add TRACE_STAT_LIKE for "%%stat". * strace.1 (.SS Filtering): Add information about %%stat syscall class. * NEWS: Mention this change. * linux/32/syscallent.h (fstat64, fstatat64, statx): Add TSTA flag. * linux/64/syscallent.h (fstat, newfstatat, statx): Likewise. * linux/aarch64/syscallent.h (fstat, lstat, newfstatat, stat): Likewise. * linux/alpha/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, osf_fstat, osf_lstat, osf_old_fstat, osf_old_lstat, osf_old_stat, osf_stat, stat, stat64): Likewise. * linux/arm/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/avr32/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, stat, stat64): Likewise. * linux/bfin/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/crisv10/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/hppa/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, stat, stat64): Likewise. * linux/i386/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/ia64/syscallent.h (fstat, lstat, newfstatat, stat): Likewise. * linux/m68k/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/microblaze/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/mips/syscallent-compat.h (bsd43_fstat, bsd43_lstat, bsd43_oldfstat, bsd43_oldstat, bsd43_stat, posix_fstat, posix_lstat, posix_stat, svr4_fstat, svr4_fxstat, svr4_lstat, svr4_lxstat, svr4_stat, svr4_xstat, sysv_fstat, sysv_fxstat, sysv_lstat, sysv_lxstat, sysv_stat, sysv_xstat): Likewise. * linux/mips/syscallent-n32.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/mips/syscallent-n64.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/mips/syscallent-o32.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/powerpc64/syscallent.h (fstat, lstat, newfstatat, oldfstat, oldlstat, oldstat, stat): Likewise. * linux/powerpc/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64, statx): Likewise. * linux/s390/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, stat, stat64, statx): Likewise. * linux/s390x/syscallent.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/sh64/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/sh/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldfstat, oldlstat, oldstat, stat, stat64): Likewise. * linux/sparc64/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldlstat, stat, stat64): Likewise. * linux/sparc/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, oldlstat, stat, stat64): Likewise. * linux/x32/syscallent.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/x86_64/syscallent.h (fstat, lstat, newfstatat, stat, statx): Likewise. * linux/xtensa/syscallent.h (fstat, fstat64, fstatat64, lstat, lstat64, stat, stat64, statx): Likewise. * tests/gen_tests.in (trace_stat_like): New entry. * tests/trace_stat_like.in: New file. * tests/Makefile.am (EXTRA_DIST): Add it. * tests/ksysent.c (TSTA): New macro, defined to 0. * tests/nsyscalls.c: Likewise. |
||
---|---|---|
debian | ||
linux | ||
m4 | ||
maint | ||
qemu_multiarch_testing | ||
test | ||
tests | ||
xlat | ||
.gitignore | ||
.mailmap | ||
.travis.yml | ||
access.c | ||
affinity.c | ||
aio.c | ||
alpha.c | ||
AUTHORS | ||
bjm.c | ||
block.c | ||
bootstrap | ||
bpf.c | ||
btrfs.c | ||
build_static_example.sh | ||
cacheflush.c | ||
capability.c | ||
caps0.h | ||
caps1.h | ||
ChangeLog-CVS | ||
chdir.c | ||
chmod.c | ||
clone.c | ||
configure.ac | ||
copy_file_range.c | ||
COPYING | ||
copyright-year-gen | ||
count.c | ||
CREDITS.in | ||
defs.h | ||
desc.c | ||
dirent64.c | ||
dirent.c | ||
dm.c | ||
empty.h | ||
epoll.c | ||
errnoent.sh | ||
evdev.c | ||
eventfd.c | ||
execve.c | ||
fadvise.c | ||
fallocate.c | ||
fanotify.c | ||
fchownat.c | ||
fcntl.c | ||
fetch_seccomp_fprog.c | ||
fetch_struct_flock.c | ||
fetch_struct_mmsghdr.c | ||
fetch_struct_msghdr.c | ||
fetch_struct_stat64.c | ||
fetch_struct_stat.c | ||
fetch_struct_statfs.c | ||
file_handle.c | ||
file_ioctl.c | ||
flock.c | ||
flock.h | ||
fs_x_ioctl.c | ||
fstatfs64.c | ||
fstatfs.c | ||
futex.c | ||
gcc_compat.h | ||
generate_mpers_am.sh | ||
generate_sen.sh | ||
get_robust_list.c | ||
getcpu.c | ||
getcwd.c | ||
getrandom.c | ||
git-set-file-times | ||
git-version-gen | ||
gitlog-to-changelog | ||
HACKING-scripts | ||
hdio.c | ||
hostname.c | ||
inotify.c | ||
INSTALL | ||
INSTALL-git.md | ||
install.texi | ||
io.c | ||
ioctl_iocdef.c | ||
ioctl.c | ||
ioctlsort.c | ||
ioperm.c | ||
iopl.c | ||
ioprio.c | ||
ipc_defs.h | ||
ipc_msg.c | ||
ipc_msgctl.c | ||
ipc_sem.c | ||
ipc_shm.c | ||
ipc_shmctl.c | ||
ipc.c | ||
kcmp.c | ||
kernel_types.h | ||
kexec.c | ||
keyctl.c | ||
ldt.c | ||
link.c | ||
lookup_dcookie.c | ||
loop.c | ||
lseek.c | ||
make-dist | ||
make-dsc | ||
Makefile.am | ||
mem.c | ||
membarrier.c | ||
memfd_create.c | ||
mknod.c | ||
mmsghdr.c | ||
mount.c | ||
mpers_test.sh | ||
mpers_type.h | ||
mpers.awk | ||
mpers.sh | ||
mq.c | ||
msghdr.c | ||
msghdr.h | ||
mtd.c | ||
native_defs.h | ||
net.c | ||
netlink.c | ||
NEWS | ||
nsfs.c | ||
nsfs.h | ||
nsig.h | ||
numa.c | ||
oldstat.c | ||
open.c | ||
or1k_atomic.c | ||
pathtrace.c | ||
perf_event_struct.h | ||
perf.c | ||
personality.c | ||
pkeys.c | ||
poll.c | ||
prctl.c | ||
print_dev_t.c | ||
print_mq_attr.c | ||
print_msgbuf.c | ||
print_sg_req_info.c | ||
print_sigevent.c | ||
print_statfs.c | ||
print_struct_stat.c | ||
print_time.c | ||
print_timespec.c | ||
print_timeval.c | ||
print_timex.c | ||
printmode.c | ||
printrusage.c | ||
printsiginfo.c | ||
printsiginfo.h | ||
process_vm.c | ||
process.c | ||
ptp.c | ||
ptrace.h | ||
qualify.c | ||
quota.c | ||
readahead.c | ||
readlink.c | ||
README | ||
README-hacking | ||
README-linux-ptrace | ||
README-mpers | ||
README.md | ||
reboot.c | ||
regs.h | ||
renameat.c | ||
resource.c | ||
rt_sigframe.c | ||
rt_sigreturn.c | ||
rtc.c | ||
sched_attr.h | ||
sched.c | ||
scno.am | ||
scno.head | ||
scsi.c | ||
seccomp_fprog.h | ||
seccomp.c | ||
sendfile.c | ||
sg_io_v3.c | ||
sg_io_v4.c | ||
sigaltstack.c | ||
sigevent.h | ||
signal.c | ||
signalent.sh | ||
signalfd.c | ||
sigreturn.c | ||
sock.c | ||
sockaddr.c | ||
socketcall.c | ||
socketutils.c | ||
sram_alloc.c | ||
stat64.c | ||
stat.c | ||
stat.h | ||
statfs64.c | ||
statfs.c | ||
statfs.h | ||
statx.c | ||
statx.h | ||
strace-graph | ||
strace-log-merge | ||
strace.1 | ||
strace.c | ||
strace.spec.in | ||
swapon.c | ||
sync_file_range2.c | ||
sync_file_range.c | ||
syscall.c | ||
syscallent.sh | ||
sysctl.c | ||
sysent.h | ||
sysinfo.c | ||
syslog.c | ||
sysmips.c | ||
term.c | ||
time.c | ||
times.c | ||
travis-build.sh | ||
travis-install.sh | ||
truncate.c | ||
ubi.c | ||
uid16.c | ||
uid.c | ||
umask.c | ||
umount.c | ||
uname.c | ||
unwind.c | ||
upeek.c | ||
upoke.c | ||
userfaultfd.c | ||
ustat.c | ||
util.c | ||
utime.c | ||
utimes.c | ||
v4l2.c | ||
wait.c | ||
xattr.c | ||
xlat.h | ||
xlate.el | ||
xmalloc.c |
strace - the linux syscall tracer
This is strace -- a diagnostic, debugging and instructional userspace utility with a traditional command-line interface for Linux. It is used to monitor and tamper with interactions between processes and the Linux kernel, which include system calls, signal deliveries, and changes of process state. The operation of strace is made possible by the kernel feature known as ptrace.
strace is released under a Berkeley-style license at the request of Paul Kranenburg; see the file COPYING for details.
See the file NEWS for information on what has changed in recent versions.
Please read the file INSTALL-git for installation instructions.
The user discussion and development of strace take place on the strace mailing list -- everyone is welcome to post bug reports, feature requests, comments and patches to strace-devel@lists.sourceforge.net. The mailing list archives are available at https://sourceforge.net/p/strace/mailman/strace-devel/ and other archival sites.