summaryrefslogtreecommitdiffstats
path: root/tapset/ppc64/syscalls.stp
Commit message (Collapse)AuthorAgeFilesLines
* PR4186 cont'd: option #2: standardize on kernel ARCH/SUBARCH throughoutFrank Ch. Eigler2009-08-251-589/+0
| | | | | | | | * main.cxx (main): Perform equivalent sed by hand on uname()->machine. * stap.1.in: Clarify -a ARCH slightly. * tapsets.cxx (validate_module_elf): Accept "arm*"for EM_ARM. * tapset/**, testsuite/**: Removed/collapsed "i386"/"i686" branches, renamed "ppc64"->"powerpc" and "s390x"->"s390".
* Clean up the formatting of $arch/syscalls.stpJosh Stone2009-06-021-90/+128
|
* 2007-09-19 Martin Hunt <hunt@redhat.com>hunt2007-09-191-2/+2
| | | | | | | | | | | | | | | | 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-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-221-275/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-137/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-16 Martin Hunt <hunt@redhat.com>hunt2007-08-161-2/+2
| | | | | | | | | | | | | | * aux_syscalls.stp (__get_argv): Add parameter to optionally skip the first argv (argv[0]). (__get_compat_argv): Ditto. * syscalls.stp (execve): Set args to the whole argv. For argstr use filename plus argv starting at [1]. (compat_execve): Ditto. * ppc64/syscalls.stp (sys32_exevve): Ditto. From Cai Fei <caifei@cn.fujitsu.com> * syscalls.stp (sts_getpgid): Add pid arg.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-311-10/+10
| | | | * syscalls*: Move sys32_sysctl to arch dirs.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-311-294/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * */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.
* 2007-07-31 Frank Ch. Eigler <fche@elastic.org>fche2007-07-311-22/+0
| | | | | * ppc64/syscalls.stp: Remove duplicate sys_request_key{,.return} aliases.
* 2007-07-16 Martin Hunt <hunt@redhat.com>hunt2007-07-161-213/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * syscalls.stp (compat_sys_fcntl64, compat_sys_fcntl): Add. (compat_sys_fstatfs64): Add. (compat_sys_getdents, compat_sys_getdents64): Add. (compat_sys_ioctl): Add. (compat_sys_io_getevents): Add. (compat_sys_io_setup): Add. (compat_sys_io_submit): Add. * syscalls2.stp (compat_sys_nfsservctl): Add. (sys_openat): Add. (sys_ppoll): Add; (compat_sys_ppoll): Add. (sys32_pread64): Add. (sys32_pwrite32): Add. (sys_pwrite64): Print quoted string. (sys_pselect6, compat_sys_pselect6): Add. (sys_pselect7, compat_sys_pselect7): Add. (compat_sys_old_readdir): Add. (sys_select): Don't try to print fd_sets. (compat_sys_select): Add. (compat_sys_statfs64): Add. * ppc/syscalls.stp: Remove duplicated probes. * aux_syscalls.stp (_nfsctl_cmd_str): New. (_fd_set_u): Removed. Not used.
* 2007-07-10 Martin Hunt <hunt@redhat.com>hunt2007-07-101-170/+2
| | | | | | | | * syscall*.stp: Major reorganization work. * aux_syscalls.stp (_sigprocmask_how_str): Rewrite in C so real arch-dependent header files will be used. (_mlockall_flags_str): Ditto.
* 2007-07-09 Martin Hunt <hunt@redhat.com>hunt2007-07-091-17/+0
| | | | | * syscalls2.stp (compat_sys_utimes): New. * ppc64/syscalls.stp (ciompat_sys_utimes): Removed.
* 2007-05-09 Martin Hunt <hunt@redhat.com>hunt2007-05-091-14/+0
| | | | | | | | | | * 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.
* *** empty log message ***hunt2006-07-211-244/+0
|
* Some minor changeshien2006-07-181-16/+17
|
* Use user_string_quotedhien2006-07-171-83/+85
|
* main.cxx: add LKET's tapsets into stap's default tapsets search pathguanglei2006-07-171-49/+0
| | | | | | | | 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
* *** empty log message ***hunt2006-07-111-10/+6
|
* fix syscall.lstat, syscall.lstat64, syscall.newlstat.guanglei2006-07-041-7/+7
| | | | fix syscall.compat_sys_statfs and syscall.sys32_open in ppc64/syscalls.stp
* Fixed most syscalls testsuite failures.hien2006-06-281-173/+252
|
* 2006-05-25 Martin Hunt <hunt@redhat.com>hunt2006-05-251-87/+87
| | | | * syscall*.stp: Change "0x%p" to "%p".
* Check into CVS the tracing specific tapsets used by LKET.guanglei2006-05-181-0/+3
| | | | And some minor changes to current tapsets
* 2006-05-16 David Smith <dsmith@redhat.com>dsmith2006-05-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Changed to use %p.hunt2006-04-211-87/+87
|
* More ppc64 specific calls.hien2006-03-221-95/+416
|
* ppc64 specific system calls.hien2006-03-151-0/+1497