summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* 2007-05-17 Martin Hunt <hunt@redhat.com>hunt2007-05-173-49/+54
| | | | | | | | | | | * syscalls.stp: Make optional sys_alarm, sys_fadvise64, sys_gethostname, sys_getpgrp, and sys_llseek. (syscall.getrlimit): Add optional calls sys_old_getrlimit, compat_sys_getrlimit, and compat_sys_old_getrlimit. * syscalls2.stp: Make optional sys_nice, sys_rt_sigreturn, sys_signal, sys_sigprocmask, sys_utime (syscall.old_getrlimit): Moved into syscall.getrlimit.
* PR 4471wcohen2007-05-162-0/+9
| | | | * syscall2.stp: Correct sys_pipe function args for ia64.
* PR 4510wcohen2007-05-162-2/+7
| | | | * scheduler.stp: Correct function argument.
* * control.c: Explicit type cast for picky compilers.wcohen2007-05-162-1/+5
|
* 2007-05-15 Martin Hunt <hunt@redhat.com>hunt2007-05-1610-22/+28
| | | | | * vsprintf.c: Add comment about %p. * regs.c, stack*.c, sym.c: Fix %p calls.
* *** empty log message ***hunt2007-05-161-1/+1
|
* 2007-05-15 Martin Hunt <hunt@redhat.com>hunt2007-05-162-7/+16
| | | | | | * control.c: Change default buffer number and size. (_stp_ctl_write): Add debug statements. Check size of message to avoid overwriting buffer.
* -t help message wording tweakfche2007-05-131-1/+1
|
* 2007-05-10 Martin Hunt <hunt@redhat.com>hunt2007-05-102-1/+6
| | | | | * relay.c (reader_thread): Set timeout for streaming to 200ms.
* 2007-05-09 Martin Hunt <hunt@redhat.com>hunt2007-05-092-1/+6
| | | | | * relay.c (reader_thread): For bulk mode, set timeout to NULL so ppoll never times out.
* 2007-05-09 Martin Hunt <hunt@redhat.com>hunt2007-05-095-34/+29
| | | | | | | | | | * 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.
* 2007-05-08 Martin Hunt <hunt@redhat.com>hunt2007-05-082-1/+27
| | | | | * relay.c (ppoll): Add a compatibility function for glibc < 2.4.
* 2007-05-08 Martin Hunt <hunt@redhat.com>hunt2007-05-082-0/+6
| | | | | * buildrun.cxx (run_pass): Send proper verbosity level to staprun
* 2007-05-08 Martin Hunt <hunt@redhat.com>hunt2007-05-087-82/+154
| | | | | | | | | | | | | | | | | | Signal handler cleanup. * mainloop.c (fatal_handler): New. Cleanly handle unexpected fatal signals. (setup_main_signals): New. Set signals once mainloop is entered. (setup_signals): New. Block certain signals during initialization. Set handler for fatal signals. * relay.c (reader_thread): Use ppoll(). Terminate on SIGUSR2 after reading any remaining data. (close_relayfs): Remove sleep hack. Send SIGUSR2 to all threads. Runtime debug messages. * staprun.h: Change dbug() to accept a debuglevel and enable it. * *.c: Modify dbug() calls.
* PR4470wcohen2007-05-082-18/+33
| | | | | * testsuite/systemtap.syscall/syscall.exp: Build correct sizes for 32-bit and 64-bit machines.
* 2007-05-07 Martin Hunt <hunt@redhat.com>hunt2007-05-074-5/+22
| | | | | | Patch from David Smith * mainloop.c (stp_main_loop): Properly handle write() return value. Fixes build problem with some compilers.
* 2007-05-07 Martin Hunt <hunt@redhat.com>hunt2007-05-073-10/+22
| | | | | | | PR4466 * systemtap.samples/system_func.stp: Rewrite test to account for probes not being placed until after begin. * systemtap.samples/system_func.exp: Only expect 1 sys_open.
* 2007-05-07 Martin Hunt <hunt@redhat.com>hunt2007-05-072-5/+10
| | | | | * signal.c (main): Fix expected expression to accept both 32 and 64-bit pointers.
* grammar fixfche2007-05-061-1/+1
|
* 2007-05-06 Frank Ch. Eigler <fche@elastic.org>fche2007-05-066-5/+57
| | | | | | | | | | | | PR 1305. * tapsets.cxx (iterate_over_srcfile_lines): Exclude approximate file:lineno matches optimistically returned by dwarf_getsrc_file. (query_srcfile_line): Use Dwarf_Line line number for constructing derived_probe location string. 2007-05-06 Frank Ch. Eigler <fche@elastic.org> * semko/thirtynine.stp: New test.
* 2007-05-02 David Smith <dsmith@redhat.com>dsmith2007-05-022-6/+22
| | | | | | | * translate.cxx (c_tmpcounter::visit_functioncall): Updated temporary handling. (c_unparser::visit_functioncall): No longer copies numeric and string constants to temporary variables.
* 2007-05-01 David Smith <dsmith@redhat.com>dsmith2007-05-012-11/+37
| | | | | | | | | | * translate.cxx (c_tmpcounter::visit_binary_expression): Updated temporary handling. (c_unparser::visit_binary_expression): Improved handing of numeric constants when handling '%' and '/' operators. (c_tmpcounter::visit_print_format): Updated temporary handling. (c_unparser::visit_print_format): Removed the need for a result temporary when printing to a stream.
* 2007-05-01 Martin Hunt <hunt@redhat.com>hunt2007-05-013-0/+46
| | | | * systemtap.samples/system_func.*: New test.
* 2007-05-01 Martin Hunt <hunt@redhat.com>hunt2007-05-013-21/+4
| | | | * systemtap.samples/sysopen*: Deleted.
* 2007-05-01 Martin Hunt <hunt@redhat.com>hunt2007-05-012-16/+8
| | | | | * statfs.c (main): Fix expected expression to accept both 32 and 64-bit pointers.
* * PR 4329fche2007-05-011-1/+1
|
* 2007-04-30 David Smith <dsmith@redhat.com>dsmith2007-04-302-31/+22
| | | | | | | | | PR 2339 * translate.cxx (c_unparser_assignment::c_assignop): Improved handling of numeric constants in the rest of the assignment operators. (c_tmpcounter_assignment::c_assignop): Updated temporary handling.
* 2007-04-29 Frank Ch. Eigler <fche@elastic.org>fche2007-04-297-14/+38
| | | | | | | | | | * configure.ac: Mention testsuite/configure.ac for version matching. 2007-04-29 Frank Ch. Eigler <fche@elastic.org> * Makefile.am (EXTRA_DIST): Add dejagnu subdirectories. * configure.ac: Bump version to match parent directory. * Makefile.in, configure: Regenerated.
* 2007-04-27 Martin Hunt <hunt@redhat.com>hunt2007-04-272-2/+10
| | | | * runtime.h: Improve check for debugfs in kernel.
* 2007-04-27 Martin Hunt <hunt@redhat.com>hunt2007-04-272-1/+1
| | | | * utt.h (struct utt_trace): Remove sequence.
* 2007-04-27 Martin Hunt <hunt@redhat.com>hunt2007-04-272-8/+11
| | | | | | | * utt.c (utt_trace_cleanup): Remove free of utt->sequence. (utt_dropped_open): PR 4415. Use STAPCONF_INODE_PRIVATE to detect correct inode struct. (utt_trace_setup): Do not allocate utt->sequence.
* 2007-04-27 Frank Ch. Eigler <fche@elastic.org>fche2007-04-274-3/+24
| | | | | | | | | | | PR 4432. * buildrun.cxx (compile_pass): Tweak autoconf CFLAGS handling to avoid macro recursion but still get the needed -I directives. Add the inode-private autoconf test. 2007-04-27 Frank Ch. Eigler <fche@elastic.org> * autoconf-inode-private.c: New file from hunt.
* 2007-04-26 Frank Ch. Eigler <fche@elastic.org>fche2007-04-262-1/+6
| | | | | PR 4432. * buildrun.cxx (compile_pass): Add $(mflags-y) to stap_check_build.
* 2007-04-26 Frank Ch. Eigler <fche@elastic.org>fche2007-04-262-1/+6
| | | | | * buildrun.cxx (compile_pass): Correct placement of commented-out "set -x" make-macro-debugging snippet.
* Increased timeout to fix intermittent test failures on s390xdwilder2007-04-252-1/+6
|
* stp:syscall.pause Added sys32_pause to probe list.dwilder2007-04-253-4/+13
|
* 2007-04-25 David Smith <dsmith@redhat.com>dsmith2007-04-253-131/+328
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR 2339 * translate.cxx: Renamed "qname" to "value" throughout, since there are times now when qname would refer to a constant value. (tmpvar::override): Added function to allow for overriding a temporary variable name with a string. (tmpvar::value): New function that returns either the overridden string or the temporary variable name. (c_unparser::c_expression): New function. (c_unparser_assignment::c_assignop): Speed up assignment when numeric or string constants are used. (c_tmpcounter::visit_block): Avoid empty structs inside the union of temporary variables. (c_tmpcounter_assignment::prepare_rvalue): New function. (c_tmpcounter_assignment::c_assignop): New function. (c_tmpcounter_assignment::visit_symbol): Update temporary declarations. (c_unparser_assignment::prepare_rvalue): Speed up use of rvalues by using numeric and string constants directly instead of copying them to temporaries first. (c_tmpcounter::load_map_indices): New function. (c_unparser::load_map_indices): Speed up use of numeric and string constants as map indices. (c_tmpcounter::visit_arrayindex): Updated temporary declarations. (c_tmpcounter_assignment::visit_arrayindex): Updated temporary declarations. * translate.h (class translator_output): Added tellp() and seekp() functions.
* * memory.stp: Update vm.pagefault.return comment.wcohen2007-04-252-0/+8
|
* Added a couple simple syscall example scripts.mmason2007-04-244-0/+149
|