summaryrefslogtreecommitdiffstats
path: root/tapset/syscalls.stp
Commit message (Collapse)AuthorAgeFilesLines
...
* 2007-06-22 Frank Ch. Eigler <fche@elastic.org>fche2007-06-221-2/+2
| | | | | | * syscalls_cfg_trunc.stp: New file for configuration global. * syscalls.stp (add_key, mount), syscalls2.stp (write): Use parameter.
* 2007-06-15 Martin Hunt <hunt@redhat.com>hunt2007-06-151-5/+21
| | | | | | | * syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64, sys_oabi_lstat64. * syscalls2.stp: Fix sys_send. Add sys_sendfile64. * errno.stp: Add arm support.
* 2007-06-07 Martin Hunt <hunt@redhat.com>hunt2007-06-071-9/+9
| | | | | | | | | | Fallout from PR 3331 fix. Sometimes glibc and the kernel disagree about signed vs unsigned. * aux_syscalls.stp: Rename __uid() to __int32(). * syscalls.stp: Change syscall.chown, syscall.fchown, syscall.lchown, and syscall.lseek to use __int32(). * syscalls2.stp: Change syscall.setregid, syscall.resgid, syscall.resuid, and syscall.setreuid to use __int32().
* 2007-05-17 Martin Hunt <hunt@redhat.com>hunt2007-05-171-12/+23
| | | | | | | | | | | * syscalls.stp: Make optional sys_alarm, sys_fadvise64, sys_gethostname, sys_getpgrp, and sys_llseek. (syscall.getrlimit): Add optional calls sys_old_getrlimit, compat_sys_getrlimit, and compat_sys_old_getrlimit. * syscalls2.stp: Make optional sys_nice, sys_rt_sigreturn, sys_signal, sys_sigprocmask, sys_utime (syscall.old_getrlimit): Moved into syscall.getrlimit.
* 2007-05-09 Martin Hunt <hunt@redhat.com>hunt2007-05-091-5/+12
| | | | | | | | | | * syscalls2.stp: Added compat_sys_pause to syscall.pause. * syscalls.stp: Added sys_lstat64 to syscall.lstat. Added compat_sys_gettimeofday to syscall.gettimeofday. * ppc64/syscalls.stp: Remove sys_lstat64. * i686/syscalls.stp: Remove sys_lstat64.
* Created an s390x version of syscall.mmap, syscall.mmap2, syscall.mmap.return,dwilder2007-02-221-0/+3
| | | | syscall.mmap2.return.
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | * aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp, nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp, socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences with kread wherever possible. Some places still have hazards, as marked with FIXMEs. * errno.stp (returnstr): Don't use return in tapset C functions. * aux_syscalls.stp (__uget_timex_m): Ditto. * nfsd.stp (__get_fh): Ditto. * nfs.stp, vfs.stp (<many functions>): Ditto. * string.stp (substr): Ditto. Also make sure start index is valid. * syscalls.stp (syscall.execve): Change __string to kernel_string. LKET/ * nfs.stp, nfs_proc.stp, nfsd.stp, process.stp, tskdispatch.stp: Protect pointer dereferences with kread wherever possible. Some places still have hazards, as marked with FIXMEs. * aio.stp (log_io_getevents): Don't use return in tapset C functions. * timestamp.stp (set_timing_method): Ditto. * utils.stp (filter_by_pid): Ditto.
* 2007-01-17 Martin Hunt <hunt@redhat.com>hunt2007-01-171-0/+16
| | | | | * syscalls.stp: Add syscall.creat. * syscalls2.stp: Add compat_sys_open.
* 2006-08-09 David Smith <dsmith@redhat.com>dsmith2006-08-091-1/+1
| | | | | * syscalls.stp: Fixed typo in syscall.kexec_load argument handling.
* *** empty log message ***hunt2006-07-211-1/+1
|
* *** empty log message ***hunt2006-07-211-27/+82
|
* main.cxx: add LKET's tapsets into stap's default tapsets search pathguanglei2006-07-171-8/+8
| | | | | | | | update lket man page to refect the new tapset search path syscalls.stp: make sys_acct, sys_add_key, sys_keyctl and sys_modify_ldt optional on ppc64 since they are weak symbol. ppc64/syscalls.stp: remove syscall.acct, syscall.add_key and syscall.umask since they are already defined in syscalls.stp
* More x86_64 workaroundshunt2006-07-121-0/+8
|
* Workarounds for bad debug info on x86_64.hunt2006-07-121-6/+6
|
* Fix some x86_64 breakage.hunt2006-07-111-0/+36
|
* *** empty log message ***hunt2006-07-111-668/+726
|
* 2006-07-04 Martin Hunt <hunt@redhat.com>hunt2006-07-041-20/+26
| | | | * syscalls.stp, syscalls2.stp: Use user_string_quoted().
* fix syscall.lstat, syscall.lstat64, syscall.newlstat.guanglei2006-07-041-4/+2
| | | | fix syscall.compat_sys_statfs and syscall.sys32_open in ppc64/syscalls.stp
* add addr_to_node() from Jose Santosguanglei2006-07-041-2/+2
|
* 2006-06-30 Martin Hunt <hunt@redhat.com>hunt2006-06-301-3/+34
| | | | | | | * conversions.stp (user_string): Don't generate errors on faults, just return <unknown>. (user_string2): New function. (user_string_warn): New function.
* Changes to AIO related syscalls(io_setup, io_submit, io_getevents, ↵guanglei2006-06-251-11/+18
| | | | io_cancel, io_destroy)
* 2006-06-19 Martin Hunt <hunt@redhat.com>hunt2006-06-191-11/+11
| | | | | * syscalls.stp: Make the 16-bit calls optional. * syscalls2.stp: Ditto.
* *** empty log message ***hunt2006-06-151-38/+47
|
* *** empty log message ***hunt2006-06-151-19/+32
|
* More uid and gid syscall fixes.hunt2006-06-141-4/+4
|
* *** empty log message ***hunt2006-06-141-4/+44
|
* Fix ppc64 issue - sys_mmaphien2006-06-121-1/+5
|
* *** empty log message ***hunt2006-06-121-8/+62
|
* made sys_ftruncate64 optional since it doesn't exist on 2.6.16*/ppc64guanglei2006-06-091-2/+2
|
* *** empty log message ***hunt2006-05-311-15/+12
|
* add mlock, mlockallhien2006-05-301-29/+29
|
* 2006-05-30 Martin Hunt <hunt@redhat.com>hunt2006-05-301-22/+21
| | | | | * aux_syscalls.stp (_mountflags_str): Rewrite. (_umountflags_str): New.
* Fix truncate and ftruncate.hunt2006-05-301-2/+2
|
* 2006-05-30 Martin Hunt <hunt@redhat.com>hunt2006-05-301-40/+33
| | | | | | * syscalls2.stp (sys_write): Use text_strn(). * syscalls.stp (sys_lseek): Fix. (sys_llseek): Fix.
* 2006-05-26 Martin Hunt <hunt@redhat.com>hunt2006-05-261-2/+2
| | | | | | | | | | | | * errno.stp: Add octal option for returnstr. * [i686,x86_64]/syscalls.stp (umask): Print args and return in octal. (add_key): Comment out. This syscall is added by a xen patch and may not be present. (tux): Ditto. * syscalls.stp (accept): Fix arg name.
* 2006-05-25 Martin Hunt <hunt@redhat.com>hunt2006-05-261-33/+26
| | | | | | | * syscalls.stp: Add sys_fcntl and sys_listen. * syscalls2.stp: Commented out sys_socketcall because it only calls other system calls which are already probed.
* 2006-05-25 Martin Hunt <hunt@redhat.com>hunt2006-05-251-33/+33
| | | | * syscall*.stp: Change "0x%p" to "%p".
* 2006-05-16 David Smith <dsmith@redhat.com>dsmith2006-05-161-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | * conversions.stp (hexstring, string): Removed functions. Because of parser changes, "string" is now a reserved word and cannot be a function name. Use 'sprintf("0x%x", num)' to replace hexstring() and either 'sprint(num)' or 'sprintf("%d", num)' to replace string(). * syscalls.stp (syscall.accept, syscall.alarm, syscall.close, syscall.dup, syscall.epoll_create, syscall.exit, syscall.fchdir, syscall.fdatasync, syscall.fsync, syscall.getsid) Changed 'string()' calls to 'sprint()' calls. * syscalls2.stp (syscall.sched_get_priority_max, syscall.sched_get_priority_min, syscall.sched_getscheduler, syscall.setfsgid, syscall.setfsgid16, syscall.setfsuid, syscall.setfsuid16, syscall.setgid, syscall.setgid16, syscall.setuid, syscall.setuid16, syscall.ssetmask, syscall.timer_delete, syscall.timer_getoverrun): Ditto. * i686/syscalls.stp (syscall.iopl, syscall.rt_sigreturn, syscall.sigreturn): Ditto. * ppc64/syscalls.stp (syscall.ppc64_personality): Ditto. * x86_64/syscalls.stp (kernel.syscall.iopl, kernel.syscall.umask): Ditto. * test/ctostp.sh: Uses 'sprint()' instead of 'string()' in generated systemtap code.
* 2006-05-05 Frank Ch. Eigler <fche@elastic.org>fche2006-05-061-0/+4
| | | | | | | | | | | | PR 2643 * testsuite/buildok/syscalls.stp: Take "-u" away again. * configure.ac, systemtap.spec.in: Bump version to 0.5.7. * configure: Regenerated. 2006-05-05 Frank Ch. Eigler <fche@elastic.org> PR 2643 * syscalls.stp: Put back some dummy syscall.exit*.return probes.
* 2006-05-05 Eugene Teo <eteo@redhat.com>eteo2006-05-051-8/+0
| | | | | | | | | PR 2433 * tapsets.cxx (dwarf_query::blacklisted_p): Extend the list of blacklisted .return probes to include "do_exit". Correct funcname typo for "sys_groupexit". * tapset/syscalls.stp: Remove .return probe aliases of never- returning syscall.exit and syscall.exit_group calls.
* Changed to use %p.hunt2006-04-211-116/+79
|
* *** empty log message ***hunt2006-03-131-91/+89
|
* Moved the following to arch specific since ppc64 does not have themhien2006-03-091-32/+0
| | | | | sys_acct sys_add_key
* *** empty log message ***hunt2006-03-021-16/+11
|
* 2006-03-01 Martin Hunt <hunt@redhat.com>hunt2006-03-011-2/+1
| | | | | | | | | | * aux_syscalls.stp (_struct_sockaddr_u): Parse sockaddr. * syscalls.stp (bind): Call _struct_sockaddr_u(). * errno.stp (errno_str): Complete rewrite in C for speed and accuracy. (returnstr): New function for syscall tapet.
* Move these aliases to arch specific areashien2006-02-201-98/+1
| | | | | | | | | | | | | sys_fstat sys_getegid16 sys_geteuid16 sys_getgid16 sys_getgroups16 sys_getuid16 sys_lstat sys_mmap2 sys_setgroups16 sys_stat
* 2006-02-14 Martin Hunt <hunt@redhat.com>hunt2006-02-141-32/+26
| | | | * syscalls.stp: MOre updates.
* 2006-02-14 Martin Hunt <hunt@redhat.com>hunt2006-02-141-832/+640
| | | | | | | | | | | | | | | | * aux_syscalls.stp (_struct_timeval_u): New function. (_struct_timeval): New function. (_struct_timespec_u): New function. (_struct_timespec): New function. (_struct_itimerval_u): New function: (_struct_itimerval): New function: (_signal_name): New function. (_module_flags_str): Fixed. * syscalls2.stp (syscall.setitimer): Use new function _struct_itimerval_u(). * syscalls.stp: Latest version. Many changes.
* 2006-02-08 Martin Hunt <hunt@redhat.com>hunt2006-02-091-215/+145
| | | | | | * aux_syscalls.stp(_msync_flag_str): Fix. (_wait_opt_str): Fix. * syscalls.stp: Latest.
* 2006-02-07 Martin Hunt <hunt@redhat.com>hunt2006-02-071-39/+71
| | | | | | | | | | | | | * syscalls.stp: Latest. * syscalls2.stp: Commented out pciconfig calls. Those need to go in arch-specific directories. * aux_syscalls.stp (_access_mode_str): Fix. (_mmap_flags): New Function. (_mprotect_prot_str): Fix. (__string): New. (__get_argv): New. (__fork_flags): New.