summaryrefslogtreecommitdiffstats
path: root/tapset
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* *** empty log message ***hunt2007-06-151-13/+10
|
* 2007-06-15 Martin Hunt <hunt@redhat.com>hunt2007-06-154-15/+45
| | | | | | | * syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64, sys_oabi_lstat64. * syscalls2.stp: Fix sys_send. Add sys_sendfile64. * errno.stp: Add arm support.
* Removed extra assignment to "size" in socket.aio_write.returnmmason2007-06-152-1/+5
|
* 2007-06-07 Martin Hunt <hunt@redhat.com>hunt2007-06-074-23/+31
| | | | | | | | | | 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().
* Removed workaround for negative 32-bit return values on 64-bit systems.mmason2007-06-061-3/+1
|
* 2007-05-17 Martin Hunt <hunt@redhat.com>hunt2007-05-173-49/+54
| | | | | | | | | | | * 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.
* PR 4471wcohen2007-05-162-0/+9
| | | | * syscall2.stp: Correct sys_pipe function args for ia64.
* PR 4510wcohen2007-05-162-2/+7
| | | | * scheduler.stp: Correct function argument.
* 2007-05-09 Martin Hunt <hunt@redhat.com>hunt2007-05-095-34/+29
| | | | | | | | | | * 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.
* stp:syscall.pause Added sys32_pause to probe list.dwilder2007-04-253-4/+13
|
* * memory.stp: Update vm.pagefault.return comment.wcohen2007-04-252-0/+8
|
* Adapt socket tapset to changes in 2.6.19.mmason2007-04-242-37/+158
|
* * fixing changelog entry locationfche2007-04-241-0/+4
|
* * tapset/memory.stp: Add matching vm.pagefault.returnwcohen2007-04-241-0/+17
| | | | * testsuite/buildok/memory.stp: Test vm.pagefault.return.
* 2007-04-23 Frank Ch. Eigler <fche@elastic.org>fche2007-04-232-3/+18
| | | | | * scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes switch from __switch_to to context_switch on x86-64 in Ipswitch.
* 2007-04-04 Sébastien Dugué <sebastien.dugue@bull.net>fche2007-04-112-4/+13
| | | | * scsi.stp: Fix for when the scsi driver is built into the kernel.
* 2007-04-11 Martin Hunt <hunt@redhat.com>hunt2007-04-112-0/+5
| | | | * aux_syscalls.stp: Add in6.h include.
* 2007-04-10 Martin Hunt <hunt@redhat.com>hunt2007-04-103-2/+14
| | | | | | * logging.stp (print_char): New function. * aux_syscalls.stp: Clean up network includes.
* Added new tapset developer's guide.mmason2007-04-092-0/+252
|
* 2007-03-30 Frank Ch. Eigler <fche@redhat.com>fche2007-03-305-11/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | PR 1570 * NEWS: Document probe handler language change re. inline functions. * stapprobes.5.in: Likewise. * tapsets.cxx: Many changes to simplify caches and implement new handling of inline functions, removed of stubs for future probes. * elaborate.cxx (derived_probe printsig_nested): New function. * elaborate.h: Declare it. * main.cxx (usage): Clarify "-r" meaning. (main): Tweak related "-p 4" message. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570. * memory.stp, scheduler.stp, signal.stp, LKET/signal.stp: Adapt to .inline -> .function change. 2007-03-30 Frank Ch. Eigler <fche@elastic.org> PR 1570 * */*.stp: Adapt to .inline -> .function change. * lib/stap_run.exp, stap_run2.exp, stap_run_binary.exp: Shorten pass/fail dejagnu log lines. * systemtap.syscall/sys.stp, test.tcl: Make slightly more compatible and failure more verbose.
* * applying kernel drift patchesfche2007-03-208-35/+109
| | | | | | | | | | | | | | | | | | | | 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net> * nfsd.stp (nfsd.dispatch): Change initialization of variable client_ip with a call to addr_from_rqst. * rpc.stp (addr_from_rqst): - update with changes in struct svc_rqst - __rpc_execute returns void now. struct rpc_xprt modified since kernel 2.6.19. * nfs.stp, vfs.stp: Local variables f_dentry renamed, because conflicting with a new #define in kernel header linux/fs.h in 2.6.20. 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net> * nfs.stp: Local variables f_dentry renamed, because conflicting with a new #define in kernel header linux/fs.h in 2.6.20. * rpc.stp (_addevent.sunrpc.sched.execute.return): update with __rpc_execute which returns void since kernel 2.6.21.
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-141-1/+1
| | | | | | | | | | | | | | | * Makefile.am (staprun_SOURCES): Sources now live in runtime/staprun. * makefile.in: Rebuilt. * staprun.8.in: Updated. * buildrun.cxx (run_pass): Use "-v" instead of not "-q" to be compatible with latest staprun. * translate.cxx (emit_module_exit): Print warning using _stp_printf so it shows up at the end of all output. (translate_pass): Replace STP_RELAYFS with STP_BULKMODE. Eliminate STP_RELAYFS_MERGE.