| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* syscalls2.stp: Change name of _send_flags_str to _sendflags_str
for unify with _recvflags_str.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* syscalls2.stp (syscall.setdomainname): Add argstr content
(argstr = "" -> argstr = sprintf("%p, %d", $name, $len).
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>:
* syscalls2.stp, syscalls.stp: Added several missing argstr/retstr
variables.
|
|
|
|
|
| |
* aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT
used in recv, recvfrom, recvmsg, compat_sys_recvmsg
|
|
|
|
|
| |
* syscalls2.stp (syscall.select): Fixed variable name error
(timeout_uaddr = $tv->$tvp).
|
|
|
|
|
| |
* syscalls2.stp (syscall.selec): Fixed variable name error
(timeout_uaddr = $tv->$tvp).
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>
* syscalls.stp (creat): Fix argstr.
|
|
|
|
|
|
|
| |
* ioscheduler.stp (ioscheduler.elv_add_request,
ioscheduler.elv_completed_request): Add checking $rq.
* memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
|
|
|
|
|
|
|
| |
* ioscheduler.stp (ioscheduler.elv_add_request,
ioscheduler.elv_completed_request): Add checking $rq.
* memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
|
|
|
|
|
|
|
|
|
| |
PR 1315.
* target_set.stp: New tapset file.
* stapfuncs.5.in: Document new target_set tapset.
* buildok/fortyfive.stp: New test.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* errno.stp: Fix Typo for EADV
|
|
|
|
|
|
| |
* 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."
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* context.stp (cpuid, cpu): Use smp_processor_id().
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
From "Zhaolei" zhaolei@cn.fujitsu.com:
* syscalls.stp (msync.return): Correct name variable.
|
|
|
|
|
| |
From "Zhaolei" zhaolei@cn.fujitsu.com:
* aux_syscalls.stp (_sockopt_optname_str): Add SO_SND/RCVBUFFORCE.
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>:
* aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
From "Zhaolei" zhaolei@cn.fujitsu.com:
* aux_syscalls.stp (_sockopt_level_str): Correct level=1 string.
|
| |
|
|
|
|
| |
* aux_syscalls.stp (__get_compat_argv): Add cast.
|
|
|
|
| |
* syscalls*: Move sys32_sysctl to arch dirs.
|
|
|
|
|
|
| |
* syscalls.stp (clack_nanosleep): Fix flags string.
* syscalls2.stp: Fix typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* */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.
|
| |
|
|
|
|
|
| |
* ppc64/syscalls.stp: Remove duplicate sys_request_key{,.return}
aliases.
|
| |
|
| |
|
| |
|
|
|
|
| |
(compat_sys_io_submit): Fix typo.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* tcp.stp (tcp_sockstate_str, tcp_sockopt_str,
tcp_setsockopt): New. Also added sockopt and sockstate
lookup tables.
|
|
|
|
|
| |
* aux_syscalls.stp (_struct_compat_timeval2_u):
Fixes.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* syscalls2.stp (compat_sys_utimes): New.
* ppc64/syscalls.stp (ciompat_sys_utimes): Removed.
|
|
|
|
| |
* syscalls.stp (compat_sys_futimesat): Fix arg.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* context.stp (print_backtrace): If no regs, just
print the probe point.
|
|
|
|
|
|
| |
* syscalls_cfg_trunc.stp: New file for configuration global.
* syscalls.stp (add_key, mount), syscalls2.stp (write):
Use parameter.
|