| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
* test.exp: Renamed to syscall.exp.
|
|
|
|
| |
without checking kernel version to support audit code backports
|
| |
|
| |
|
| |
|
|
|
|
| |
syscall.* failures on some kernels.
|
|
|
|
|
|
|
|
| |
* tapsets.cxx
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Since
array behavior has changed (setting to 0 no longer deletes the
array element), we delete the internal counter array element when
providing target variable access in return probes.
|
| |
|
| |
|
|
|
|
|
| |
* systemtap.spec.in (elfutils_version): Bump to 0.125.
Older libdw's have known bugs, though the ABI has not changed.
|
| |
|
|
|
|
| |
* small_demos/top.stp: Use "limit" option in foreach.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* systemtap.maps/foreach_foreach.exp: Update for new delete func.
* systemtap.maps/ii.exp: Ditto.
* systemtap.maps/ii.stp: Ditto.
* systemtap.maps/iiiiii.exp: Ditto.
* systemtap.maps/iiiiii.stp: Ditto.
* systemtap.maps/is.stp: Ditto.
* systemtap.maps/si.exp: Ditto.
* systemtap.maps/si.stp: Ditto.
* systemtap.maps/ss.stp: Ditto.
|
|
|
|
|
| |
* translate.cxx (mapvar::del): Call the new _stp_map_del
function instead of setting to zero.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3708
* map.c (str_copy): Check for NULL pointers.
(_new_map_set_int64): Don't check val for 0.
(_new_map_set_str): Don't check val for NULL.
* map-gen.c (VAL_IS_ZERO): Removed.
(_stp_map_del): New.
(__stp_map_set): Don't check for zero.
* pmap-gen.c (VAL_IS_ZERO): Removed.
(_stp_pmap_del): New.
(__stp_pmap_set): Don't check for zero.
|
|
|
|
|
| |
* test.exp, test.tcl, test-debug.tcl: PR 3524.
Support for separtet source and obj trees.
|
|
|
|
|
|
| |
* symbols.c (_stp_del_module): Fix so memory allocated
for module 0 (kernel) is freed.
(_stp_free_modules): No need to lock module list.
|
| |
|
|
|
|
|
|
|
| |
* configure.ac: Bump version to 0.5.12 for release.
* configure: Regenerated.
* NEWS, AUTHORS: Populate & repopulate.
* examples/*: Added several .stp/.txt files from the wiki.
|
|
|
|
|
|
|
| |
* tapsets.cxx (*group:emit_module_init): flush stdout less for timing
mode. Also, Set probe_point variable ...
* translate.cxx (emit_module_init): ... so on registration failure, a
usable error message can be generated.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3523.
* tapsets.cxx (common_probe_entryfn_prologue,epilogue): Restore
support for -t (benchmarking) mode.
* translate.cxx (emit_common_header,emit_module_init):Ditto.
(emit_module_exit,emit_probe): Ditto, with most meat here.
2006-12-29 Frank Ch. Eigler <fche@redhat.com>
PR 3523.
* buildok/fourteen.stp, fourteen-plus.stp: Tweak & add a test.
* systemtap.base/bench.stp: Work around randomized-ordered probes.
* systemtap.base/bench.exp: Tighten output requirements.
|
| |
|
|
|
|
| |
and _addevent.sunrpc.svc.recv.return
|
|
|
|
|
|
|
|
|
|
| |
* stap.1.in: Document how to specify the size of global arrays.
testsuite/
* buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp,
parseko/array03.stp, parseko/array04.stp, transko/array01.stp,
systemtap.base/array_size.exp, systemtap.base/array_size.stp:
Tests for specifying the size of global arrays.
|
|
|
|
|
|
| |
* systemtap.base/cache.exp: Added test to ensure that using '-M'
and '-t' changes the hash. The '-t' test is commented out until
PR3523 is fixed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3671
* parse.cxx (parser::parse_global): Allow a maxsize on global arrays.
* staptree.h (struct vardecl): Add the maxsize field.
* staptree.cxx (vardecl::vardecl): Init. maxsize.
(vardecl::set_arity): Don't allow arity 0 when there's a maxsize.
(vardecl::compatible_arity): Ditto.
(vardecl::print): Include maxsize in output.
(target_symbol::print): Ditto.
* translate.cxx (struct mapvar, mapvar::mapvar): Add maxsize.
(mapvar::init): Init maps with the given maxsize if specified, else
keep using MAXMAPENTRIES.
(mapvar::set): Make the error message give the maxsize.
(mapvar::add): Ditto, and check for overflow on pmap add.
(c_unparser::getmap): Pass the maxsize from the vardecl to mapvar.
|
|
|
|
|
|
| |
* hash.cxx (find_hash): Added two more options into the hash that
change the generated C file - '-M' (merge) and '-t' (benchmark
timing).
|
|
|
|
|
| |
* systemtap.base/cache.exp: Added test to ensure that using '-b'
changes the hash.
|
|
|
|
| |
* runtime.h: Include mm.h.
|
|
|
|
| |
* transport.c: Fixes to use the new 2.6.20 workqueue API.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3519.
* Makefile.am: Added 'examples' directory to the 'EXTRA_DIST'
variable so that the examples directory will be added to the
distribution directory. Added variables 'SAMPLE_DEST_DIR' and
'SAMPLE_SRC' and target 'dist-add-samples' to copy some of the
testsuite sample scripts to the examples directory when creating a
distribution directory.
* Makefile.in: Regenerated.
* systemtap.spec.in: Added 'examples' directory to the %doc list
so that the examples directory will be installed on a user's
system.
|
| |
|
|
|
|
| |
bugfix for NULL appname when search appNameTree.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3522.
* tapsets.cxx (dwflpp::emit_address): Call
_stp_module_relocate only once per session.
Error message cleanup: duplicate elimination etc.
* session.h (saved_errors): Store a set of 'em.
(num_errors): Return set size. Remove old numeric field.
Update all callers.
* elaborate.cxx (systemtap_session::print_errors):
Print each encountered message just once.
* staptree (semantic_error): Make msg2 writeable.
Add a chain field.
* tapsets.cxx (*var_expanding*:visit_target_symbol): Set saved
semantic_error's chain field.
* elaborate.cxx (register_library_aliases, visit_foreach_loop,
visit_functioncall, derive_probes): Plop "while: ..." error
message prefix/suffix right into the semantic_error message string.
* parse.cxx (lexer::scan): Identify erroneous token better
in error message for unresolvable $N/@M command line args.
* util.h (lex_cast_hex): Use std::hex, not std::ios::hex.
2006-12-19 Frank Ch. Eigler <fche@redhat.com>
PR 3522.
* buildok/twentyfive.stp: New test for static $var access.
|
|
|
|
|
|
| |
* systemtap.base/deref.exp, systemtap.base/deref.exp: Add a test for
successfully dereferencing pointers of various sizes. This is known to
fail on x86 for 64-bit values -- PR 3079.
|
|
|
|
|
|
| |
* Makefile.am (EXTRA_DIST): Added header files - cache.h, hash.h,
mdfour.h, and util.h.
* Makefile.in: Regenerated.
|
|
|
|
|
|
| |
* lket/b2a/Makefile.in: Regenerated. This needed to be done since
lket/b2a/README was removed but lket/b2a/Makefile.in still had a
reference to it which was causing "make distdir" to fail.
|
|
|
|
|
| |
* systemtap.samples/pfaults.stp: Since PR 1132 has been fixed,
updated to use "$return".
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3079
* loc2c-runtime.h (deref, store_deref): Fork x86 and x86-64
variants. Remove dysfunctional 64-bit ops from x86.
2006-12-18 Frank Ch. Eigler <fche@elastic.org>
* vfs.stp (ppos_pos): Protect contents with deref(), though
this blocks operation on i686 due to bug #3079.
|
| |
|
|
|
|
|
|
| |
* main.cxx (main): Print version strings if verbose >=2 .
* tapsets.cxx (common_probe_entryfn_prologue): Decorate an
emitted local with __restrict__.
|
|
|
|
| |
* print.c (_stp_print_flush): Add a likely() marker to the hot path.
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
'return_ts_map' member variable.
(dwarf_var_expanding_copy_visitor::visit_target_symbol):
Optimization. If we've already seen this target variable in this
return probe, return the last replacement (instead of creating a
new replacement).
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
'add_probe' member variable. Initialized it in ctor.
(dwarf_var_expanding_copy_visitor::visit_target_symbol):
Optimization. Instead of generating one entry probe per target
variable accessed in a return probe, now just generates one entry
probe for all target variables accessed in a particular return
probe. It does this by creating a new probe in the new
'add_probe' member variable.
(dwarf_derived_probe::dwarf_derived_probe): If add_probe isn't
NULL, make sure it gets derived later.
|
|
|
|
| |
* regs.h (s390x REG_IP): Parenthesize for warning-free builds.
|
| |
|
|
|
|
| |
of $prev_p->pid.
|
|
|
|
|
|
| |
* symbols.c (get_sections): Set buffer sizes to large enough
sizes to hold all possible values, but also include checks in case
we are wrong.
|