summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2008-03-17 Eugene Teo <eteo@redhat.com>eteo2008-03-172-1/+7
| | | | | | PR 5947 * autoconf-tsc-khz.c: Remove "&& defined(__i386__)" to make the test more pessimistic.
* * systemtap.base/maxactive.exp, probefunc.exp: Standardize pass msg.fche2008-03-153-2/+6
|
* 2008-03-14 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-03-155-0/+51
| | | | | | | | | | | PR 3542 * buildrun.cxx (compile_pass): Add an autoconf to check the kernel supports batch unregistration. * tapsets.cxx (dwarf_derived_probe_group::emit_module_decls): Add an array of probe pointers for batch unregistration. * tapsets.cxx (dwarf_derived_probe_group::emit_module_exit): Use unregister_k(ret)probes if it is supported. * runtime/autoconf-unregister-kprobes.c : New file.
* 2008-03-13 Frank Ch. Eigler <fche@elastic.org>fche2008-03-132-4/+12
| | | | | | PR 5928. * buildrun.cxx (compile_pass): Use EXTRA_CFLAGS for autoconf'd values instead of CFLAGS_<module>.o.
* * release prep: 0.6.2 version bumpfche2008-03-127-24/+32
| | | | | | | 2008-03-12 Frank Ch. Eigler <fche@elastic.org> * configure.ac, systemtap.spec.in: Bumped version to 0.6.2. * configure: Regenerated.
* 2008-03-12 Dave Brolley <brolley@redhat.com>brolley2008-03-122-0/+13
| | | | | | PR5897 * staptree.cxx (probe::printsig): If this probe was derived from an alias, call the printsig method of the alias.
* 2008-03-11 Will Cohen <wcohen@redhat.com>wcohen2008-03-112-4/+8
| | | | * syscalls2.stp (syscall.wait{4|id}): Correct for 2.6.24.n kernels.
* 2008-03-10 Dave Brolley <brolley@redhat.com>brolley2008-03-103-3/+88
| | | | | | | | | | | | | | PR5189 * translate.cxx (probe_or_function_needs_deref_fault_handler): New member of c_unparser. (c_unparser::emit_function): Initialize probe_or_function_needs_deref_fault_handler. Check it after the body is visited and generate a deref fault handler if necessary. (c_unparser::emit_probe): Likewise. (c_unparser::visit_print_format): Correct the compoenent type for an overridden string literal. Generate code to check that pointer arguments to %m can be dereferenced. Generate casts for printf arguments as necessary. * elaborate.cxx (typeresolution_info::visit_print_format): Desired type for conv_memory is pe_long.
* 2008-03-10 Dave Brolley <brolley@redhat.com>brolley2008-03-105-43/+130
| | | | | | PR5189 * systemtap.printf/memory1.{stp,exp}: Rewrite to reflect new %m safety checks. * systemtap.stress/conversions.exp: Add a test for invalid argument to %m.
* 2008-03-10 Dave Brolley <brolley@redhat.com>brolley2008-03-103-4/+30
| | | | | | | | PR5189 * vsprintf.c (_stp_vsnprintf): Arguments for dynamic width and precision are of type 'int' again. * loc2c-runtime.h (deref_string): Copy the data only if dst is not NULL. (deref_buffer): New macro.
* 2008-03-09 Wenji Huang <wenji.huang@oracle.com>wenji2008-03-102-1/+6
| | | | * wait4time.stp: Change reference of $pid to local variable pid.
* 2008-03-06 Frank Ch. Eigler <fche@elastic.org>fche2008-03-064-5/+12
| | | | | * Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Remove -Werror. * Makefile.in, doc/Makefile.in: Regenerated.
* Fix sys_sigaltstack for i686 after register unificationananth2008-03-062-2/+7
|
* 2008-03-05 David Smith <dsmith@redhat.com>dsmith2008-03-052-2/+7
| | | | | PR5422 * systemtap.samples/examples.exp: Updated.
* 2008-03-05 David Smith <dsmith@redhat.com>dsmith2008-03-053-1/+31
| | | | | | PR5422 * iostat-scsi.stp: Updated to handle kernel versions > 2.6.24. * iostat-scsi.txt: Updated.
* 2008-03-04 David Smith <dsmith@redhat.com>dsmith2008-03-042-15/+18
| | | | * tutorial.tex: Made minor changes to remove warnings.
* PR5516: assignment to $pointersfche2008-03-039-29/+117
| | | | | | | | | | | | | | | | | | | | | 2008-03-03 Frank Ch. Eigler <fche@elastic.org> PR5516 * elaborate.cxx (symbol_fetcher, dead_assignment_remover): Support unresolved $target lvalues. Propagate pretty error messages. * staptree.cxx (varuse_collecting_visitor target_symbol): Ditto. * staptree.h: Corresponding decl. * loc2c.c: c_translate_pointer_store: New function. * loc2c.h: Corresponding decl. * tapsets.cxx (dwflpp::translate_final_fetch_or_store): Call it for $target pointer assignments. 2008-03-03 Frank Ch. Eigler <fche@elastic.org> PR5516 * buildok/twentynine.stp: New test.
* add doc/nomencl.sty to EXTRA_DISTfche2008-03-033-2/+8
| | | | | | | | 2008-03-03 Frank Ch. Eigler <fche@elastic.org> From Masami Hiramatsu <mhiramat@redhat.com> * Makefile.am (EXTRA_DIST): Add nomencl.sty. * Makefile.in: Hand-regenerated.
* 2008-02-29 Will Cohen <wcohen@redhat.com>wcohen2008-02-292-1/+5
| | | | * main.cxx (handle_interrupts): Make compatible with GCC 4.3.
* PR5045: clean up after interruptsfche2008-02-287-16/+82
| | | | | | | | | | | 2008-02-28 Frank Ch. Eigler <fche@elastic.org> PR5045 * session.h (pending_interrupts): New global. * main.cxx (handle_interrupts): New fn to handle SIGINT* etc. * elaborate.cxx, translate.cxx, tapsets.cxx, main.cxx (*): Insert pending_interrupts escape hatches inside potentially timetaking loops. * buildrun.cxx: Don't deal with signals.
* 2008-02-28 Will Cohen <wcohen@redhat.com>wcohen2008-02-282-1/+8
| | | | | PR433780 * errno.stp (returnstr): Handle unified i386/x86_64 reg names.
* bundle nomencl.sty for older tex distributionsfche2008-02-282-0/+196
|
* PR5697 part 2: tutorial/langref configuryfche2008-02-286-8/+250
| | | | | | | | | | 2008-02-27 Frank Ch. Eigler <fche@elastic.org> PR5697 * configure.ac (enable-docs): Implement. * systemtap.spec.in: Add optional docs build/install/prereqs. * Makefile.am (SUBDIRS): Add doc. * Makefile.in, configure: Regenerated.
* Correct date of last commit.brolley2008-02-281-1/+1
|
* PR5697: include tutorial & language reference guidefche2008-02-2716-0/+4982
|
* 2008-02-27 Martin Hunt <hunt@redhat.com>hunt2008-02-2716-551/+760
| | | | | | | | | | | | | | | | | | | | | | | | | | | * sym.h (_stp_module): Add text_size, lock, and unwind data pointer. * sym.c (_stp_find_module_by_addr): New function. (_stp_kallsyms_lookup): Call _stp_find_module_by_addr(). (_stp_get_unwind_info): New. * runtime.h: Move debug macros to debug.h. Include it. * debug.h: New file. * map.c: Update debug calls. * map-gen.c: Update debug calls. * pmap-gen.c: Update debug calls. * mempool.c: New file. * symbols.c: Use rwlocks. Use new dbug macros. Handle unwind info if present. * transport.c: Include mempool.c. Update dbug and kbug calls to new macros. * transport_msgs.h (_stp_command_name): Add struct containing message names for debugging. * control.c, procfs.c: Use new dbug macros. Use new mempool functions.
* 2008-02-27 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2008-02-272-1/+10
| | | | | * x86_64/syscalls.stp (syscall.iopl): Use new_iopl instead of level on xen kernel.
* 2008-02-21 Dave Brolley <brolley@redhat.com>brolley2008-02-276-27/+161
| | | | | | | | | | | | | | | | | | | | | | PR5189 * staptree.h (print_format::conv_memory): New enumerator. (print_format::width_type): New enumeration. (print_format::precision_type): New enumeration. (format_component::widthtype): New member. (format_component::prectype): New member. (format_component::is_empty): Test widthtype and prectype. (format_component::clear): Clear widthtype and prectype. * staptree.cxx (print_format::components_to_string): Handle dynamic width and precision. Handle conv_memory. (print_format::string_to_components): Parse dynamic width and precision specifiers. Set widthtype and prectype. Parse %m format specifier. * elaborate.h (typeresolution_info::check_arg_type): New method. * elaborate.cxx (typeresolution_info::visit_print_format): Account for dynamic width and precision when computing the expected number of arguments. Check the types of arguments for dynamic width and precision. Use check_arg_type to check the types of all arguments. Handle print_format::conv_memory. (typeresolution_info::check_arg_type): New method. * NEWS: Describe the enhancements above.
* 2008-02-27 Dave Brolley <brolley@redhat.com>brolley2008-02-272-11/+74
| | | | | | | PR5189 * vsprintf.c (_stp_vsnprintf): Extract arguments of type int64_t for dynamic width and precision. Implement width and precision correctly for the %b format specifier. Implement the %m specifier.
* 2008-02-27 Dave Brolley <brolley@redhat.com>brolley2008-02-275-0/+91
| | | | | | PR5189 * systemtap.printf/bin6.{exp,stp}: New test case. * systemtap.printf/memory1.{exp,stp}: New test case.
* 2008-02-27 David Smith <dsmith@redhat.com>dsmith2008-02-272-5/+14
| | | | | | PR5729 * systemtap.spec.in: Adds examples to the testsuite rpm so that systemtap.samples/examples.exp works correctly.
* 2008-02-27 David Smith <dsmith@redhat.com>dsmith2008-02-272-2/+5
| | | | * systemtap.base/marker.exp: Added better path to Module.markers.
* Modifying Changelog file, since Srinivasa skipped itsrinivasa2008-02-271-0/+16
| | | | while committing the patch.
* 2008-02-26 Dave Brolley <brolley@redhat.com>brolley2008-02-262-2/+7
| | | | | PR5018 * staprun.8.in: Escape dashes ('-') as appropriate.
* 2008-02-26 Srinivasa DS<srinivasa@in.ibm.com> PR 5772,srinivasa2008-02-262-22/+13
| | | | | tapset/syscall2.stp: to modify argument list of waitid,wait4 for kernel > 2.6.24
* added wildcard samplefche2008-02-261-1/+1
|
* PR5792: wildcard support for %( kernel/arch %) preprocessor operandsfche2008-02-266-17/+118
| | | | | | | | | | | | | | 2008-02-25 Frank Ch. Eigler <fche@elastic.org> PR5792. * parse.cxx (eval_pp_conditional): Support wildcards in %( kernel_v/kernel_vr/arch ==/!= "*foo?" %) operands. * NEWS, stap.1.in: Document this. 2008-02-25 Frank Ch. Eigler <fche@elastic.org> PR5792. * systemtap.base/preprocessor.exp: New test.
* Fix for bug#5772srinivasa2008-02-251-3/+19
|
* 2008-02-23 Frank Ch. Eigler <fche@elastic.org>fche2008-02-2312-29/+33
| | | | * systemtap.printf/*.exp: Canonicalize pass/fail messages.
* 2008-02-23 Frank Ch. Eigler <fche@elastic.org>fche2008-02-232-6/+11
| | | | | * systemtap.samples/args.exp: Remove installation-specific paths from pass/fail judgements.
* PR5770: false systemtap/eof/timeout messages in testsuite.logfche2008-02-2314-16/+23
| | | | | | | 2008-02-23 Frank Ch. Eigler <fche@elastic.org> * */*.exp: Change all "send \003" to "exec kill -INT -<pgrp>" in order to more reliably kill an inferior stap/stapio/staprun process group.
* 2008-02-22 Frank Ch. Eigler <fche@elastic.org>fche2008-02-232-1/+7
| | | | | * test.tcl: Support noexec /tmp by creating test directory under build tree instead of /tmp.
* 2008-02-22 Frank Ch. Eigler <fche@elastic.org>fche2008-02-232-1/+6
| | | | | * semko/fortyfive.stp: Add ".call" to exclude false (?) positives from inlined instances defined in header files.
* PR5787, PR2608: .statement(NUM) probing fixesfche2008-02-235-47/+114
| | | | | | | | | | | | | | | | | | | 2008-02-22 Frank Ch. Eigler <fche@elastic.org> PR5787, PR2608, .statement() * tapsets.cxx (query_dwarf_func): Process .statement(NUM) probes too. (query_cu): Ditto. (query_func_info): Bypass prologue searching for .statement() probes. (query_cu): Ditto. (build_blacklist): Remove unsightly empty first alternative in "^(|foo)$" regexps. Show them for -vvv. * buildrun.cxx (compile_pass): Don't turn on "gcc -Q" on until -vvvv. 2008-02-22 Frank Ch. Eigler <fche@elastic.org> * systemtap.base/stmtvars.exp: New test for PR 5787.
* 2008-02-21 Will Cohen <wcohen@redhat.com>wcohen2008-02-212-0/+5
| | | | * systemtap.base/beginenderror.exp: Increase timeout for slow machines.
* 2008-02-21 David Smith <dsmith@redhat.com>dsmith2008-02-212-3/+17
| | | | * staprun_funcs.c (check_path): Small security fix.
* 2008-02-20 David Smith <dsmith@redhat.com>dsmith2008-02-202-3/+43
| | | | | * systemtap.base/marker.exp: Added tests for marker probe ".format" component.
* 2008-02-20 David Smith <dsmith@redhat.com>dsmith2008-02-203-20/+87
| | | | | | | | | | | | | | | | | * tapsets.cxx (struct mark_derived_probe): Renamed 'probe_sig' to 'probe_format'. (mark_derived_probe::mark_derived_probe): Added new "format" probe point component. (mark_derived_probe::parse_probe_format): Renamed from 'mark_derived_probe::parse_probe_sig'. (struct mark_builder): Added typedefs. Converted mark_cache from a map to a multimap to handle markers with the same name but different formats. (mark_builder::build): Added new 'format' probe parameter. (register_standard_tapsets): Added new 'format' marker probe optional parameter. * stapprobes.5.in (parts): Documented new "format" probe component.
* .roland2008-02-201-0/+2
|
* 2008-02-19 Roland McGrath <roland@redhat.com>roland2008-02-201-3/+11
| | | | | | | * tapsets.cxx (query_module): Use dwfl_module_getdwarf rather than dwfl_module_getelf for e_machine check. (dwarf_query::get_blacklist_section): Likewise for section search. Ignore non-SHF_ALLOC sections.