summaryrefslogtreecommitdiffstats
path: root/tapset
Commit message (Collapse)AuthorAgeFilesLines
* *** 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.
* (kernel_int) added goto success; (PR 4419)dwilder2007-03-012-0/+5
|
* Created an s390x version of syscall.mmap, syscall.mmap2, syscall.mmap.return,dwilder2007-02-223-0/+177
| | | | syscall.mmap2.return.
* 2007-02-09 Frank Ch. Eigler <fche@elastic.org>fche2007-02-092-11/+15
| | | | * conversions.stp (*): Make errmsg usage uniform.
* 2007-02-06 Josh Stone <joshua.i.stone@intel.com>jistone2007-02-0727-804/+691
| | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * kernel_{string,long,...,char} protected accessor functionsfche2007-02-062-3/+62
| | | | | | | | | | | | | | | | | | | | * test suites for all of 'em too * even documentation * mm, donuts 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * stapfuncs.5.in: Add docs for kernel_{long,int,short,char} and some user_string* variants. 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * conversions.stp (kernel_long/int/short/char): New functions. 2007-02-06 Frank Ch. Eigler <fche@elastic.org> * buildok/conversions.stp: Build-test all conversions.stp functions. * systemtap.stress/conversions.*: New test.
* 2007-01-31 Martin Hunt <hunt@redhat.com>hunt2007-01-312-14/+17
| | | | | | | | * context.stp (print_backtrace): Modify for new _stp_stack_print. (backtrace): Just use _stp_stack_snprint(). (print_stack): Use new _stp_print* functions. (probefunc): Use _stp_symbol_snprint.
* 2007-01-26 Josh Stone <joshua.i.stone@intel.com>jistone2007-01-272-2/+5
| | | | * vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.
* __is_idle should be pure.jistone2007-01-251-1/+1
|
* Fix for missing SOCK_PASSSEC in kernels earlier than 2.6.18.mmason2007-01-252-1/+9
|
* 2007-01-25 Martin Hunt <hunt@localhost.localdomain>hunt2007-01-252-1/+16
| | | | * syscalls2.stp: Add sys32_ustat probe.
* Changed bit checking method in sock_flags_num2str().mmason2007-01-242-8/+17
|
* New sockets tapset.mmason2007-01-232-0/+1081
|
* Added new string functions tokenize() and strtol().mmason2007-01-232-0/+36
|
* In _stp_sockaddr_str() s390x needs sockaddr_ll.sll_addr printed as a long ↵dwilder2007-01-181-1/+1
| | | | int instead of long long int.
* Added several ? to probe definitions for kernel functions that are not ↵dwilder2007-01-181-8/+8
| | | | availableon s390. This is needed to make probe syscall.* work.
* Added s390x support in function errno_str.dwilder2007-01-181-0/+2
|
* 2007-01-17 Martin Hunt <hunt@redhat.com>hunt2007-01-173-0/+23
| | | | | * syscalls.stp: Add syscall.creat. * syscalls2.stp: Add compat_sys_open.
* Fix for ioblocktest.exp test (PR 3867)mmason2007-01-132-2/+6
|
* Added ? to request_key probes in x86_64/syscalls.stp to preventmmason2007-01-132-2/+7
| | | | syscall.* failures on some kernels.
* bugfix for 2.6.19 kernelguanglei2006-12-299-108/+306
|
* fix wrong HOOKID for _addevent.sunrpc.svc.recv.entryguanglei2006-12-232-2/+8
| | | | and _addevent.sunrpc.svc.recv.return
* bugfix of LKET rpc event register codes.guanglei2006-12-203-12/+18
|
* 2006-12-18 Frank Ch. Eigler <fche@elastic.org>fche2006-12-182-1/+11
| | | | | | | | | | | PR 3079 * loc2c-runtime.h (deref, store_deref): Fork x86 and x86-64 variants. Remove dysfunctional 64-bit ops from x86. 2006-12-18 Frank Ch. Eigler <fche@elastic.org> * vfs.stp (ppos_pos): Protect contents with deref(), though this blocks operation on i686 due to bug #3079.
* *** empty log message ***mmason2006-12-131-0/+5
|
* In scheduler.ctxswitch, fixed last line to reference $prev_p->state instead ↵mmason2006-12-131-1/+1
| | | | of $prev_p->pid.
* patch of nfs, nfs_proc, rpc tapsets for 2.6.9 kernelguanglei2006-12-117-95/+229
|
* scheduler.stp, vfs.stp: made idle_balance and buffer_migrate_page optinal.guanglei2006-11-293-3/+9
|
* 2006-11-20 Frank Ch. Eigler <fche@elastic.org>fche2006-11-202-1/+5
| | | | * context.stp (caller_addr): Declare return type.