summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-052-0/+11
| | | | | * aux_syscalls.stp: Put #ifdef CONFIG_COMPAT around compat code.
* pr5036: systemtap-testsuite RPMfche2007-10-054-3/+45
| | | | | | | | | | 2007-10-05 Frank Ch. Eigler <fche@elastic.org> PR 5036 * systemtap.spec.in: Create new systemtap-testsuite sub-rpm. Install crash(8)'s staplog.so into -runtime sub-rpm if built. * Makefile.am (rpm): New target. * Makefile.in: Regenerated.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-053-83/+123
| | | | | | | | | | | | | | * syscalls2.stp (rt_sigaction, sigaction): Call _struct_sigaction_u(). * aux_syscalls.stp (_struct_timeval): Removed. No longer necessary now that we have structure access in scripts. (_struct_timespec): Ditto. (_struct_itimerval): Ditto. (_struct_timezone_u): Remove random CATCH_DEREF_FAULT() line. (_stp_sigset_str): New. (_struct_sigaction_u): New.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-052-1/+46
| | | | | * buildok/aux_syscalls-embedded.stp: Add all embedded C function in aux_syscalls.
* rhbz 319611: htonl and friends in tapsetfche2007-10-056-0/+49
| | | | | | | | | | 2007-10-04 Frank Ch. Eigler <fche@elastic.org> * stapfuncs.5.in: Document inet.stp tapset functions. * buildok/inet-embedded.stp: Test inet.stp functions. * inet.stp: New tapset for htonl and friends.
* 2007-10-04 David Smith <dsmith@redhat.com>dsmith2007-10-042-6/+11
| | | | | * buildrun.cxx (compile_pass): Tweaked build system for the 2.6.23-rc8-mm2 kernel.
* 2007-10-04 Mike Mason <mmlnx@us.ibm.com>mmason2007-10-0413-0/+87
| | | | | | | | | | | | | | | | | * buildok/memory-all-probes.stp: New test that uses wildcarding to determine if all probes are resolvable. * buildok/nfs-all-probes.stp: Ditto * buildok/nfsd-all-probes.stp: Ditto * buildok/process-all-probes.stp: Ditto * buildok/rpc-all-probes.stp: Ditto * buildok/scheduler-all-probes.stp: Ditto * buildok/scsi-all-probes.stp: Ditto * buildok/signal-all-probes.stp: Ditto * buildok/socket-all-probes.stp: Ditto * buildok/tcp-all-probes.stp: Ditto * buildok/udp-all-probes.stp: Ditto * buildok/vfs-all-probes.stp: Ditto
* 2007-10-03 Frank Ch. Eigler <fche@elastic.org>fche2007-10-042-49/+49
| | | | | | | | | PR 5102 * translate.cxx (visit_statement): Add new parameter regarding whether c->last_stmt needs to be updated. Update callers, mostly passing "false". (visit_EXPRESSIONTYPE): Generally omit setting c->last_stmt, unless the construct can set c->last_error.
* 2007-10-04 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-042-2/+7
| | | | * queue_stats.stp (qsq_print): Make value of ops/s output as float
* testsuite verbosity cleanupfche2007-10-032-2/+6
| | | | | | 2007-10-03 Frank Ch. Eigler <fche@elastic.org> * systemtap.syscall/test.tcl: Don't list PASS on stdout.
* PR 5096: improve code generation for function callsfche2007-10-032-18/+26
| | | | | | | | | 2007-10-03 Frank Ch. Eigler <fche@elastic.org> PR 5096 * translate.cxx (emit_function): Put nesting limit/control logic into function body ... (visit_functioncall): ... and not into each call site.
* * mention error probesfche2007-10-031-1/+8
|
* 2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-033-1/+15
| | | | | | * aux_syscalls.stp(_sockopt_level_str): Add support for protocol number 134~137. * socket.stp (global define,begin): Ditto.
* PR 3635: reduce number of global objectsfche2007-10-023-29/+53
| | | | | | | | | 2007-10-02 Frank Ch. Eigler <fche@redhat.com> PR 3635 * translate.cxx (emit_global): Wrap all globals and locks into one top-level struct. Update references to former "global_VAR" prefix. * translate.h (emit_global_init): New function.
* 2007-10-02 Frank Ch. Eigler <fche@elastic.org>fche2007-10-022-4/+11
| | | | | | | PR 5041 From <michael.gruener@linux.vnet.ibm.com>: * loc2c-runtime.h (store_register): Add value as macro parameter where missing.
* nonefche2007-10-021-0/+0
|
* 2007-10-02 Frank Ch. Eigler <fche@redhat.com>fche2007-10-029-60/+172
| | | | | | | | | | | | | | | | | | | PR 5078 * tapsets.cxx (be_derived_probe): Rework to add error probe support. Emit probe description array in C for traversal by generated code. * register_standard_tapsets: Add error probes. * stapprobes.5.in: Document. * translate.cxx (emit_module_init): Handle errors that may occur during begin probes. (emit_module_exit): Use schedule() rather than cpu_relax() during shutdown synchronization wait loop. * staptree.cxx (probe::printsig): Put multiple probe points on same line. 2007-10-02 Frank Ch. Eigler <fche@redhat.com> PR 5078 * semok/twentysix.stp, systemtap.base/beginenderror.*: New tests.
* 2007-10-02 William Cohen <wcohen@redhat.com>wcohen2007-10-024-8/+14
| | | | | | * systemtap.syscall/signal.c: * systemtap.syscall/uid16.c: Compilation regardless of defines. * systemtap.syscall/test.tcl: Handle UNSUPP tests correctly.
* 2007-10-02 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-022-8/+39
| | | | | * tcp.stp: Add name argument for all probes. * tcp.stp (tcp.setsockopt.return): Add comment.
* 2007-10-01 Martin Hunt <hunt@redhat.com>hunt2007-10-012-7/+12
| | | | | * test.tcl (run_one_test): Append newlines when using send_log().
* 2007-10-01 Martin Hunt <hunt@redhat.com>hunt2007-10-012-1/+6
| | | | | * aux_syscalls.stp (_str_lookup_str): Print unmatched values in hex.
* 2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-302-1/+5
| | | | * socket.stp (_success_check): Fix compare method.
* * Makefile.in: Regenerated from Jim Keniston's uprobes Makefile.am changes.fche2007-09-293-4/+11
|
* If uprobes isn't in the kernel, pull it in from the runtime.kenistoj2007-09-281-5/+6
|
* Install runtime/uprobes/*.kenistoj2007-09-281-0/+2
|
* uprobes.c, uprobes.h: architecture-independent codekenistoj2007-09-286-0/+3073
| | | | | uprobes_i386.c, uprobes_i386.h: i386 code uprobes_arch.c, uprobes_arch.h: map to architecture-specific files
* 2007-09-28 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-283-0/+32
| | | | | * lib/systemtap.exp: New proc get_system_info. * lib/stap_run.exp: New proc print_system_info.
* 2007-09-27 Martin Hunt <hunt@redhat.com>hunt2007-09-272-286/+268
| | | | | | | | | | | | | | * aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str): New functions to efficiently and safely read arrays of values and return a string. (_signal_name): Reimplement using _stp_lookup_str(). (_semctl_cmd): Ditto. (__fork_flags): Ditto. (_mmap_flags): Ditto. (_mprotect_prot_str): Ditto. (_shmat_flags_str): Ditto. (_at_flag_str): Ditto. (get_mmap_args): Complete rewrite for safety and correctness.
* grammar tweaksfche2007-09-271-9/+8
| | | | Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
* 2007-09-27 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-09-275-0/+83
| | | | | PR3916 * systemtap.sample/gtod.*: New test for gettimeofday accuracy.
* 2007-09-27 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-274-1/+20
| | | | | | * rpc.stp (clones_from_clnt, tasks_from_clnt): Fix for kernel >= 2.6.22. * nfs.stp (__nfsi_ndirty) : Ditto. * nfs_proc.stp (__nfsv4_bitmask) : Make bitmask valid according to CONFIG.
* 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-272-2/+10
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * rpc.stp (sunrpc.clnt.shutdown_client): Add argument progname's definition for probe sunrpc.clnt.shutdown_client, because it is in the man page but not defined in tapset.
* 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-272-2/+9
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * rpc.stp (sunrpc.clnt.call_sync, sunrpc.clnt.call_async): Fix the output format of flags in argstr from hex to decimal just to make it same as other probes.
* 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-272-2/+9
| | | | | * tcp.stp (sendmsg.return): Fix description of size variable. * tcp.stp (recvmsg.return): Ditto.
* 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-272-1/+15
| | | | | | * socket.stp (aio_read): Fix compile error with kernel version less than 2.6.19. * socket.stp (aio_write): Ditto.
* Updated vfs.stp.mmason2007-09-261-0/+13
|
* Specified explicit types for __find_bdevname() parameters and return value. ↵mmason2007-09-261-12/+22
| | | | | | | | The types could not be determined correctly when __find_bdevname() was used in nfs.stp Added __page_index() to work around problem dereferencing unions in stap language. Made generic.fop.sendfile conditional on kernel <= 2.6.22. generic_file_sendfile() was removed in 2.6.23.
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-261-0/+8
| | | | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * syscall.stp (syscall.brk): Add probe point kernel.function("ia64_brk"). * syscall.stp (syscall.mremap): Add probe point kernel.function("ia64_mremap").
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-261-4/+16
| | | | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * syscall.stp (syscall.brk): Add probe point kernel.function("ia64_brk") * syscall.stp (syscall.mremap): Add probe point kernel.function("ia64_mremap")
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-263-40/+45
| | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> modify field-access operator from "." to "->" in all files.
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-263-1/+28
| | | | | | * syscalls.stp (adjtimex.return): Improve retstr. * aux_syscalls.stp: Add a function(_adjtimex_return_str) for adjtimex.return.
* typo fixfche2007-09-251-1/+1
|
* socket.stp build fix for 2.6.9 kernelfche2007-09-252-0/+7
| | | | | | 2007-09-25 Frank Ch. Eigler <fche@elastic.org> * socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed.
* * build fix on rhel4fche2007-09-252-1/+5
| | | | | | 2007-09-25 Frank Ch. Eigler <fche@elastic.org> * socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
* remove problematic $target variable from signal.sendfche2007-09-252-2/+7
| | | | | | | 2007-09-25 Frank Ch. Eigler <fche@elastic.org> * signal.stp (_signal.send.part*): Remove sinfo alias variable, since it's a struct rather than integral value.
* *** empty log message ***hunt2007-09-251-1/+1
|
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-252-11/+16
| | | | | * test.tcl (run_one_test): Fix unsupported results. Send failure diffs to log.
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-252-2/+4
| | | | * syscalls2.stp (sys_readlinkat): Make optional.
* 2007-09-25 Josh Stone <joshua.i.stone@intel.com>jistone2007-09-252-1/+6
| | | | | * tapsets.cxx (translator_output::~translator_output): Fix mismatched delete / delete [].
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-252-1/+8
| | | | | * aux_syscalls.stp (_struct_compat_timeval_u): ifdef CONFIG_COMPAT so buildok test will pass.