summaryrefslogtreecommitdiffstats
path: root/tapset
Commit message (Collapse)AuthorAgeFilesLines
...
* 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-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-231-1/+2
| | | | | | | * aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE (used in send, sendto, sendmsg and compat_sys_sendmsg). Change name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
* 2007-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-226-401/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-225-274/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-222-18/+25
| | | | | | | * nfsd.stp (nfsd.proc?.*): Modify evaluating client_ip with function addr_from_rqst to make it compatible in kernel>=2.6.19 (nfsd.proc4.compound,nfsd.read,nfsd.write): Fix typo. (nfsd.unlink): Fix reference to variable iap.
* 2007-08-22 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-223-80/+79
| | | | | | | | | | * nfs.stp (__iov_length): Updated, Temporary here. * nfs_proc.stp (__i2n_ip_proto): Add type cast to sockaddr_in. (nfs.proc?.*): Modify evaluating count and offset. (nfs.proc?.read.return): Delete evaluating size and units. (nfs.proc?.write.return): Modify evaluating size. (nfs.proc?.create): Modify evaluating filename and filelen. (nfs.proc?.rename): Fix typo.
* 2007-08-22 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-222-1/+6
| | | | | * 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-213-0/+17
| | | | | | 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-212-0/+3
| | | | | * aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT used in recv, recvfrom, recvmsg, compat_sys_recvmsg
* 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-211-0/+5
| | | | | * syscalls2.stp (syscall.select): Fixed variable name error (timeout_uaddr = $tv->$tvp).
* 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-20 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-08-202-6/+16
| | | | | | | * ioblock.stp: Fix __bio_ino() not to access i_ino if the page is not assigned to any inode. * stack-x86_64.c: Fix backtrace to use the value of stack register instead of its address.
* 2007-08-20 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-202-12/+26
| | | | | | | * nfs.stp (nfs.fop.aio_read, nfs.fop.aio_write): Modify evaluating count. (__iov_length): New function. (nfs.fop.sendfile, nfs.aop.set_page_dirty, nfs.aop.prepare_write, nfs.aop.release_page): Fix typo.
* 2007-08-17 Martin Hunt <hunt@redhat.com>hunt2007-08-172-2/+5
| | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * syscalls.stp (creat): Fix argstr.
* 2007-08-17 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-171-4/+4
| | | | | | | * ioscheduler.stp (ioscheduler.elv_add_request, ioscheduler.elv_completed_request): Add checking $rq. * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
* 2007-08-17 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-172-4/+11
| | | | | | | * ioscheduler.stp (ioscheduler.elv_add_request, ioscheduler.elv_completed_request): Add checking $rq. * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
* 2007-08-16 Frank Ch. Eigler <fche@elastic.org>fche2007-08-172-0/+32
| | | | | | | | | PR 1315. * target_set.stp: New tapset file. * stapfuncs.5.in: Document new target_set tapset. * buildok/fortyfive.stp: New test.
* 2007-08-16 Martin Hunt <hunt@redhat.com>hunt2007-08-162-2/+11
| | | | | | | | * aux_syscalls.stp (_sock_family_str): Add PF_IUCV, PF_RXRPC, PF_TIPC. From zhaolei@cn.fujitsu.com Remove PF_UNIX. PF_LOCAL is correct.
* 2007-08-16 Martin Hunt <hunt@redhat.com>hunt2007-08-164-11/+28
| | | | | | | | | | | | | | * 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-08-15 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-162-1/+5
| | | | * errno.stp: Fix Typo for EADV
* 2007-08-15 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-162-37/+62
| | | | | | * aux_syscalls.stp(_reboot_flag_str,_futex_op_str,_mprotect_prot_str, _fcntl_cmd_str, _quotaclt_cmd_str, _sock_type_str, _rlimit_resource_str, _rusage_who_str): Add new entries, modify default return string."
* 2007-08-15 Martin Hunt <hunt@redhat.com>hunt2007-08-156-56/+128
| | | | | | | | | * 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-15 Frank Ch. Eigler <fche@elastic.org>fche2007-08-152-3/+7
| | | | * context.stp (cpuid, cpu): Use smp_processor_id().
* add entries to _sched_policy_str,_nfsctl_cmd_strwenji2007-08-132-1/+9
|
* 2007-08-10 Josh Stone <joshua.i.stone@intel.com>jistone2007-08-112-55/+50
| | | | | | | | | | | | | | | | | | | PR 4593 * translate.cxx (c_unparser::emit_common_header): Add an error_buffer to the context to allow dynamic error messages. * tapsets.cxx (dwflpp::express_as_string): Let deref / store_deref fill in last_error with a detailed message. runtime/ * loc2c-runtime.h (deref, store_deref): Set an error message with the pointer value and name into last_error, since it's hard to determine the details once you've already jumped to deref_fault. tapset/ * conversions.stp (kernel_string, kernel_long, kernel_int, kernel_short, kernel_char, user_string_warn): Use the CONTEXT->error_buffer to create an error message instead of a static local array.
* 2007-08-10 Frank Ch. Eigler <fche@elastic.org>fche2007-08-102-2/+7
| | | | | From "Zhaolei" zhaolei@cn.fujitsu.com: * syscalls.stp (msync.return): Correct name variable.
* 2007-08-10 Frank Ch. Eigler <fche@elastic.org>fche2007-08-102-0/+7
| | | | | From "Zhaolei" zhaolei@cn.fujitsu.com: * aux_syscalls.stp (_sockopt_optname_str): Add SO_SND/RCVBUFFORCE.
* 2007-08-09 Frank Ch. Eigler <fche@elastic.org>fche2007-08-092-0/+11
| | | | | From Cai Fei <caifei@cn.fujitsu.com>: * aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.
* 2007-08-09 William Cohen <wcohen@redhat.com>wcohen2007-08-094-8/+15
| | | | | | | | | * 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-08-08 Frank Ch. Eigler <fche@elastic.org>fche2007-08-082-1/+6
| | | | | From "Zhaolei" zhaolei@cn.fujitsu.com: * aux_syscalls.stp (_sockopt_level_str): Correct level=1 string.
* thread_info is renamed to stack since kernel 2.6.22wenji2007-08-041-1/+1
|
* 2007-08-03 Martin Hunt <hunt@redhat.com>hunt2007-08-032-1/+5
| | | | * aux_syscalls.stp (__get_compat_argv): Add cast.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-316-21/+55
| | | | * syscalls*: Move sys32_sysctl to arch dirs.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-313-3/+17
| | | | | | * syscalls.stp (clack_nanosleep): Fix flags string. * syscalls2.stp: Fix typo.
* 2007-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-319-543/+708
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * */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.
* * add PRfche2007-07-311-0/+2
|
* 2007-07-31 Frank Ch. Eigler <fche@elastic.org>fche2007-07-312-22/+5
| | | | | * ppc64/syscalls.stp: Remove duplicate sys_request_key{,.return} aliases.
* fixed support for pread and pwrite for s390x. Added tests for pread and pwrite.dwilder2007-07-302-2/+23
|
* Fixes for PR4836.mmason2007-07-253-7/+25
|
* socket.stp: changed initialization of *num2str arrays to foreach loops.mmason2007-07-172-169/+13
|
* 2007-07-16 Martin Hunt <hunt@redhat.com>hunt2007-07-162-2/+4
| | | | (compat_sys_io_submit): Fix typo.
* 2007-07-16 Martin Hunt <hunt@redhat.com>hunt2007-07-165-316/+369
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-11 Eugene Teo <eteo@redhat.com>eteo2007-07-112-0/+72
| | | | | | * tcp.stp (tcp_sockstate_str, tcp_sockopt_str, tcp_setsockopt): New. Also added sockopt and sockstate lookup tables.
* 2007-07-10 Martin Hunt <hunt@redhat.com>hunt2007-07-112-3/+7
| | | | | * aux_syscalls.stp (_struct_compat_timeval2_u): Fixes.
* 2007-07-10 Martin Hunt <hunt@redhat.com>hunt2007-07-107-782/+461
| | | | | | | | * 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-093-17/+18
| | | | | * syscalls2.stp (compat_sys_utimes): New. * ppc64/syscalls.stp (ciompat_sys_utimes): Removed.
* 2007-07-09 Martin Hunt <hunt@redhat.com>hunt2007-07-092-2/+6
| | | | * syscalls.stp (compat_sys_futimesat): Fix arg.
* 2007-07-03 Martin Hunt <hunt@redhat.com>hunt2007-07-034-2/+74
| | | | | | | * syscalls.stp: Add sys_futimesat, compat_sys_futimesat. * syscalls2.stp (utimes): Use _struct_timeval2_u. * aux_syscalls.stp (_struct_timeval2_u): New function. (_struct_compat_timeval2_u): New function.
* 2007-07-02 Martin Hunt <hunt@redhat.com>hunt2007-07-022-0/+7
| | | | | * context.stp (print_backtrace): If no regs, just print the probe point.
* 2007-06-22 Frank Ch. Eigler <fche@elastic.org>fche2007-06-224-4/+13
| | | | | | * syscalls_cfg_trunc.stp: New file for configuration global. * syscalls.stp (add_key, mount), syscalls2.stp (write): Use parameter.