summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix mode in procfs cmd file.hunt2007-06-182-2/+2
|
* 2007-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-182-1/+5
| | | | * control.c (_stp_register_ctl_channel): Fix mode of cmd file.
* 2007-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-182-16/+29
| | | | | * syscall.exp (test_procedure): Use switch statements to clean up the logic for setting flags for 64 and 32-bit passes.
* *** empty log message ***hunt2007-06-181-0/+17
|
* 2007-06-18 Martin Hunt <hunt@redhat.com>hunt2007-06-1828-41/+62
| | | | | | | | | | | | | | | | | | From Quentin Barnes. * lib/stap_run.exp, lib/stap_run2.exp, lib/systemtap.exp, systemtap.base/cache.exp, systemtap.base/optim.exp, systemtap.base/overload.exp, systemtap.base/prologues.exp, systemtap.maps/absentstats.exp, systemtap.maps/foreach_fail.exp, systemtap.maps/ix_clear*.exp, systemtap.maps/pmap_agg_overflow.exp, systemtap.samples/args.exp, systemtap.samples/arith.exp, systemtap.samples/arith_limits.exp, systemtap.samples/control_limits.exp, systemtap.samples/lket.exp, systemtap.samples/pfaults.exp, systemtap.samples/poll_map.exp, systemtap.samples/primes.exp, systemtap.samples/profile.exp, systemtap.samples/queue_demo.exp, systemtap.samples/symbols.exp, systemtap.samples/syscalls1.exp, systemtap.samples/syscalls2.exp, systemtap.samples/transport.exp: Small fixes to patterns, plus fix timeouts for slower systems.
* 2007-06-18 David Smith <dsmith@redhat.com>dsmith2007-06-182-2/+6
| | | | * staprun.8.in: Fixed a couple of typos.
* 2007-06-15 Frank Ch. Eigler <fche@elastic.org>fche2007-06-152-9/+14
| | | | | | | PR 3331 cont'd. * loc2c.c (base_encoding): Tolerate absenece of DW_AT_encoding. (c_translate_pointer): Don't even try to find signedness, assume unsigned.
* 2007-06-15 Frank Ch. Eigler <fche@elastic.org>fche2007-06-152-0/+8
| | | | | * lib/systemtap.exp (stap_run_batch): Detect crashing stap and represent this as failing return code.
* *** 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.
* 2007-06-15 Martin Hunt <hunt@redhat.com>hunt2007-06-154-8/+151
| | | | | | | From Quentin Barnes. * loc2c-runtime.h: Latest arm marcos. * stack-arm.c (__stp_stack_print): Add a cast. * regs.c (_stp_ret_addr): Define for arm.
* Removed extra assignment to "size" in socket.aio_write.returnmmason2007-06-152-1/+5
|
* 2007-06-14 Frank Ch. Eigler <fche@elastic.org>fche2007-06-143-5/+16
| | | | | | | * translate.cxx (emit_module_init): Emit translator/elfutils version numbers together. * main.cxx (version): Ditto. (main): Skip printing tapset directories where no sources were found.
* 2007-06-14 Frank Ch. Eigler <fche@elastic.org>fche2007-06-142-11/+49
| | | | | | | | | PR 3331 cont'd. * loc2c.c (emit_base_fetch): Emit size/signedness cast slightly differently for every low-level fetch. (translate_base_fetch, c_translate_fetch, c_translate_store, c_translate_pointer): Fetch & pass the $target signedness. (base_encoding): Follow typedefs etc.
* 2007-06-14 Martin Hunt <hunt@redhat.com>hunt2007-06-143-5/+18
| | | | | | | | * systemtap.samples/syscalls.stp: Use printf for output to avoid problems with long paths. From Quentin Barnes. * systemtap.samples/system_func.exp: Change expect matching.
* 2007-06-14 David Smith <dsmith@redhat.com>dsmith2007-06-142-3/+8
| | | | | * systemtap.samples/profile.stp: Change output to avoid problems when kernel source path is long.
* Fix minor issue with change for bz4075. The initial fix caused a lot ofananth2007-06-111-1/+1
| | | | | | test failures on powerpc. Thanks to Srinivasa for tracking the problem down.
* 2007-06-09 Frank Ch. Eigler <fche@elastic.org>fche2007-06-092-0/+7
| | | | | | PR 4609 From Eugeniy Meshcheryakov <eugen@debian.org> * staptree.cxx: Add #include <algorithm> for gcc 4.3.
* 2007-06-08 David Smith <dsmith@redhat.com>dsmith2007-06-083-2838/+3392
| | | | | | | PR 4553. * configure.ac: For x86 systems with gcc versions less than 4, automatically default to enabling prologue searching. * configure: Regenerated.
* 2007-06-07 Martin Hunt <hunt@redhat.com>hunt2007-06-072-2/+14
| | | | | * relay_old.c (open_relayfs_files): Add support for output file names (-o) with bulk (relayfs) mode.
* 2007-06-07 Martin Hunt <hunt@redhat.com>hunt2007-06-073-2/+24
| | | | | | PR 4075 fix from Ananth Mavinakayanahalli * string.h (_stp_get_user): Define. * string.c (_stp_text_str): Use _stp_get_user().
* 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-06-05 Frank Ch. Eigler <fche@redhat.com>fche2007-06-065-15/+89
| | | | | | | | | | | | | PR 3331. * loc2c.c (emit_base_fetch): Emit size/signedness cast for every low-level fetch. (translate_base_fetch, c_translate_fetch, c_translate_store, c_translate_pointer): Fetch & pass the $target signedness. 2007-06-05 Frank Ch. Eigler <fche@elastic.org> PR 3331. * systemtap.base/deref2.*: New test, disabled.
* Script to track when a specific PID receives a specific signal.mmason2007-06-051-0/+35
|
* 2007-06-04 Martin Hunt <hunt@redhat.com>hunt2007-06-042-11/+23
| | | | | | | * mainloop.c (cleanup_and_exit): Disable signals while exiting. (fatal_handler): Use return values from write() to avoid warnings.
* 2007-06-04 Frank Ch. Eigler <fche@elastic.org>fche2007-06-043-8/+20
| | | | | PR 4589. * systemtap.base/optim.*: Rewritten, simplified.
* 2007-05-31 Frank Ch. Eigler <fche@elastic.org>fche2007-05-313-0/+8
| | | | | | PR 3579 From Eugeniy Meshcheryakov <eugen@debian.org> * cache.cxx, parse.cxx: Add #include <cstring> for gcc 4.3.
* Updated to reflect new script names.mmason2007-05-312-2/+2
|
* More renamesmmason2007-05-313-0/+0
|
* Renamed sig_count_by_pid.stp to sig_by_pid.stpmmason2007-05-311-0/+0
|
* 2007-05-30 Frank Ch. Eigler <fche@redhat.com>fche2007-05-307-32/+79
| | | | | | | | | | | | | | | | PR 4567. * staptree.cxx (varuse_collecting_visitor): Add side-effect result query functions. * elaborate.cxx (dead_stmtexpr_remover::visit_expr_statement): Switch to it. (dead_assignment_remover::visit_assignment): Skip elision of lvalues with side-effects in index exprs. * staptree.h: Corresponding changes. 2007-05-30 Frank Ch. Eigler <fche@redhat.com> PR 4567. * systemtap.base/optim.stp, optim.exp: New test.
* 2007-05-30 Martin Hunt <hunt@redhat.com>hunt2007-05-309-109/+541
| | | | | | | | | | | | Patch from Quentin Barnes. * arith.c: Add arm support for 64-bit division. * copy.c: Enable arm support. * loc2c-runtime.h: Ditto. * regs.[ch]: Ditto. * stack.c: Include stack-arm.c. * stack-arm.c: New file. * time.c (_stp_gettimeofday_ns): hack for arm. See PR 4569.
* Changed top.stp to use the system calls tapset.mmason2007-05-291-1/+1
|
* 2007-05-29 Frank Ch. Eigler <fche@elastic.org>fche2007-05-292-2/+9
| | | | | | PR 4458 * print_new.c (_stp_print_flush): Use interrupt-disabling spinlock variants.
* Scripts to print signal activity based on process ID and/or name.mmason2007-05-295-0/+127
|
* PR4540wcohen2007-05-292-0/+7
| | | | * systemtap.stress/conversions.exp: Adjust for ia64 address space.
* 2007-05-29 Frank Ch. Eigler <fche@redhat.com>fche2007-05-294-11/+74
| | | | | | | | PR 2224 * map.h (NEED_MAP_LOCKS): New config macro, defaults to 0. (MAP_GET_CPU, MAP_PUT_CPU): Wrappers, default to ~no-op. * map.c (_stp_pmap_clear,agg): Use them. * pmap-gen.c (_stp_pmap_new,set,add,get_cpu,get,del): Ditto.
* 2007-05-25 Frank Ch. Eigler <fche@redhat.com>fche2007-05-266-9/+214
| | | | | | | | | | | | PR 4255 teaser. * elaborate.cxx (has_null_param): New function. * elaborate.h: Declare it. * session.h: Include uprobe_derived_probes group. * tapsets.cxx (uprobe_*): New classes. (all_session_groups): List uprobes in list. (register_standard_tapset): Interpret process(#).statement(#).absolute and process(#).statement(#).absolute.return probe points.
* 2007-05-25 Martin Hunt <hunt@redhat.com>hunt2007-05-252-0/+6
| | | | | Patch from Quentin Barnes. * tapsets.cxx (query_module): Add support for arm.
* 2007-05-25 Martin Hunt <hunt@redhat.com>hunt2007-05-255-51/+60
| | | | | | | | * systemtap.samples/lket.exp (cleanfiles): Set timeout inside expect. * systemtap.maps/absentstats.exp: Set timeout inside expect. * lib/stap_run2.exp (stap_run2): Set timeout to 180 inside expect. * lib/stap_run.exp (stap_run): Set timeout to 180 for slower machines. Remove $ anchor on output. Fix a few minor nits in patterns.
* 2007-05-25 Martin Hunt <hunt@redhat.com>hunt2007-05-252-1/+4
| | | | * syscall.exp (test_procedure): Remove stray timeout assignment.
* 2007-05-24 Martin Hunt <hunt@redhat.com>hunt2007-05-242-1/+5
| | | | * mainloop.c (cleanup_and_exit): Fix typo.
* 2007-05-24 David Smith <dsmith@redhat.com>dsmith2007-05-242-27/+85
| | | | | | | PR4446 * systemtap.base/marker.exp: Renumbered tests and added new tests for invalid argument name ("$foo1") and writing to marker arguments.
* Typo fix.hunt2007-05-231-1/+1
|
* 2007-05-23 Martin Hunt <hunt@redhat.com>hunt2007-05-231-5/+5
| | | | * systemtap.samples/system_func.exp: Fix pattern anchoring.
* 2007-05-23 David Smith <dsmith@redhat.com>dsmith2007-05-233-24/+337
| | | | | | PR4446 * systemtap.base/marker.exp: Added new marker test. * buildok/marker.stp: Removed old marker test.
* 2007-05-22 Martin Hunt <hunt@redhat.com>hunt2007-05-222-1/+3
| | | | * mainloop.c (init_staprun): Change dbug() call.
* 2007-05-22 Martin Hunt <hunt@redhat.com>hunt2007-05-222-13/+35
| | | | | * relay.c: Fix ppoll() call and some race conditions involving signals.
* 2007-05-21 David Smith <dsmith@redhat.com>dsmith2007-05-214-409/+609
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 4446. * elaborate.h (derived_probe::initialize_probe_context_vars): New virtual function that will allow added context vars to be initialized. * translate.cxx (c_unparser::emit_common_header): Added 'mark_va_list'. (c_unparser::emit_probe): Calls new function initialize_probe_context_vars. (translate_pass): Includes linux/marker.h if CONFIG_MARKERS is defined. * tapsets.cxx (struct dwarf_query): Split into base_query (which contains most of the original code) and a much smaller dwarf_query class. (struct base_query): New class. (dwarf_query::handle_query_module): New function. (query_module): Moved code into dwarf_query::handle_query_module(). (mark_derived_probe): Adjusted for new kernel markers. (mark_derived_probe_group): Ditto. (mark_var_expanding_copy_visitor): Ditto. (mark_var_expanding_copy_visitor::visit_target_symbol): Generates code for new kernel markers. (struct mark_query): New class. (mark_query::handle_query_module): New function. (mark_derived_probe::mark_derived_probe): Adjusted for new kernel markers. (mark_derived_probe::join_group): Ditto. (mark_derived_probe::emit_probe_context_vars): Ditto. (mark_derived_probe::parse_probe_sig): New function. (mark_derived_probe::initialize_probe_context_vars): New function. (mark_derived_probe::emit_module_decls): Adjust for new kernel markers. (mark_derived_probe::emit_module_init): Ditto. (mark_derived_probe::emit_module_exit): Ditto. (struct mark_builder): Ditto. (mark_builder::build): Ditto.