diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2017-04-18 03:14:52 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2017-04-21 19:49:03 +0000 |
commit | e15d00536b801ad847efbf4098a9232aa739d216 (patch) | |
tree | 6a8c57329110d727316a94e6ba2b83bb86e42dc2 /linux/avr32/syscallent.h | |
parent | 9a36c8e55db039492f000f16045db318461faa06 (diff) | |
download | strace-e15d00536b801ad847efbf4098a9232aa739d216.tar.gz |
Implement -e trace=%stat option
linux/*/syscallent*.h part is updated automatically by:
sed -i '/statx/! s/TF|TSTA,/TF|TST|TSTA,/' linux/*/syscallent*.h
* sysent.h (TRACE_STAT): New macro.
* syscall.c: Alias LST to TRACE_STAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_STAT for "%stat".
* strace.1 (.SS Filtering): Add information about %stat syscall class.
* NEWS: Mention this change.
* linux/aarch64/syscallent.h (stat): Add TST flag.
* linux/ia64/syscallent.h: Likewise.
* linux/mips/syscallent-n32.h: Likewise.
* linux/mips/syscallent-n64.h: Likewise.
* linux/s390x/syscallent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/syscallent.h: Likewise.
* linux/arm/syscallent.h (oldstat, stat, stat64): Likewise.
* linux/bfin/syscallent.h: Likewise.
* linux/crisv10/syscallent.h: Likewise.
* linux/i386/syscallent.h: Likewise.
* linux/m68k/syscallent.h: Likewise.
* linux/microblaze/syscallent.h: Likewise.
* linux/mips/syscallent-o32.h: Likewise.
* linux/powerpc/syscallent.h: Likewise.
* linux/sh64/syscallent.h: Likewise.
* linux/sh/syscallent.h: Likewise.
* linux/avr32/syscallent.h (stat, stat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h (oldstat, stat): Likewise.
* linux/alpha/syscallent.h (osf_old_stat, osf_stat, stat, stat64): Likewise.
* linux/mips/syscallent-compat.h (bsd43_oldstat, bsd43_stat, posix_stat,
svr4_stat, svr4_xstat, sysv_stat, sysv_xstat): Likewise.
* tests/gen_tests.in (trace_stat): New entry.
* tests/trace_stat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
Diffstat (limited to 'linux/avr32/syscallent.h')
-rw-r--r-- | linux/avr32/syscallent.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/avr32/syscallent.h b/linux/avr32/syscallent.h index e10d61160..3e9f6e527 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -55,7 +55,7 @@ [ 27] = { 1, 0, SEN(alarm), "alarm" }, [ 28] = { 0, TS, SEN(pause), "pause" }, [ 29] = { 2, TF, SEN(utime), "utime" }, -[ 30] = { 2, TF|TSTA, SEN(stat), "stat" }, +[ 30] = { 2, TF|TST|TSTA, SEN(stat), "stat" }, [ 31] = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" }, [ 32] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" }, [ 33] = { 2, TF, SEN(access), "access" }, @@ -193,7 +193,7 @@ [165] = { 3, TN, SEN(recvmsg), "recvmsg" }, [166] = { 3, TF, SEN(truncate64), "truncate64" }, [167] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, -[168] = { 2, TF|TSTA, SEN(stat64), "stat64" }, +[168] = { 2, TF|TST|TSTA, SEN(stat64), "stat64" }, [169] = { 2, TF|TLST|TSTA, SEN(lstat64), "lstat64" }, [170] = { 2, TD|TFST|TSTA, SEN(fstat64), "fstat64" }, [171] = { 2, TF, SEN(pivotroot), "pivot_root" }, |