| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR 4718, from Eugeniy Meshcheryakov <eugen@debian.org>:
* *.stp: Make all shell scripts lead with #! /usr/bin/stap
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>:
* translate.cxx (emit_module_exit): Use stp_warn for warning.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 4846
* parse.cxx (input_put): New function, sort of like stdio ungetc.
(input_get): Skip cursor position changing for input_put strings.
(scan): Rework $.../@... substitution into character pasting.
* parse.h: Corresponding changes.
* util.h (lex_cast_qstring): Octal-quote unprintable characters.
* stap.1.in, NEWS: Document new behaviour.
2007-08-07 Frank Ch. Eigler <fche@redhat.com>
PR 4846
* parseko/preprocess13.stp, parseok/nineteen.stp,
semok/twentyfive.stp: New tests.
|
|
|
|
|
|
|
|
|
|
| |
PR 4736 (partial fix)
* systemtap.printf/end1b.exp: Changed 'FAIL' to 'fail', so
the rest of the testsuite will continue.
* systemtap.printf/mixed_outb.exp: Ditto.
* systemtap.printf/out1b.exp: Ditto.
* systemtap.printf/out2b.exp: Ditto.
* systemtap.printf/out3b.exp: Ditto.
|
| |
|
|
|
|
| |
* aux_syscalls.stp (__get_compat_argv): Add cast.
|
| |
|
| |
|
|
|
|
| |
* syscalls*: Move sys32_sysctl to arch dirs.
|
|
|
|
| |
* clock.c (main): Change flags to hex.
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
PR 4295
* systemtap.samples/args.exp: Tests to make sure the '-m' option
leaves a module in the current directory.
* systemtap.base/cache.exp (stap_compile): Added cleanup.
|
|
|
|
|
|
|
| |
PR 4295
* main.cxx (main): If '-m MODNAME' is used, the generated module
is saved in the current directory.
* stap.1.in: Updated '-m' description.
|
|
|
|
|
|
| |
Spotted by Ming Chang.
* procfs.c (_stp_register_ctl_channel): Fix iterator when removing
proc entries when an error occurs.
|
| |
|
| |
|
|
|
|
| |
* poll.c (main): Don't hardcode fd.
|
| |
|
|
|
|
| |
(compat_sys_io_submit): Fix typo.
|
|
|
|
|
| |
* select.c (main): Ifdef SYS_pselect6.
* poll.c (main): Ifdef SYS_ppoll.
|
|
|
|
| |
* select.c, poll.c: New.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* systemtap.maps/pmap_agg_overflow.exp: On single processor
systems, this test reported an unsupported test and a test failure
when it should have only reported an unsupported test. Fixed.
|
|
|
|
| |
* systemtap.spec.in: Make sqlite support selectable.
|
|
|
|
|
|
|
| |
* configure.ac: Don't AC_MSG_ERROR if don't HAVE_LIBSQLITE3.
* coveragedb.cxx: Compile to nothing unless HAVE_LIBSQLITE3.
* main.cxx: Print no error message on -q if HAVE_LIBSQLITE3.
* configure: Regenerated, looks rosier with HAVE_LIBSQLITE3.
|
|
|
|
|
|
| |
* tcp.stp (tcp_sockstate_str, tcp_sockopt_str,
tcp_setsockopt): New. Also added sockopt and sockstate
lookup tables.
|
|
|
|
|
| |
* systemtap.context/context.exp: Copy modules to
/lib/modules/`uname -r`/kernel for debug info.
|
|
|
|
|
| |
* futimes.c (main): Ifdef out futimesat tests
if not defined.
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* uid16.c (main): 16-bit syscalls now have
the same name as 32-bit. Fix patterns.
|
| |
|
|
|
|
|
| |
* systemtap.context/pid.tcl: Don't try to get real ppid,
just match pattern.
|
|
|
|
|
| |
* relay.c (init_relayfs): Fixed a buffer size bug introduced by
the last change.
|
|
|
|
|
|
| |
* relay.c (init_relayfs): Make sure buffers are big enough to hold
a full path.
* relay_old.c (init_oldrelayfs): Ditto.
|
|
|
|
|
| |
* syscalls2.stp (compat_sys_utimes): New.
* ppc64/syscalls.stp (ciompat_sys_utimes): Removed.
|
|
|
|
|
| |
* systemtap.context/systemtap_test_module1.c (stm_write_cmd):
Set pointer type to "char *" so get_user() fetches a char.
|
|
|
|
|
|
| |
* ctl.c (read_buffer_info): Make sure buffer is big enough to hold
a full path.
(init_ctl_channel): Ditto.
|
|
|
|
| |
* syscalls.stp (compat_sys_futimesat): Fix arg.
|
|
|
|
| |
* sym.h (STP_MAX_MODULES): Raise limit to 256.
|