summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* control.c (_stp_ctl_write_dbug): Insert missing break.Martin Hunt2008-03-252-0/+4
|
* 32-bit fixesMartin Hunt2008-03-253-6/+11
|
* Cleanup.Martin Hunt2008-03-256-52/+91
|
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-252-3/+16
| | | | | | * lib/stap_run.exp (stap_run): Ignore missing debuginfo warnings. Try harder to kill stap child in case of timeouts and errors. (cherry picked from commit ef859360e89d32801e37ddecf59ceee20a049391)
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-252-2/+9
| | | | | | | PR 5980. * lib/systemtap.exp: Set default Snapshot: value from "stap -V" output. (cherry picked from commit 48a00e9396a77fbf1d9919c25eeeebc0081dfb4d)
* 2008-03-21 Eugene Teo <eugeneteo@kernel.sg>eteo2008-03-257-1/+236
| | | | | | | | | | | | PR 5528 * tapset/conversions.stp (user_string_n, user_string_n2, user_string_n_warn, user_string_n_quoted, user_short, user_short_warn, user_int, user_int_warn, user_long, user_long_warn, user_char, user_char_warn): New user_* functions. * stapfuncs.5.in: Documented the new functions. * testsuite/systemtap.stress/conversions.stp: Test new functions. * testsuite/buildok/conversions.stp: Test new functions. * testsuite/buildok/conversions-embedded.stp: Test new functions.
* add (back) runtime/unwind filesFrank Ch. Eigler2008-03-253-0/+340
|
* * clarify utility of epilogue-type probe aliases in documentationfche2008-03-254-20/+41
| | | | | | | | 2008-03-25 Frank Ch. Eigler <fche@elastic.org> * stap.1.in: Clarify utility of epilogue type probe aliases. * langref.tex: Clarify utility of epilogue-type probe aliases.
* rebased unwind_branch on top of current masterFrank Ch. Eigler2008-03-2563-3747/+1693
|
* * clarify utility of epilogue-type probe aliases in documentationfche2008-03-254-20/+29
| | | | | | | | 2008-03-25 Frank Ch. Eigler <fche@elastic.org> * stap.1.in: Clarify utility of epilogue type probe aliases. * langref.tex: Clarify utility of epilogue-type probe aliases.
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-232-3/+16
| | | | | * lib/stap_run.exp (stap_run): Ignore missing debuginfo warnings. Try harder to kill stap child in case of timeouts and errors.
* 2008-03-23 Frank Ch. Eigler <fche@elastic.org>fche2008-03-232-2/+9
| | | | | | PR 5980. * lib/systemtap.exp: Set default Snapshot: value from "stap -V" output.
* 2008-03-21 Eugene Teo <eugeneteo@kernel.sg>eteo2008-03-218-1/+248
| | | | | | | | | | | | PR 5528 * tapset/conversions.stp (user_string_n, user_string_n2, user_string_n_warn, user_string_n_quoted, user_short, user_short_warn, user_int, user_int_warn, user_long, user_long_warn, user_char, user_char_warn): New user_* functions. * stapfuncs.5.in: Documented the new functions. * testsuite/systemtap.stress/conversions.stp: Test new functions. * testsuite/buildok/conversions.stp: Test new functions. * testsuite/buildok/conversions-embedded.stp: Test new functions.
* spelling fixesfche2008-03-211-6/+6
|
* 2008-03-20 Frank Ch. Eigler <fche@elastic.org>fche2008-03-204-0/+15
| | | | | | | | PR 5956. * null.stp: New file, defining global NULL=0. PR 5956. * semko/fortyfive.stp: New test.
* * clarify $variables available in .return probesfche2008-03-201-4/+14
|
* 2008-03-20 Frank Ch. Eigler <fche@elastic.org>fche2008-03-202-0/+10
| | | | | | PR 5975. * tapsets.cxx (*): Added a few (void) expressions for asserts that may be compiled out.
* 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.