summaryrefslogtreecommitdiff
path: root/linux/mips/syscallent-n32.h
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2017-04-17 20:29:44 +0200
committerDmitry V. Levin <ldv@altlinux.org>2017-04-21 19:49:03 +0000
commitb4aabcb16f515ecf0dc9b9044114532aca47eeaa (patch)
tree54ab960a8883ecc7eec36dd507664d3aa6960626 /linux/mips/syscallent-n32.h
parenta0851a70ef72ffd78cc6205381a20d0ee3d7e010 (diff)
downloadstrace-b4aabcb16f515ecf0dc9b9044114532aca47eeaa.tar.gz
Implement -e trace=%fstatfs option
linux/*/syscallent*.h part is updated automatically by: sed -i 's/TD,[[:space:]]\([[:space:]]*SEN.*[_"]fstatv\?fs\)/TD|TFSF,\1/' \ linux/*/syscallent*.h * sysent.h (TRACE_FSTATFS): New macro. * syscall.c: Alias TFSF to TRACE_FSTATFS around syscallent.h inclusion. * qualify.c (lookup_class): Add SCHED_FSTATFS for "%fstatfs". * strace.1 (.SS Filtering): Add information about %fstatfs syscall class. * NEWS: Mention this change. * linux/32/syscallent.h (fstatfs64): Add TFSF flag. * linux/64/syscallent.h (fstatfs): Likewise. * linux/aarch64/syscallent.h: Likewise. * linux/mips/syscallent-n64.h: Likewise. * linux/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/arm/syscallent.h (fstatfs, fstatfs64): 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 (ofs_fstatfs, osf_fstatfs64): Likewise. * linux/mips/syscallent-compat.h (*_fstatfs, *_fstatvfs): Likewise. * tests/gen_tests.in (trace_fstatfs): New entry. * tests/trace_fstatfs.in: New file. * tests/Makefile.am (EXTRA_DIST): Add it. * tests/ksysent.c (TFSF): New macro, defined to 0. * tests/nsyscalls.c: Likewise.
Diffstat (limited to 'linux/mips/syscallent-n32.h')
-rw-r--r--linux/mips/syscallent-n32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/linux/mips/syscallent-n32.h b/linux/mips/syscallent-n32.h
index 5d5ce9c23..ba5f9a0f1 100644
--- a/linux/mips/syscallent-n32.h
+++ b/linux/mips/syscallent-n32.h
@@ -135,7 +135,7 @@
[6132] = { 1, NF, SEN(personality), "personality" },
[6133] = { 2, 0, SEN(ustat), "ustat" },
[6134] = { 2, TF|TSF, SEN(statfs), "statfs" },
-[6135] = { 2, TD, SEN(fstatfs), "fstatfs" },
+[6135] = { 2, TD|TFSF, SEN(fstatfs), "fstatfs" },
[6136] = { 3, 0, SEN(sysfs), "sysfs" },
[6137] = { 2, 0, SEN(getpriority), "getpriority" },
[6138] = { 3, 0, SEN(setpriority), "setpriority" },
@@ -218,7 +218,7 @@
[6215] = { 4, TI, SEN(semtimedop), "semtimedop" },
[6216] = { 4, TD, SEN(fadvise64_64), "fadvise64" },
[6217] = { 3, TF|TSF, SEN(statfs64), "statfs64" },
-[6218] = { 3, TD, SEN(fstatfs64), "fstatfs64" },
+[6218] = { 3, TD|TFSF, SEN(fstatfs64), "fstatfs64" },
[6219] = { 4, TD|TN, SEN(sendfile64), "sendfile64" },
[6220] = { 3, 0, SEN(timer_create), "timer_create" },
[6221] = { 4, 0, SEN(timer_settime), "timer_settime" },