summaryrefslogtreecommitdiff
path: root/mem.c
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2017-04-16 15:30:29 +0200
committerDmitry V. Levin <ldv@altlinux.org>2017-04-21 19:49:03 +0000
commitc05b95334caf3d148c0353c239f7c8c3c3071fff (patch)
tree33bdc9d67bee1714654e25c88ede3c7ab2d9473d /mem.c
parentb4aabcb16f515ecf0dc9b9044114532aca47eeaa (diff)
downloadstrace-c05b95334caf3d148c0353c239f7c8c3c3071fff.tar.gz
Implement -e trace=%%statfs option
linux/*/syscallent*.h part is updated automatically by: sed -i 's/\(TSF\),[[:space:]]\?/\1|TSFA,/' linux/*/syscallent*.h sed -i 's/\(TFSF\),/\1|TSFA,/' linux/*/syscallent*.h sed -i 's/0\(,.*ustat\)/TSFA\1/' linux/*/syscallent*.h * sysent.h (TRACE_STATFS_LIKE): New macro. * syscall.c: Alias TSFA to TRACE_STATFS_LIKE around syscallent.h inclusion. * qualify.c (lookup_class): Add SCHED_STATFS_LIKE for "%%statfs". * strace.1 (.SS Filtering): Add information about %%statfs syscall class. * NEWS: Mention this change. * linux/32/syscallent.h (statfs64, fstatfs64): Add TSFA flag. * linux/64/syscallent.h (statfs, fstatfs): Likewise. * linux/aarch64/syscallent.h (statfs, fstatfs, ustat): Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/arm/syscallent.h (statfs, statfs64, fstatfs, fstatfs64, ustat): Likewise. * linux/avr32/syscallent.h: Likewise. * linux/bfin/syscallent.h: Likewise. * linux/crisv10/syscallent.h: Likewise. * linux/hppa/syscallent.h: Likewise. * linux/i386/syscallent.h: Likewise. * linux/ia64/syscallent.h: Likewise. * linux/m68k/syscallent.h: Likewise. * linux/microblaze/syscallent.h: Likewise. * linux/mips/syscallent-n32.h: Likewise. * linux/mips/syscallent-o32.h: Likewise. * linux/powerpc/syscallent.h: Likewise. * linux/powerpc64/syscallent.h: Likewise. * linux/s390/syscallent.h: Likewise. * linux/s390x/syscallent.h: Likewise. * linux/sh/syscallent.h: Likewise. * linux/sh64/syscallent.h: Likewise. * linux/sparc/syscallent.h: Likewise. * linux/sparc64/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. * linux/alpha/syscallent.h (osf_statfs, osf_statfs64, statfs, ofs_fstatfs, osf_fstatfs64, ustat): Likewise. * linux/mips/syscallent-compat.h (*_statfs, *_statvfs, *_fstatfs): Likewise. * tests/gen_tests.in (trace_statfs_like): New entry. * tests/trace_statfs_like.in: New file. * tests/Makefile.am (EXTRA_DIST): Add it. * tests/ksysent.c (TSFA): New macro, defined to 0. * tests/nsyscalls.c: Likewise.
Diffstat (limited to 'mem.c')
0 files changed, 0 insertions, 0 deletions