summaryrefslogtreecommitdiffstats
path: root/tapset/i686
Commit message (Collapse)AuthorAgeFilesLines
* PR4186 cont'd: move tapset/i686 -> tapset/i386Frank Ch. Eigler2009-08-243-611/+0
|
* Add $arch/nd_syscalls.stpJosh Stone2009-06-021-0/+205
| | | | | These are all the dwarfless analogs to $arch/syscalls.stp. (Only i686 and x86_64 have been tested...)
* Clean up the formatting of $arch/syscalls.stpJosh Stone2009-06-021-24/+35
|
* PR10020 sys_sigaltstack param changeFrank Ch. Eigler2009-04-011-1/+1
| | | | | | The new code uses a %( kernel_v < "2.6.29" %) conditional to look at the passed pt_regs instead of named *bx parameters. A more general solution will be needed at some point.
* PR9998: adapt tapset/i686/registers.stp to latest kernelWenji Huang2009-03-301-18/+32
| | | | | | | | | * buildrun.cxx (compile_pass): Add autoconf-x86-gs.c. * tapset/i686/registers.stp (_stp_register_regs): Update offsets. (test_x86_gs): Auxiliary function. * runtime/autoconf-x86-gs.c : New file. * testsuite/systemtap.base/x86_gs.exp : New test case. * testsuite/systemtap.base/x86_gs.stp : Ditto.
* Add safety checks to _stp_get_register_by_offset()Josh Stone2009-03-091-0/+10
| | | | | This now checks that CONTEXT->regs actually exists, and that the requested offset is in the correct range.
* Changed method of getting the value of $syscall.David Smith2008-07-151-4/+0
| | | | | | | | | | | | | 2008-07-14 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_var_expanding_copy_visitor::visit_target_symbol): Synthesize a function to get the value of $syscall. 2008-07-14 David Smith <dsmith@redhat.com> * i686/registers.stp: Removed syscall_nr function. * x86_64/registers.stp: Ditto.
* Add 'pure' to embedded-C functions that deserve itJosh Stone2008-06-131-5/+5
|
* Fixed utrace probe '$syscall' handling.David Smith2008-06-091-0/+4
| | | | | | | | | | | | | 2008-06-09 David Smith <dsmith@redhat.com> * tapsets.cxx (utrace_var_expanding_copy_visitor::visit_target_symbol): Calls 'syscall_nr' to get the value of '$syscall'. 2008-06-09 David Smith <dsmith@redhat.com> * x86_64/registers.stp (syscall_nr): Added syscall_nr function. * i686/registers.stp (syscall_nr): Ditto.
* Fix PR 6582: verify CONTEXT->regs in [u_]register()Jim Keniston2008-05-291-6/+12
|
* Fix regparm() on i686 & x86_64.Josh Stone2008-05-271-2/+2
| | | | | It doesn't seem that regparm() is actually used, but I saw compilation errors when I compiled with -u.
* Merge commit 'origin/dwarfless'Jim Keniston2008-05-121-0/+202
|\ | | | | | | PR 4311 - Function boundary tracing without debuginfo: Phases 1 and 2
| * Replaced [u_]arg() with [u]int_arg(), [u]long_arg(), {s|u}32_arg(),Jim Keniston2008-05-051-19/+85
| | | | | | | | | | | | | | {s|u}64_arg(), etc. Added asmlinkage(), fastcall(), regparm(). Dealt with some surprises -- e.g., rax is ZERO-extended eax. Seems to work well with -m32 and -m64 user apps, and with a (small) dwarfless subset of syscall.stp.
| * Added support for register(), u_register(), arg(), and u_arg() functions.Jim Keniston2008-05-011-0/+75
|/ | | | | Still missing: arg64(), _stp_copy_from_user stack, .linkage clause, tests, docs.
* Fix sys_sigaltstack for i686 after register unificationananth2008-03-061-2/+2
|
* 2007-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-221-13/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-09 William Cohen <wcohen@redhat.com>wcohen2007-08-091-4/+2
| | | | | | | | | * 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-07-31 Martin Hunt <hunt@redhat.com>hunt2007-07-311-32/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * */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-10 Martin Hunt <hunt@redhat.com>hunt2007-07-101-262/+1
| | | | | | | | * 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-05-09 Martin Hunt <hunt@redhat.com>hunt2007-05-091-13/+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.
* bugfix of LKET/tapsets for pointer conversion on 32-bit platformguanglei2006-10-111-2/+4
| | | | make sys_request_key optional on i386
* *** empty log message ***hunt2006-07-211-13/+0
|
* *** empty log message ***hunt2006-07-111-154/+35
|
* 2006-06-30 Martin Hunt <hunt@redhat.com>hunt2006-06-301-30/+0
| | | | | | | * conversions.stp (user_string): Don't generate errors on faults, just return <unknown>. (user_string2): New function. (user_string_warn): New function.
* *** empty log message ***hunt2006-06-141-39/+0
|
* *** empty log message ***hunt2006-06-121-69/+5
|
* truncate64 moved herehien2006-06-051-0/+17
|
* *** empty log message ***hunt2006-05-311-22/+10
|
* 2006-05-26 Martin Hunt <hunt@redhat.com>hunt2006-05-261-15/+15
| | | | | | | | | | | | * errno.stp: Add octal option for returnstr. * [i686,x86_64]/syscalls.stp (umask): Print args and return in octal. (add_key): Comment out. This syscall is added by a xen patch and may not be present. (tux): Ditto. * syscalls.stp (accept): Fix arg name.
* 2006-05-25 Martin Hunt <hunt@redhat.com>hunt2006-05-251-22/+22
| | | | * syscall*.stp: Change "0x%p" to "%p".
* 2006-05-16 David Smith <dsmith@redhat.com>dsmith2006-05-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-22/+22
|
* *** empty log message ***hunt2006-03-131-40/+40
|
* These syscalls are moved here from the tapset/syscalls.stphien2006-03-091-0/+75
| | | | | | | sys_acct sys_add_key sys_quotactl sys_request_key
* Fixed "can't resolve sys_set_zone_reclaim".hien2006-03-071-0/+2
|
* 1st pass done!hien2006-03-061-304/+307
|
* These aliases moved herehien2006-02-201-0/+139
| | | | | | | | | | | | | | | sys_fstat sys_getegid16 sys_geteuid16 sys_getgid16 sys_getgroups16 sys_getuid16 sys_lstat sys_mmap2 sys_setgroups16 sys_stat More works need to be done here.
* 2006-02-01 Martin Hunt <hunt@redhat.com>hunt2006-02-011-0/+475
* syscalls.stp: New syscall file. * syscall2.stp: More syscalls. * i686/syscalls.stp: x86-specific calls. * x86_64/syscalls.stp: x86_64-specific calls.