811638e9c1
Based on the patch by Md Haris Iqbal (https://sourceforge.net/p/strace/mailman/message/35111320/) linux/*/syscallent.h part is modified automatically by: git grep -Fl 'SEN(sched_' linux/ | xargs sed -i \ 's/0\(,[[:space:]]*SEN(sched_\)/TSC\1/' * sysent.h (TRACE_SCHED): New definition. * syscall.c: Alias TSC to TRACE_SCHED around syscallent.h inclusion. * linux/32/syscallent.h: Add TSC flag for sched_* sycalls. * linux/64/syscallent.h: Likewise. * linux/alpha/syscallent.h: Likewise. * linux/arm/syscallent.h: 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-n64.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/x32/syscallent.h: Likewise. * linux/x86_64/syscallent.h: Likewise. * linux/xtensa/syscallent.h: Likewise. * qualify.c (lookup_class): Add TRACE_SCHED for "%sched". * tests/ksysent.c: Define TSC to 0. * tests/nsyscalls.c: Likewise. * tests/sched.test: New test. * tests/Makefile.am (DECODER_TESTS): Add sched.test. * strace.1 (.SS Filtering): Add information about %sched syscall class. * NEWS: Mention this change. Co-authored-by: Md Haris Iqbal <haris.phnx@gmail.com> |
||
---|---|---|
.. | ||
arch_regs.c | ||
arch_regs.h | ||
arch_sigreturn.c | ||
get_error.c | ||
get_scno.c | ||
get_syscall_args.c | ||
ioctls_arch0.h | ||
ioctls_inc0.h | ||
set_error.c | ||
set_scno.c | ||
syscallent.h | ||
userent0.h | ||
userent1.h | ||
userent.h |