diff options
author | Eugene Syromyatnikov <evgsyr@gmail.com> | 2017-04-18 02:23:05 +0200 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2017-04-21 19:49:03 +0000 |
commit | 9a36c8e55db039492f000f16045db318461faa06 (patch) | |
tree | e6a5c319cc86e6dc7b8230fe697f8459b66afc35 /linux/avr32 | |
parent | aad36c50dc57531e7c5f5702fb4b463901c37d44 (diff) | |
download | strace-9a36c8e55db039492f000f16045db318461faa06.tar.gz |
Implement -e trace=%lstat option
linux/*/syscallent*.h part is updated automatically by:
sed -i '/TSTA,.*lx\?stat/ s/TSTA,/TLST|&/' linux/*/syscallent*.h
* sysent.h (TRACE_LSTAT): New macro.
* syscall.c: Alias TLST to TRACE_LSTAT around syscallent.h inclusion.
* qualify.c (lookup_class): Add TRACE_LSTAT for "%lstat".
* strace.1 (.SS Filtering): Add information about %lstat syscall class.
* NEWS: Mention this change.
* linux/aarch64/syscallent.h (lstat): Likewise.
* 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 (lstat, lstat64, oldlstat): 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/sparc64/syscallent.h: Likewise.
* linux/sparc/syscallent.h: Likewise.
* linux/avr32/syscallent.h (lstat, lstat64): Likewise.
* linux/hppa/syscallent.h: Likewise.
* linux/powerpc64/syscallent.h: Likewise.
* linux/s390/syscallent.h: Likewise.
* linux/xtensa/syscallent.h: Likewise.
* linux/alpha/syscallent.h (lstat, lstat64, osf_lstat, osf_old_lstat): Likewise.
* linux/mips/syscallent-compat.h (bsd43_lstat, posix_lstat, svr4_lstat,
sysv_lstat): Likewise.
* tests/gen_tests.in (trace_lstat): New entry.
* tests/trace_lstat.in: New file.
* tests/Makefile.am (EXTRA_DIST): Add it.
* tests/ksysent.c (TLST): New macro, defined to 0.
* tests/nsyscalls.c: Likewise.
Diffstat (limited to 'linux/avr32')
-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 e126944b8..e10d61160 100644 --- a/linux/avr32/syscallent.h +++ b/linux/avr32/syscallent.h @@ -57,7 +57,7 @@ [ 29] = { 2, TF, SEN(utime), "utime" }, [ 30] = { 2, TF|TSTA, SEN(stat), "stat" }, [ 31] = { 2, TD|TFST|TSTA, SEN(fstat), "fstat" }, -[ 32] = { 2, TF|TSTA, SEN(lstat), "lstat" }, +[ 32] = { 2, TF|TLST|TSTA, SEN(lstat), "lstat" }, [ 33] = { 2, TF, SEN(access), "access" }, [ 34] = { 1, TF, SEN(chroot), "chroot" }, [ 35] = { 0, 0, SEN(sync), "sync" }, @@ -194,7 +194,7 @@ [166] = { 3, TF, SEN(truncate64), "truncate64" }, [167] = { 3, TD, SEN(ftruncate64), "ftruncate64" }, [168] = { 2, TF|TSTA, SEN(stat64), "stat64" }, -[169] = { 2, TF|TSTA, SEN(lstat64), "lstat64" }, +[169] = { 2, TF|TLST|TSTA, SEN(lstat64), "lstat64" }, [170] = { 2, TD|TFST|TSTA, SEN(fstat64), "fstat64" }, [171] = { 2, TF, SEN(pivotroot), "pivot_root" }, [172] = { 3, TM, SEN(mincore), "mincore" }, |