summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * Makefile.am:wcohen2007-03-213-14/+19
| | | | * Makefile.in: Correct SAMPLE_SRC.
* 2007-03-21 David Smith <dsmith@redhat.com>dsmith2007-03-212-1/+7
| | | | | | PR 4146 * systemtap.samples/control_limits.exp: Begin/end probes use MAXACTION_INTERRUPTIBLE instead of MAXACTION.
* 2007-03-21 David Smith <dsmith@redhat.com>dsmith2007-03-216-26/+69
| | | | | | | | | | | | | | | | | | | | | | | | PR 4146 * tapsets.cxx (common_probe_entryfn_prologue): Added 'interruptible' parameter. If a probe is interruptible, interrupts are not disabled while the probe executes. Preemption is disabled however. Interruptible parameter defaults to false. (common_probe_entryfn_epilogue): Ditto. (be_derived_probe_group::emit_module_decl): Uses new 'interruptible' parameter to mark begin/end probes as interruptible. (probe_derived_probe_group::emit_module): Initialize 'actionremaining' with MAXACTION instead of initializing 'actioncount' with 0. * translate.cxx (emit_common_header): Renamed 'actioncount' to 'actionremaining'. Turned logic around to initialize actionremaining to MAXACTION or MAXACTION_INTERRUPTIBLE then decrement it as actions occur. (translate_pass): Added MAXACTION_INTERRUPTIBLE initialization. * translate.h: Removed outdated comment portion. * stap.1.in: Documented MAXACTION_INTERRUPTIBLE. * NEWS: Added note about begin/end probes being run with interrupts enabled.
* 2007-03-21 Martin Hunt <hunt@redhat.com>hunt2007-03-215-54/+65
| | | | | | | | | | | * sym.h: Declare _stp_module_relocate. * sym.c (_stp_module_relocate): Add comments, reformat, add a way for "last" cached values to be cleared when modules are removed. (_stp_symbol_print): Simplify and remove static buffer. (_stp_symbol_snprint): Ditto. * symbols.c (_stp_del_module): Add a call to _stp_module_relocate to clear its cache.
* 2007-03-21 Martin Hunt <hunt@redhat.com>hunt2007-03-212-1/+5
| | | | * map.c (_stp_map_init): Fix signed vs unsigned comparison warning.
* 2007-03-20 Frank Ch. Eigler <fche@elastic.org>fche2007-03-219-80/+124
| | | | | | | | | | | | | | | | | | | | | | PR 4224. * tapsets.cxx (add_probe_point): Make kernel implicitly relocated relative to the _stext symbol. (dwarf_derived_probe ctor, emit_module_decls): Cooperate. (lookup_symbol_address): New function. (dwarf_builder::build): Call it thrice. (in_kprobes_function): Simplify. * session.h (systemtap_session): Rename cached symbol addresses. * translate.cxx, elaborate.cxx: Corresponding tweaks. 2007-03-20 Frank Ch. Eigler <fche@elastic.org> PR 4224. * sym.c (_stp_module_relocate): Support kernel relocations. 2007-03-20 Frank Ch. Eigler <fche@elastic.org> * symbols.c (_stp_do_symbols): Add cautionary blurb for important setup of _stp_modules[0]->text.
* 2007-03-20 Martin Hunt <hunt@redhat.com>hunt2007-03-203-6/+29
| | | | | | * symbols.c (send_module): If send returns < 0 then cleanup and exit. (do_kernel_symbols): Ditto.
* 2007-03-20 Martin Hunt <hunt@redhat.com>hunt2007-03-202-6/+12
| | | | | * symbols.c (_stp_alloc_module): Fix up error cleanup when malloc fails.
* 2007-03-09 Pierre Peiffer <pierre.peiffer@bull.net>fche2007-03-203-1/+10
| | | | * buildok/twenty.stp, semok/seventeen.stp: Adapt to kernel 2.6.20.
* * 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-19 David Smith <dsmith@redhat.com>dsmith2007-03-193-2/+23
| | | | | | | | | | PR 4146 (partial fix) * tapsets.cxx (all_session_groups): Added note about stating that begin probes should be registered (actually run) first and end probes should be unregistered (run) last. * translate.cxx (c_unparser::emit_module_exit): Process probe group vector in reverse order so that probe groups will get unregistered in the reverse order that they were registered.
* 2007-03-19 David Smith <dsmith@redhat.com>dsmith2007-03-192-0/+7
| | | | * .cvsignore: Added systemtap.syscall test programs.
* 2007-03-19 Frank Ch. Eigler <fche@elastic.org>fche2007-03-195-15/+41
| | | | | | | | | | | * buildrun.cxx (compile_pass): Emit kbuild-time autoconf widgets to customize runtime or translator C code to actual kernel rather than kernel version string. Thanks to FC 2.6."20" for the nudge. * tapsets.cxx (hrtimer*emit_module): First client: HRTIMER_{MODE_}REL. 2007-03-19 Frank Ch. Eigler <fche@elastic.org> * autoconf-hrtimer-rel.c: New file.
* 2007-03-18 Martin Hunt <hunt@redhat.com>hunt2007-03-194-6/+21
| | | | | * staprun.h (err): Define. * symbols.c (get_sections): More overflow checking.
* 2007-03-18 Martin Hunt <hunt@redhat.com>hunt2007-03-182-2/+10
| | | | | * symbols.c (get_sections): Filter out .gnu.linkonce.* sections except for .gnu.linkonce.this_module.
* 2007-03-18 Martin Hunt <hunt@redhat.com>hunt2007-03-185-11/+14
| | | | | * stack.c, string.c, sym.c, transport/symbols.c: Fix some signed vs unsigned comparison warnings.
* *** empty log message ***hunt2007-03-181-3/+1
|
* 2007-03-18 Martin Hunt <hunt@redhat.com>hunt2007-03-187-540/+51
| | | | | | | | | | | | * staprun.h (VERSION_CMD): Command to use for version check. Changes to support runtime decision on new or old transport. * mainloop.c (init_staprun): Check the kernel version at runtime instead of at compile time. (cleanup_and_exit): Call the correct relayfs close function. (stp_main_loop): Call the correct relayfs init function. * relay.c: Remove ifdef wrapper. File is always compiled and used if the kernel version is appropriate. * relay_old.c: Ditto.
* 2007-03-17 Frank Ch. Eigler <fche@elastic.org>fche2007-03-173-6/+11
| | | | | * configure.ac: Tweak missing elfutils error message. * configure: Regenerated.
* 2007-03-16 David Smith <dsmith@redhat.com>dsmith2007-03-162-0/+87
| | | | * systemtap.base/overload.exp: New test.
* janitors of the world unitefche2007-03-161-3/+0
|
* 2007-03-16 David Smith <dsmith@redhat.com>dsmith2007-03-163-19/+94
| | | | | | | | | | | | | | | | PR 3545. * tapsets.cxx (common_probe_entryfn_prologue): Added 'overload_processing' parameter, which defaults to true. If overload_processing is set to false, doesn't output the STP_OVERLOAD code. (common_probe_entryfn_epilogue): Ditto. (be_derived_probe_group::emit_module_decl): Set overload_processing to false in calls to common_probe_entryfn_prologue and common_probe_entryfn_epilogue since begin/end probes shouldn't overload the system. * translate.cxx (c_unparser::emit_common_header): Emit STP_OVERLOAD global variables. (translate_pass): Emit STP_OVERLOAD defines.
* 2007-03-15 David Smith <dsmith@redhat.com>dsmith2007-03-152-0/+5
| | | | * .cvsignore: Added "config.log" and "config.status".
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-143-4/+7
| | | | | | | * main.cxx (usage): Remove "-M" and edit description of "-b". * stap.1.in: Remove "-M" option and edit description of "-b". Edit description of "-o".
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-142-7/+6
| | | | * stap.1.in: Remove "-M" option and edit description of "-b".
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-1418-3649/+4
| | | | | * stpd: Remove directory. * relayfs: Remove directory.
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-143-6/+6
| | | | | * Makefile.am: Don't install old relayfs sources. * makefile.in: Rebuilt.
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-147-61/+118
| | | | | | | | | | | | | | | * 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.
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-1413-144/+344
| | | | | | | | | | | | | | | | | | | | * bench2/bench.rb: Updated to work with new transport and new itest.c. * bench2/Makefile: Updated for new itest.c * bench2/itest.c: Rewritten to use multiple threads and automatically divide the workload among the threads. * print.c (_stp_print_flush): Move to print_new.c and print_old.c. * print_new.c: New file containing _stp_print_flush() for the new transport. * print_old.c: Ditto for old transport. * runtime.h (STP_OLD_TRANSPORT): Define (errk): Define. (MAXSTRINGLEN): Define if not already defined. * io.c (_stp_vlog): Use _stp_ctl_write().
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-1410-543/+915
| | | | | | | | | | | | | | | | * transport_msgs.h: ifdef old messages as such. Add support for new transport. * relayfs.c: Simplify and add new interface to look like utt. * utt.[ch]: New files. Similar to the proposed utt interface. These setup and teardown relayfs on debugfs. * control.c: New file. Implements a simple control channel. A small subset of procfs.c. * procfs.c: This is now only used for old kernels lacking newer relayfs. Change STP_RELAYFS to STP_BULKMODE. Use new messages from transport_msgs.h. Don't support RELAYFS_CHANNEL_VERSION >= 4. CHanges all control channel functions to new names. Use pids instead of module names in /proc names.
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-1412-0/+2416
| | | | | | | | | | | | | | | * staprun.c: Renamed from stpd.c. Removed quiet and print_only options. Added "-x" option as an alias for "-t". Removed "-m" option. Updated arg processing to leave 4 slots for modoptions[]. Bump the priority of staprun. * ctl.c: New. Transport control channel functions. * relay.c: New. Relayfs control functions for new transport. * relay_old.c: New. Relayfs control functions for older versions of relayfs. * mainloop.c: New. Staprun main loop. * staprun.h: Renamed from librelay.h. Cleaned up. * stap_merge.c: Renamed. Updated for modified save format.
* 2007-03-13 Frank Ch. Eigler <fche@redhat.com>fche2007-03-1447-132/+3723
| | | | | | | | | | | | | | | | | | | | PR 4171. * Makefile.am (check, installcheck): Pass build-tree pointers in environment variables. * configure.ac: Run separate configury for testsuite/. * configure, Makefile.in: Regenerated. 2007-03-14 Frank Ch. Eigler <fche@redhat.com> PR 4171. * configure.ac, configure, aclocal.m4: New files to permit testsuite-only build tree. * Makefile.am (RUNTEST): Arrange a crazy concoction of environment/make variable for runtest. * Makefile.in: Regenerated. * */*.stp: Switch test cases from "./stap" to "stap" throughout. * lib/systemtap.exp: Assume/trace environment variables. (stap_run_batch): Add "#! stap"-handling hack.
* 2007-03-14 Martin Hunt <hunt@redhat.com>hunt2007-03-147-19/+39
| | | | | | | | | | | * systemtap.base/div0.stp: Fix so output won't possibly have the error message before the printed output. * systemtap.base/maxactive.exp: Ditto. * systemtap.maps/ix_clear.stp: Ditto. * systemtap.maps/ix_clear2.stp: Ditto. * systemtap.samples/args.exp: Remove obsolete "-r" option to staprun.
* 2007-03-12 Frank Ch. Eigler <fche@elastic.org>fche2007-03-124-20/+21
| | | | | | | | | | * librelay.c (init_stp): Use /proc/MODULE rather than /proc/systemtap/MODULE. 2007-03-12 Frank Ch. Eigler <fche@elastic.org> * procfs.c (_stp_register_procfs): Use /proc/MODULE rather than /proc/systemtap/MODULE.
* 2007-03-12 Frank Ch. Eigler <fche@redhat.com>fche2007-03-125-18/+47
| | | | | | | | | | | | | PR 4179. Based on patch from Vasily Averin <vvs@sw.ru>: * time.c (_stp_init_time): Recover from partial failures. 2007-03-12 Frank Ch. Eigler <fche@redhat.com> PR 4179. Based on patch from Vasily Averin <vvs@sw.ru>: * procfs.c (_stp_register_procfs): Recover from partial failures. * transport.c (_stp_transport_open): Ditto.
* Fix ChangeLog whitespace errors.roland2007-03-092-23/+44
|
* 2007-03-07 Frank Ch. Eigler <fche@elastic.org>fche2007-03-073-0/+13
| | | | | | PR 4116. * buildok/twentyseven.stp: New test. * systemtap.pass1-4/buildok.exp: kfail it.
* 2007-03-07 Frank Ch. Eigler <fche@elastic.org>fche2007-03-072-2/+9
| | | | | | PR 4166. * tapsets.cxx (translate_components): Throw an exception rather then suffer an assertion failure for $ptr[index] expressions.
* 2007-03-06 David Smith <dsmith@redhat.com>dsmith2007-03-062-2/+8
| | | | | | * systemtap.base/alternatives.exp: Changed the probed kernel function from 'signal_wake_up' (which wasn't present on some kernels) to 'sys_getrlimit'.
* 2007-03-05 David Smith <dsmith@redhat.com>dsmith2007-03-052-0/+8
| | | | | * systemtap.spec.in: Made example perl script non-executable so that the systemtap rpm won't require perl.
* 2007-03-04 Frank Ch. Eigler <fche@redhat.com>fche2007-03-044-65/+17
| | | | | * stap.1.in, stapex.5.in, staprun.8.in: Tweak text to remove authors credits, update examples and pointers.
* 2007-03-02 Frank Ch. Eigler <fche@elastic.org>fche2007-03-022-1/+6
| | | | | PR 4121 * systemtap.stress/conversions.exp: Fix & improve below patch.
* 2007-03-01 Frank Ch. Eigler <fche@redhat.com>fche2007-03-022-0/+7
| | | | | PR 4121 * systemtap.stress/conversions.exp: Bypass address=0 test for s390x.
* Rewrote s390x version of __stp_put_asm and __stp_put_asm to do singledwilder2007-03-012-34/+21
| | | | byte writes.
* (kernel_int) added goto success; (PR 4419)dwilder2007-03-012-0/+5
|
* 2007-02-28 David Smith <dsmith@redhat.com>dsmith2007-02-282-1/+6
| | | | | * systemtap.spec.in: Fixed %{_libexecdir}/systemtap path in systemtap-runtime %files section.
* 2007-02-27 Frank Ch. Eigler <fche@elastic.org>fche2007-02-273-6/+11
| | | | | | * systemtap.spec.in (/var/cache/systemtap): Forget it. (stp_check): Pack this in with systemtap-runtime. * stp_check.in: Add LANG=C for speed.
* 2007-02-27 David Smith <dsmith@redhat.com>dsmith2007-02-278-21/+234
| | | | | | | | | | | * staprun.8.in: Added a basic staprun man page. * Makefile.am: Added staprun.8. * Makefile.in: Regenerated. * configure.ac: Added staprun.8. * configure: Regenerated. * systemtap.spec.in: Added staprun.8 and other document files to staprun RPM. * .cvsignore: Ignores staprun.8.
* * add sudo as a dependency for systemtap (not -runtime)fche2007-02-271-0/+1
|
* nonefche2007-02-271-0/+1
|