summaryrefslogtreecommitdiffstats
path: root/tapset/syscalls2.stp
Commit message (Collapse)AuthorAgeFilesLines
* Fix alignment of probe aliases in syscalls(|2).stp.Przemyslaw Pawelczyk2009-05-191-355/+355
| | | | | | | Align probe points in probe aliases to equal sign using spaces as it's already done in nd_syscalls.stp. Signed-off-by: Josh Stone <jistone@redhat.com>
* Unify formatting of syscalls.stp and syscalls2.stp.Przemyslaw Pawelczyk2009-05-191-559/+754
| | | | | | | | | | | | | | | Rules: - Specify probe points for aliases starting from the alias declaration line and with one probe point per line. - Use K&R indent style -- probe alias/point/function opening brace goes to the line following the declaration, other opening braces are kept on the same line as the control statements. - Indent using tabs. - Surround operators with spaces. - Put spaces after commas. - Avoid trailing whitespaces. Signed-off-by: Josh Stone <jistone@redhat.com>
* Fix the syscall tapset for architectures using SYSCALL_WRAPPERSAnanth N Mavinakayanahalli2009-02-241-268/+533
|
* Don't use pointer_arg to fetch arguments for syscall utime and compat_utime.Mark Wielaard2008-10-231-8/+8
|
* Transform struct sigaction32 to struct sigaction for rt_sigaction32 syscall.Mark Wielaard2008-10-071-1/+2
|
* Fix 2.6.27 detection.Mark Wielaard2008-09-151-6/+6
|
* Rename $path to $pathname of syscall tapset for 2.6.27Wenji Huang2008-08-041-6/+39
|
* * syscalls2.stp: Add sys_unlinkat.Zhaolei2008-07-251-0/+19
|
* syscalls2.stp: Add sys_symlinkat.Zhaolei2008-07-181-0/+22
|
* syscalls2.stp: Add sys_renameat.Zhaolei2008-06-261-0/+23
|
* syscalls2.stp: Add sys_unshare.Zhaolei2008-06-041-0/+14
|
* Merge branch 'master' of ssh://sources.redhat.com/git/systemtapFrank Ch. Eigler2008-05-211-8/+8
|\ | | | | | | | | | | * 'master' of ssh://sources.redhat.com/git/systemtap: Use pointer_arg to fetch arguments for syscall.utime and compat_utime. Optimize compound and binary expression assignments.
| * Use pointer_arg to fetch arguments for syscall.utime and compat_utime.Mark Wielaard2008-05-211-8/+8
| |
* | PR6538: tapset changesFrank Ch. Eigler2008-05-201-1/+1
|/
* PR5001: Remove _stp_ctime and always use ctime.Mark Wielaard2008-05-201-4/+8
|
* 2008-03-11 Will Cohen <wcohen@redhat.com>wcohen2008-03-111-4/+4
| | | | * syscalls2.stp (syscall.wait{4|id}): Correct for 2.6.24.n kernels.
* 2008-02-26 Srinivasa DS<srinivasa@in.ibm.com> PR 5772,srinivasa2008-02-261-22/+8
| | | | | tapset/syscall2.stp: to modify argument list of waitid,wait4 for kernel > 2.6.24
* Fix for bug#5772srinivasa2008-02-251-3/+19
|
* 2007-12-12 Martin Hunt <hunt@redhat.com>hunt2007-12-121-13/+5
| | | | | * syscalls2.stp (compat_sys_ptrace): Remove for now. Utrace-patched kernels have a different compat_sys_ptrace().
* 2007-12-7 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-12-071-6/+24
| | | | | From Yang Zhiguo <yzgcsu@cn.fujitsu.com> * syscalls2.stp: Add missed compat* probes in syscalls2.stp.
* 2007-11-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-211-2/+4
| | | | | | From Bai Weidong <baiwd@cn.fujitsu.com> * syscalls2.stp (rt_sigsuspend): Fix the semantic error caused by the difference of kernel versions on IA64.
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-121-1/+1
| | | | | * syscalls2.stp (sys_remap_file_pages: : Change kernel version check to >= 2.6.24.
* 2007-11-1 Will Cohen <wcohen@redhat.com>wcohen2007-11-011-0/+4
| | | | | * syscall2.stp (sys_remap_file_pages): Fix compile error with kernel version greater than 2.6.23.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-091-1/+1
| | | | | | | | | * syscalls2.stp (sys_signal): Call _sighandler_str(). * aux_syscalls.stp (_stp_sigset_str): Don't include SIG_0. (_sighandler_str): New.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-051-33/+31
| | | | | | | | | | | | | | * syscalls2.stp (rt_sigaction, sigaction): Call _struct_sigaction_u(). * aux_syscalls.stp (_struct_timeval): Removed. No longer necessary now that we have structure access in scripts. (_struct_timespec): Ditto. (_struct_itimerval): Ditto. (_struct_timezone_u): Remove random CATCH_DEREF_FAULT() line. (_stp_sigset_str): New. (_struct_sigaction_u): New.
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-251-2/+2
| | | | * syscalls2.stp (sys_readlinkat): Make optional.
* 2007-09-24 Martin Hunt <hunt@redhat.com>hunt2007-09-241-13/+9
| | | | | * aux_syscalls.stp (_at_flag_str): Add some more flags. * syscalls2.stp (openat): Call _dfd_str().
* 2007-09-23 Ulrich Drepper <drepper@redhat.com>fche2007-09-231-1/+24
| | | | * syscalls2.stp (readlinkat): Add.
* 2007-09-19 Martin Hunt <hunt@redhat.com>hunt2007-09-191-4/+4
| | | | | | | | | | | | | | | | PR 2295 * syscalls.stp (sys_bdflush): Make optional. (sys_madvise): Ditto. (sys_mincore): Ditto. (sys_mlock): Ditto. (sys_mlockall): Ditto. (sys_mprotect): Ditto. (sys_mremap): Ditto. (sys_msync): Ditto. (sys_munlock): Ditto. (sys_munlockall): Ditto. * syscalls2.stp (sys_remap_pages): Make optional. * ppc64/syscalls.stp (ppc_rtas): Make optional.
* 2007-09-04 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-041-2/+3
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * syscalls2.stp (quotactl): Init special_str before use. (rt_sigqueueinfo): Change pid's type from %p to %d in argstr.
* 2007-08-30 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-301-1/+1
| | | | * syscalls2.stp (syslog): Make $buf output as address in argstr.
* 2007-08-29 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-291-2/+2
| | | | | * syscalls2.stp (sysfs): Make numbers of args in argstr always same.
* 2007-08-29 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-291-1/+8
| | | | | * syscalls2.stp (sysfs): Set argstr's format different by value of option arg.
* 2007-08-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-271-2/+2
| | | | * syscalls2.stp(sendto): Set $addr as content string in argstr.
* 2007-08-24 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-241-1/+1
| | | | * syscalls2.stp(send): Add len argument into argstr.
* Correct compat_sys_utimensat arg.wcohen2007-08-231-1/+1
|
* 2007-08-23 Martin Hunt <hunt@redhat.com>hunt2007-08-231-1/+1
| | | | * syscalls2.stp (sys_tee.return): Make optional
* 2007-08-23 Martin Hunt <hunt@redhat.com>hunt2007-08-231-6/+7
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * aux_syscalls.stp (_waitid_opt_str): New. (_wait4_opt_str): Just handle wait4 options. * syscalls2.stp (sys_waitid): Use _waitid_opt_str.
* 2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-231-5/+5
| | | | | * syscalls2.stp: Change name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
* 2007-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-221-35/+136
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ppc64/syscalls.stp: Remove a bunch of non-ppc64 specific probes. * syscalls.stp (compat_sys_epoll_ctl): New. (compat_sys_epoll_wait): New. (sys_epoll_pwait): New. (compat_sys_epoll_pwait): New. (compat_sys_keyctl): New. (compat_sys_mq_open): New. (compat_sys_futex): New. (compat_sys_mq_timedsend): New. (compat_sys_mq_timedreceive): New. (compat_sys_mq_notify): New. (compat_sys_mq_getsetattr): New. (init_module): Make optional and quote args. (sys_eventfd): New. * syscalls2.stp (sys_splice): New. (sys_vmsplice): New. (compat_sys_vmsplice): New. (sys_tee): New. (sys_signalfd): New. (compat_sys_signalfd): New. (sys_timerfd): New. (compat_sys_timerfd): New. (old32_readdir): New.
* 2007-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-221-51/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aux_syscalls.stp (_utimensat_flag_str): New. (_dfd_str): New. (_struct_timeval2_u): Deleted. (_struct_timeval_u): Take a number of structs to decode. (_struct_compat_timeval2_u): Deleted (_struct_compat_timeval_u): Take a number of structs to decode. (_struct_timespec_u): Take a number of structs to decode. Recognize UTIME_NOW and UTIME_OMIT. (_struct_compat_timespec_u): Ditto. * syscalls.stp (compat_sys_old_getrlimit): Removed. (sys_migrate_pages): New. (sys_move_pages): New. * syscalls2.stp (compat_sys_sigprocmask): Removed. Calls sys_sigprocmask. (compat_sys_sysinfo): New. (compat_sys_rt_sigtimedwait): New. (sys_utimensat, compat_sys_utimensat): New. * ppc64/syscalls.stp (compat_sys_sigpending): Removed. Calls sys_ func. (compat_sys_setrlimit): Ditto. (compat_sys_getrlimit): Ditto. (compat_sys_old_getrlimit): Ditto. (compat_sys_getrusage): Ditto. (compat_sys_wait4): Ditto. (compat_sys_sched_setaffinity): Ditto. (compat_sys_sched_getaffinity): Ditto.
* 2007-08-22 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-221-1/+1
| | | | | * syscalls2.stp (syscall.setdomainname): Add argstr content (argstr = "" -> argstr = sprintf("%p, %d", $name, $len).
* 2007-08-21 Frank Ch. Eigler <fche@elastic.org>fche2007-08-211-0/+1
| | | | | | From Cai Fei <caifei@cn.fujitsu.com>: * syscalls2.stp, syscalls.stp: Added several missing argstr/retstr variables.
* 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-211-1/+1
| | | | | * syscalls2.stp (syscall.selec): Fixed variable name error (timeout_uaddr = $tv->$tvp).
* 2007-08-15 Martin Hunt <hunt@redhat.com>hunt2007-08-151-0/+4
| | | | | | | | | * x86_64/syscalls.stp: Add support for sys32_mmap[2], sys32_vm86_warning, and sys32_pipe. * s390x/syscalls.stp (get_mmap_args): Move to aux_syscalls. * aux_syscalls.stp (get_mmap_args): Moved here. * syscalls.stp: Add sys32_alarm. * syscalls2.stp: Add sys32_uname.
* 2007-08-09 William Cohen <wcohen@redhat.com>wcohen2007-08-091-2/+2
| | | | | | | | | * tapset/syscalls.stp (syscall.compat_execve, syscall.compat_execve.return): * tapset/syscalls2.stp (syscall.compat_sys_semtimedop, syscall.compat_sys_semtimedop.return): * tapset/i686/syscalls.stp (syscall.set_zone_reclaim, syscall.set_zone_reclaim.return): Make optional.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-311-10/+3
| | | | * syscalls*: Move sys32_sysctl to arch dirs.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-311-1/+1
| | | | | | * syscalls.stp (clack_nanosleep): Fix flags string. * syscalls2.stp: Fix typo.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-311-119/+209
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * */syscalls.stp: Added mmap functions. Continued moving common compatibility functions to the main tapset. * aux_syscalls.stp (_shmat_flags_str): New. (__get_compat_argv): New. * syscalls.stp (adjtimex): Just print hex argument. (compat_adjtimex): New. (clock_getres): Also probe compat_clock_getres. (clock_gettime): Also probe compat funcs. (compat_clock_nanosleep): New. (compat_execve): New. (fstatat): New. (get[e][gu]id): Also probe sys32. (getsockopt): Make optional. Also probe compat. (mmap, mmap2): These are arch-specific, so move to individual architecture subdirs. (compat_sys_msgctl): New. (compat_sys_msgrcv): New. (compat_sys_msgsnd): New. * syscalls.stp (pread32): Remove. It calls pread64 . (quotactl): Make optional. (recv): Probe correct function. (recvfrom): Fix args. (compat_sys_recvmsg): New. (semctl): Make optional. (compat_sys_semctl): New. (semget): Make optional. (semop): Make optional. (semtimedop): Make optional. (compat_sys_semtimedop): New. (send): Make optional. (sendmsg): Make optional. (compat_sys_sendmsg): New. (sendto): Make optional. (setsockopt): Make optional. Add compat. (shmat): New. (compat_sys_shmat): New. (shmctl): New. (compat_sys_shmctl): New. (shmdt): New. (shmget): New. (shutdown): Make optional. (socket): Make optional. (socketpair): Make optional. (swapoff): Make optional. (swapon): Make optional. (sysctl): Add probe on sys32.
* fixed support for pread and pwrite for s390x. Added tests for pread and pwrite.dwilder2007-07-301-2/+16
|