| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
| |
* tapsets.cxx (query_module): Use dwfl_module_getdwarf rather
tha dwfl_module_getelf for e_machine check.
|
|
|
|
|
| |
* tapsets.cxx (query_module): Tweak elf-machine checking to
better represent elfutils idioms.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-19 Frank Ch. Eigler <fche@elastic.org>
PR 5766.
* tapsets.cxx (build_blacklist): Switch (back) to regexp-based
blacklist construction ...
(blacklist_p): ... and querying.
2008-02-19 Frank Ch. Eigler <fche@elastic.org>
PR5766.
* semko/fortyfive.stp: New test.
|
|
|
|
|
| |
* transko/one.stp: Remove, or rather, move to this ...
* semko/zero.stp: new file.
|
|
|
|
|
|
|
| |
PR 5672.
* tapsets.cxx (mark_derived_probe): Call probe_point copy ctor to
shallow-copy incoming base probe location before
recomputing/overwriting it.
|
|
|
|
|
| |
* NEWS, stapprobes.5.in: Document basic (non-symbolic prototype)
user-space probe points.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* tapsets.cxx (function_name_last_match): New function.
(query_dwarf_func): Call it to stop unnecessary further iteration.
|
|
|
|
|
|
| |
PR 5759
* tapsets.cxx (build_blacklist): Add some CONFIG_PREEMPT-related
functions.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR5609
* staptree.h (probe::collect_derivation_chain): Now takes vector<probe*>.
(probe::get_alias): New virtual method.
* elaborate.h (derived_probe::collect_derivation_chain): Now takes vector<probe*>.
* staptree.cxx (probe::collect_derivation_chain): Now takes vector<probe*>. Don't
cast 'this' to (derived_probe*).
* elaborate.cxx (derived_probe::collect_derivation_chain): Now takes vector<probe*>.
(alias_derived_probe::get_alias): New virtual method.
(alias_derived_probe::alias): New member.
(alias_expansion_builder::build): Call checkForRecursiveExpansion and emit a
diagnostic if recursion is detected. Pass alias to constructor of
alias_derived_probe.
(alias_expansion_builder::checkForRecursiveExpansion): New method.
* coveragedb.cxx: Pass vector<probe*> on all calls to collect_derivation_chain.
|
|
|
|
|
|
|
|
| |
* systemtap.context/context.exp: Build temporary modules under
build tree, to tolerate read-only source trees.
* {args,backtrace,pid}.tcl: Corresponding changes.
* systemtap_test_module2.c: Add a bunch of asm("")'s to prevent
inlining even better than noinline does.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-12 Frank Ch. Eigler <fche@elastic.org>
PR 4393
* tapsets.cxx (emit_address): Support relocatable kernels.
(dwarf_derived_probe ctor): Hack around for missing USHRT_MAX.
* elaborate.cxx (semantic_pass): Increment rc if exception caught.
2008-02-12 Frank Ch. Eigler <fche@elastic.org>
* systemtap.pass1-4/buildok.exp: No longer kfail buildok/seventeen.
|
| |
|
|
|
|
|
| |
PR 5757
* tapsets.cxx, translate.cxx: Cleanup findentation a bit.
|
|
|
|
|
|
|
| |
* runtime/uprobes/uprobes.c: Intercept handler-destined
signals received while we're single-stepping, and re-queue
them afterward.
* runtime/uprobes/uprobes.h: Ditto
|
|
|
|
|
|
|
|
|
|
|
| |
2008-02-09 Frank Ch. Eigler <fche@elastic.org>
PR5750.
From Eugeniy Meshcheryakov eugen@debian.org:
* configure.ac (HAVE_LIBSQLITE3): Complete AC_DEFINE.
* configure, INSTALL, missing, compile, depcomp, install-sh:
autoreconf -fi'd.
|
| |
|
|
|
|
|
|
|
|
|
| |
2008-02-09 Frank Ch. Eigler <fche@elastic.org>
PR 5751.
* configure.ac: Add -Werror to trial compilation with
-fstack-protector-all, for hosts that don't quite support it.
* configure: Regenerated.
|
| |
|