| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
PR 5947
* autoconf-tsc-khz.c: Remove "&& defined(__i386__)" to make the test
more pessimistic.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR 5928.
* buildrun.cxx (compile_pass): Use EXTRA_CFLAGS for autoconf'd values
instead of CFLAGS_<module>.o.
|
|
|
|
|
|
|
| |
2008-03-12 Frank Ch. Eigler <fche@elastic.org>
* configure.ac, systemtap.spec.in: Bumped version to 0.6.2.
* configure: Regenerated.
|
|
|
|
|
|
| |
PR5897
* staptree.cxx (probe::printsig): If this probe was derived from an alias,
call the printsig method of the alias.
|
|
|
|
| |
* syscalls2.stp (syscall.wait{4|id}): Correct for 2.6.24.n kernels.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* wait4time.stp: Change reference of $pid to local variable pid.
|
|
|
|
|
| |
* Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Remove -Werror.
* Makefile.in, doc/Makefile.in: Regenerated.
|
| |
|
|
|
|
|
| |
PR5422
* systemtap.samples/examples.exp: Updated.
|
|
|
|
|
|
| |
PR5422
* iostat-scsi.stp: Updated to handle kernel versions > 2.6.24.
* iostat-scsi.txt: Updated.
|
|
|
|
| |
* tutorial.tex: Made minor changes to remove warnings.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* main.cxx (handle_interrupts): Make compatible with GCC 4.3.
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
PR433780
* errno.stp (returnstr): Handle unified i386/x86_64 reg names.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* x86_64/syscalls.stp (syscall.iopl): Use new_iopl instead of level
on xen kernel.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
PR5189
* systemtap.printf/bin6.{exp,stp}: New test case.
* systemtap.printf/memory1.{exp,stp}: New test case.
|
|
|
|
|
|
| |
PR5729
* systemtap.spec.in: Adds examples to the testsuite rpm so that
systemtap.samples/examples.exp works correctly.
|
|
|
|
| |
* systemtap.base/marker.exp: Added better path to Module.markers.
|
|
|
|
| |
while committing the patch.
|
|
|
|
|
| |
PR5018
* staprun.8.in: Escape dashes ('-') as appropriate.
|
|
|
|
|
| |
tapset/syscall2.stp: to modify argument list of waitid,wait4
for kernel > 2.6.24
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
| |
* systemtap.printf/*.exp: Canonicalize pass/fail messages.
|
|
|
|
|
| |
* systemtap.samples/args.exp: Remove installation-specific paths from
pass/fail judgements.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
| |
* test.tcl: Support noexec /tmp by creating test directory
under build tree instead of /tmp.
|
|
|
|
|
| |
* semko/fortyfive.stp: Add ".call" to exclude false (?) positives
from inlined instances defined in header files.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* systemtap.base/beginenderror.exp: Increase timeout for slow machines.
|
|
|
|
| |
* staprun_funcs.c (check_path): Small security fix.
|
|
|
|
|
| |
* systemtap.base/marker.exp: Added tests for marker probe
".format" component.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
|
|
|
|
|
|
| |
* 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.
|