]> sourceware.org Git - systemtap.git/log
systemtap.git
17 years ago2007-01-18 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 18 Jan 2007 23:00:15 +0000 (23:00 +0000)]
2007-01-18  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (version): Add (C) 2007.
* translate.cxx (emit_module_init): Add a KERN_DEBUG printk
at module startup time to aid debugging and auditing.

17 years agoIn _stp_sockaddr_str() s390x needs sockaddr_ll.sll_addr printed as a long int instead...
dwilder [Thu, 18 Jan 2007 22:50:28 +0000 (22:50 +0000)]
In _stp_sockaddr_str() s390x needs sockaddr_ll.sll_addr printed as a long int instead of long long int.

17 years agoAdded several ? to probe definitions for kernel functions that are not availableon...
dwilder [Thu, 18 Jan 2007 22:38:36 +0000 (22:38 +0000)]
Added several ? to probe definitions for kernel functions that are not availableon s390. This is needed to make probe syscall.* work.

17 years agoAdded s390x support in function errno_str.
dwilder [Thu, 18 Jan 2007 22:31:31 +0000 (22:31 +0000)]
Added s390x support in function errno_str.

17 years ago* embedded-C safety blurb
fche [Wed, 17 Jan 2007 19:35:32 +0000 (19:35 +0000)]
* embedded-C safety blurb

17 years ago2007-01-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 17 Jan 2007 18:27:41 +0000 (18:27 +0000)]
2007-01-17  Martin Hunt  <hunt@redhat.com>

* syscalls.stp: Add syscall.creat.
* syscalls2.stp: Add compat_sys_open.

17 years ago2007-01-17 Martin Hunt <hunt@redhat.com>
hunt [Wed, 17 Jan 2007 18:24:21 +0000 (18:24 +0000)]
2007-01-17  Martin Hunt  <hunt@redhat.com>

* test.exp: Renamed to syscall.exp.

17 years agobuildok/eighteen.stp: changed to find __audit_getname or audit_getname
mmason [Tue, 16 Jan 2007 21:16:49 +0000 (21:16 +0000)]
buildok/eighteen.stp: changed to find __audit_getname or audit_getname
without checking kernel version to support audit code backports

17 years ago* point to NEWS
fche [Mon, 15 Jan 2007 20:12:49 +0000 (20:12 +0000)]
* point to NEWS

17 years agoTest 32-bit binaries on ppc64 in test.exp.
mmason [Mon, 15 Jan 2007 15:51:28 +0000 (15:51 +0000)]
Test 32-bit binaries on ppc64 in test.exp.

17 years agoFix for ioblocktest.exp test (PR 3867)
mmason [Sat, 13 Jan 2007 19:05:07 +0000 (19:05 +0000)]
Fix for ioblocktest.exp test (PR 3867)

17 years agoAdded ? to request_key probes in x86_64/syscalls.stp to prevent
mmason [Sat, 13 Jan 2007 03:02:48 +0000 (03:02 +0000)]
Added ? to request_key probes in x86_64/syscalls.stp to prevent
syscall.* failures on some kernels.

17 years ago2007-01-12 David Smith <dsmith@redhat.com>
dsmith [Fri, 12 Jan 2007 16:33:16 +0000 (16:33 +0000)]
2007-01-12  David Smith  <dsmith@redhat.com>

* 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.

17 years agoAdd iotime.stp, sleeptime.stp, and wait4time.stp examples.
wcohen [Thu, 11 Jan 2007 15:47:50 +0000 (15:47 +0000)]
Add iotime.stp, sleeptime.stp, and wait4time.stp examples.

17 years ago.
roland [Thu, 11 Jan 2007 08:43:17 +0000 (08:43 +0000)]
.

17 years ago2007-01-11 Roland McGrath <roland@redhat.com>
roland [Thu, 11 Jan 2007 08:43:10 +0000 (08:43 +0000)]
2007-01-11  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in (elfutils_version): Bump to 0.125.
Older libdw's have known bugs, though the ABI has not changed.

17 years ago* moving examples/ changelog entries
fche [Wed, 10 Jan 2007 18:17:45 +0000 (18:17 +0000)]
* moving examples/ changelog entries

17 years ago2007-01-10 Martin Hunt <hunt@redhat.com>
hunt [Wed, 10 Jan 2007 15:24:36 +0000 (15:24 +0000)]
2007-01-10  Martin Hunt  <hunt@redhat.com>

* small_demos/top.stp: Use "limit" option in foreach.

17 years ago2007-01-10 Martin Hunt <hunt@redhat.com>
hunt [Wed, 10 Jan 2007 15:14:36 +0000 (15:14 +0000)]
2007-01-10  Martin Hunt  <hunt@redhat.com>

* 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.

17 years ago2007-01-10 Martin Hunt <hunt@redhat.com>
hunt [Wed, 10 Jan 2007 15:11:10 +0000 (15:11 +0000)]
2007-01-10  Martin Hunt  <hunt@redhat.com>

* translate.cxx (mapvar::del): Call the new _stp_map_del
function instead of setting to zero.

17 years ago2007-01-10 Martin Hunt <hunt@redhat.com>
hunt [Wed, 10 Jan 2007 15:07:25 +0000 (15:07 +0000)]
2007-01-10  Martin Hunt  <hunt@redhat.com>
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.

17 years ago2007-01-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Jan 2007 20:39:19 +0000 (20:39 +0000)]
2007-01-09  Martin Hunt  <hunt@redhat.com>

* test.exp, test.tcl, test-debug.tcl: PR 3524.
Support for separtet source and obj trees.

17 years ago2007-01-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Jan 2007 17:43:55 +0000 (17:43 +0000)]
2007-01-09  Martin Hunt  <hunt@redhat.com>

* symbols.c (_stp_del_module): Fix so memory allocated
for module 0 (kernel) is freed.
(_stp_free_modules): No need to lock module list.

17 years agolaggard release-0.5.12
fche [Tue, 2 Jan 2007 04:38:17 +0000 (04:38 +0000)]
laggard

17 years ago2007-01-01 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 2 Jan 2007 04:33:41 +0000 (04:33 +0000)]
2007-01-01  Frank Ch. Eigler  <fche@redhat.com>

* 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.

17 years ago2006-12-29 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 30 Dec 2006 04:25:51 +0000 (04:25 +0000)]
2006-12-29  Frank Ch. Eigler  <fche@elastic.org>

* 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.

17 years ago2006-12-29 Frank Ch. Eigler <fche@redhat.com>
fche [Sat, 30 Dec 2006 03:54:51 +0000 (03:54 +0000)]
2006-12-29  Frank Ch. Eigler  <fche@redhat.com>

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.

17 years agobugfix for 2.6.19 kernel
guanglei [Fri, 29 Dec 2006 08:02:07 +0000 (08:02 +0000)]
bugfix for 2.6.19 kernel

17 years agofix wrong HOOKID for _addevent.sunrpc.svc.recv.entry
guanglei [Sat, 23 Dec 2006 11:02:29 +0000 (11:02 +0000)]
fix wrong HOOKID for _addevent.sunrpc.svc.recv.entry
and _addevent.sunrpc.svc.recv.return

17 years ago2006-12-22 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 22 Dec 2006 22:18:02 +0000 (22:18 +0000)]
2006-12-22  Josh Stone  <joshua.i.stone@intel.com>

* 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.

17 years ago2006-12-22 David Smith <dsmith@redhat.com>
dsmith [Fri, 22 Dec 2006 19:33:29 +0000 (19:33 +0000)]
2006-12-22  David Smith  <dsmith@redhat.com>

* 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.

17 years ago2006-12-21 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 22 Dec 2006 02:34:05 +0000 (02:34 +0000)]
2006-12-21  Josh Stone  <joshua.i.stone@intel.com>

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.

17 years ago2006-12-21 David Smith <dsmith@redhat.com>
dsmith [Thu, 21 Dec 2006 21:41:25 +0000 (21:41 +0000)]
2006-12-21  David Smith  <dsmith@redhat.com>

* hash.cxx (find_hash): Added two more options into the hash that
change the generated C file - '-M' (merge) and '-t' (benchmark
timing).

17 years ago2006-12-21 David Smith <dsmith@redhat.com>
dsmith [Thu, 21 Dec 2006 15:51:57 +0000 (15:51 +0000)]
2006-12-21  David Smith  <dsmith@redhat.com>

* systemtap.base/cache.exp: Added test to ensure that using '-b'
changes the hash.

17 years ago2006-12-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Dec 2006 20:32:57 +0000 (20:32 +0000)]
2006-12-20  Martin Hunt  <hunt@redhat.com>

* runtime.h: Include mm.h.

17 years ago2006-12-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Dec 2006 20:32:39 +0000 (20:32 +0000)]
2006-12-20  Martin Hunt  <hunt@redhat.com>

* transport.c: Fixes to use the new 2.6.20 workqueue API.

17 years ago2006-12-20 David Smith <dsmith@redhat.com>
dsmith [Wed, 20 Dec 2006 15:56:14 +0000 (15:56 +0000)]
2006-12-20  David Smith  <dsmith@redhat.com>

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.

17 years agobugfix of LKET rpc event register codes.
guanglei [Wed, 20 Dec 2006 08:41:04 +0000 (08:41 +0000)]
bugfix of LKET rpc event register codes.

17 years agoruntime/lket/b2a/lket-b2a.c:
guanglei [Wed, 20 Dec 2006 08:03:46 +0000 (08:03 +0000)]
runtime/lket/b2a/lket-b2a.c:
bugfix for NULL appname when search appNameTree.

17 years ago2006-12-19 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 19 Dec 2006 22:00:15 +0000 (22:00 +0000)]
2006-12-19  Frank Ch. Eigler  <fche@redhat.com>

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.

17 years ago2006-12-18 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 19 Dec 2006 00:24:32 +0000 (00:24 +0000)]
2006-12-18  Josh Stone  <joshua.i.stone@intel.com>

* 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.

17 years ago2006-12-18 David Smith <dsmith@redhat.com>
dsmith [Mon, 18 Dec 2006 21:19:10 +0000 (21:19 +0000)]
2006-12-18  David Smith  <dsmith@redhat.com>

* Makefile.am (EXTRA_DIST): Added header files - cache.h, hash.h,
mdfour.h, and util.h.
* Makefile.in: Regenerated.

17 years ago2006-12-18 David Smith <dsmith@redhat.com>
dsmith [Mon, 18 Dec 2006 19:32:01 +0000 (19:32 +0000)]
2006-12-18  David Smith  <dsmith@redhat.com>

* 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.

17 years ago2006-12-18 David Smith <dsmith@redhat.com>
dsmith [Mon, 18 Dec 2006 16:51:21 +0000 (16:51 +0000)]
2006-12-18  David Smith  <dsmith@redhat.com>

* systemtap.samples/pfaults.stp: Since PR 1132 has been fixed,
updated to use "$return".

17 years ago2006-12-18 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 18 Dec 2006 11:31:26 +0000 (11:31 +0000)]
2006-12-18  Frank Ch. Eigler  <fche@elastic.org>

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.

17 years agowishlist item, commented out
fche [Mon, 18 Dec 2006 11:21:17 +0000 (11:21 +0000)]
wishlist item, commented out

17 years ago2006-12-16 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 16 Dec 2006 22:24:13 +0000 (22:24 +0000)]
2006-12-16  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (main): Print version strings if verbose >=2 .
* tapsets.cxx (common_probe_entryfn_prologue): Decorate an
emitted local with __restrict__.

17 years ago2006-12-15 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 15 Dec 2006 13:25:34 +0000 (13:25 +0000)]
2006-12-15  Frank Ch. Eigler  <fche@elastic.org>

* print.c (_stp_print_flush): Add a likely() marker to the hot path.

17 years ago2006-12-14 David Smith <dsmith@redhat.com>
dsmith [Thu, 14 Dec 2006 16:11:41 +0000 (16:11 +0000)]
2006-12-14  David Smith  <dsmith@redhat.com>

* 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).

17 years agoold example eradication
fche [Thu, 14 Dec 2006 12:35:04 +0000 (12:35 +0000)]
old example eradication

17 years agoUpdated last entry.
dsmith [Wed, 13 Dec 2006 21:34:06 +0000 (21:34 +0000)]
Updated last entry.

17 years ago2006-12-13 David Smith <dsmith@redhat.com>
dsmith [Wed, 13 Dec 2006 20:56:19 +0000 (20:56 +0000)]
2006-12-13  David Smith  <dsmith@redhat.com>

* 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.

17 years ago2006-12-13 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 13 Dec 2006 20:36:04 +0000 (20:36 +0000)]
2006-12-13  Frank Ch. Eigler  <fche@elastic.org>

* regs.h (s390x REG_IP): Parenthesize for warning-free builds.

17 years ago*** empty log message ***
mmason [Wed, 13 Dec 2006 16:03:28 +0000 (16:03 +0000)]
*** empty log message ***

17 years agoIn scheduler.ctxswitch, fixed last line to reference $prev_p->state instead of $prev_...
mmason [Wed, 13 Dec 2006 15:58:15 +0000 (15:58 +0000)]
In scheduler.ctxswitch, fixed last line to reference $prev_p->state instead of $prev_p->pid.

17 years ago2006-12-11 Martin Hunt <hunt@redhat.com>
hunt [Mon, 11 Dec 2006 22:15:56 +0000 (22:15 +0000)]
2006-12-11  Martin Hunt  <hunt@redhat.com>

* 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.

17 years ago2006-12-11 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 11 Dec 2006 22:03:12 +0000 (22:03 +0000)]
2006-12-11  Josh Stone  <joshua.i.stone@intel.com>

* parse.cxx (parse::parse_literal): Enforce the lower bound on
negative literals.

17 years ago2006-12-11 David Smith <dsmith@redhat.com>
dsmith [Mon, 11 Dec 2006 20:31:53 +0000 (20:31 +0000)]
2006-12-11  David Smith  <dsmith@redhat.com>

* hash.cxx (find_hash): Fixed a caching bug.  Bulk mode (relayfs)
status should be figured into the hash since it changes the
generated C code.

17 years agopatch of nfs, nfs_proc, rpc tapsets for 2.6.9 kernel
guanglei [Mon, 11 Dec 2006 09:53:34 +0000 (09:53 +0000)]
patch of nfs, nfs_proc, rpc tapsets for 2.6.9 kernel

17 years ago2006-12-08 Josh Stone <joshua.i.stone@intel.com>
jistone [Sat, 9 Dec 2006 02:03:58 +0000 (02:03 +0000)]
2006-12-08  Josh Stone  <joshua.i.stone@intel.com>

PR 3681.
* staptree.h (struct vardecl): Add a literal 'init' member for the
initialization value of globals.
* staptree.cxx (vardecl::vardecl): Initialize 'init' to NULL.
(vardecl::print): Print global init value during pass-1 output.
* main.cxx (printscript): Print global init values during verbose
pass-2 output.
* parse.cxx (parser::parse_global): Set the initialization literal of
global vardecls.
* translate.cxx (var::init): Don't unconditionally override the value
of numeric globals when the module_param isn't used.
(c_unparser::emit_global_param): Write numeric module_params directly
into the global variable, as an int64_t instead of long.
(c_unparser::emit_global): Add initialization to global declarations.
Don't create a temp module_param long for numeric globals anymore.

runtime/
* runtime.h (param_set_int64_t, param_get_int64_t,
param_check_int64_t): New functions to allow taking module parameters
directly as int64_t values.

testsuite/
* systemtap.base/global_init.exp, systemtap.base/global_init.stp: New
test for checking the timeliness of global initialization.

17 years ago2006-12-07 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 8 Dec 2006 02:38:05 +0000 (02:38 +0000)]
2006-12-07  Josh Stone  <joshua.i.stone@intel.com>

PR 3624.
* stapprobes.5.in: Document the new begin/end syntax.

17 years ago2006-12-07 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 8 Dec 2006 02:17:09 +0000 (02:17 +0000)]
2006-12-07  Josh Stone  <joshua.i.stone@intel.com>

PR 3624.
* tapsets.cxx (struct be_derived_probe): Add a new priority parameter
for begin/end probes, and a comparison function for sorting.
(be_builder::build): Parse the priority & pass it to be_derived_probe.
(be_derived_probe_group::emit_module_init, emit_module_exit): Sort the
probe list by priority before emitting any code.
(register_standard_tapsets): Add new begin/end variants.
* parse.cxx (parser::parse_literal): Allow negative numeric literals,
by checking for a '-' unary operator right before a number.

testsuite/
* systemtap.base/be_order.exp, systemtap.base/be_order.stp,
semok/beginend.stp:  New tests for begin/end priorities.

* lib/stap_run.exp: Anchor OUTPUT_CHECK_STRING to the end of output.
* systemtap.base/maxactive.exp: Fix to compare output to the end.
* systemtap.base/probefunc.exp: Ditto.
* systemtap.samples/ioblocktest.exp: Ditto.
* systemtap.samples/ioblocktest.stp: Ditto.
* systemtap.samples/tcptest.exp: Ditto.

17 years ago2006-12-06 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 7 Dec 2006 03:01:42 +0000 (03:01 +0000)]
2006-12-06  Josh Stone  <joshua.i.stone@intel.com>

PR 3623.
* tapsets.cxx (timer_derived_probe_group::emit_module_decls): Restart
the timers if we are in STARTING or RUNNING state.
(hrtimer_derived_probe_group::emit_module_decls): Ditto.
(be_derived_probe_group::emit_module_init): indicate error to the rest
of the initialization if any begin probes fail.
* translate.cxx (c_unparser::emit_module_init): Set the global error
state on an initialization error so timers know to shut down.

runtime/
* time.c (stp_timer_reregister): Add a global to control whether the
gettimeofday timer should restart itself, for clean shutdown.
(__stp_time_timer_callback): Check the global.
(_stp_kill_time, _stp_init_time): Set the global.
(_stp_gettimeofday_ns): Switch to preempt_enable_no_resched.

* time.c (__stp_time_cpufreq_callback): Use the cpu# from the notifier.
(_stp_init_time): No need to disable preemption around cpufreq init.

17 years ago2006-12-05 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 6 Dec 2006 17:13:47 +0000 (17:13 +0000)]
2006-12-05  Frank Ch. Eigler  <fche@redhat.com>

PR 3648
* main.cxx (main): Tweak error message for tapset script execution.
Also catch those clever rogues who use stdin.

17 years ago2006-12-04 Martin Hunt <hunt@redhat.com>
hunt [Mon, 4 Dec 2006 19:19:04 +0000 (19:19 +0000)]
2006-12-04  Martin Hunt  <hunt@redhat.com>

* bench2/bench.rb: Fixes for the latest runtime
changes.

17 years agoAlways include sym.c
hunt [Mon, 4 Dec 2006 19:14:57 +0000 (19:14 +0000)]
Always include sym.c

17 years ago* thanks to riel and viro, cleared up task_struct vs thread_info misunderstanding
fche [Fri, 1 Dec 2006 04:25:15 +0000 (04:25 +0000)]
* thanks to riel and viro, cleared up task_struct vs thread_info misunderstanding

17 years ago2006-11-30 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 30 Nov 2006 21:09:54 +0000 (21:09 +0000)]
2006-11-30  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (common_probe_entryfn_prologue): Tweak
insufficient stack detection logic.

17 years ago2006-11-30 Martin Hunt <hunt@redhat.com>
hunt [Thu, 30 Nov 2006 16:31:23 +0000 (16:31 +0000)]
2006-11-30  Martin Hunt  <hunt@redhat.com>

* systemtap.samples/pfaults.exp: Fix regular expression
to handle buffering issues that broke on MP systems.

17 years ago2006-11-30 David Smith <dsmith@redhat.com>
dsmith [Thu, 30 Nov 2006 16:09:09 +0000 (16:09 +0000)]
2006-11-30  David Smith  <dsmith@redhat.com>

* main.cxx (printscript): Prints global embedded code.  Not
printing the global embedded code was causing bad caching
behavior.

17 years ago2006-11-29 David Smith <dsmith@redhat.com>
dsmith [Wed, 29 Nov 2006 19:19:36 +0000 (19:19 +0000)]
2006-11-29  David Smith  <dsmith@redhat.com>

* tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
'add_block' member variable.  Constructor sets it to NULL.
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Fixes the
problem of accessing a cached target variable in a loop.  Cached
target variable is assigned to a temporary variable, which can be
safely access multiple times.  In addition, the cached value is
deleted after being read.
(dwarf_derived_probe::dwarf_derived_probe): Adds in the new block
of code created in visit_target_symbol() to the beginning of the
derived probe.

17 years agoscheduler.stp, vfs.stp: made idle_balance and buffer_migrate_page optinal.
guanglei [Wed, 29 Nov 2006 09:49:08 +0000 (09:49 +0000)]
scheduler.stp, vfs.stp: made idle_balance and buffer_migrate_page optinal.

17 years agobugfix for lket testcase.
guanglei [Wed, 29 Nov 2006 07:12:53 +0000 (07:12 +0000)]
bugfix for lket testcase.

new testcase of whitelist for safe probes

17 years ago2006-11-28 David Smith <dsmith@redhat.com>
dsmith [Tue, 28 Nov 2006 21:21:53 +0000 (21:21 +0000)]
2006-11-28  David Smith  <dsmith@redhat.com>

        * semko/thirtyfour.stp: Checks for writing to target variable in
        .return probe.
        * semok/twentyfour.stp: Tests read access to target variable in
        .return probe.

17 years ago2006-11-28 David Smith <dsmith@redhat.com>
dsmith [Tue, 28 Nov 2006 19:47:17 +0000 (19:47 +0000)]
2006-11-28  David Smith  <dsmith@redhat.com>

        * tapsets.cxx
        (dwarf_var_expanding_copy_visitor::visit_target_symbol):
        Improved handling target variables in return probes by having a
        per-thread counter.

17 years ago2006-11-26 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 26 Nov 2006 23:28:15 +0000 (23:28 +0000)]
2006-11-26  Frank Ch. Eigler  <fche@redhat.com>

PRs 2685, 3596, toward 2725.
* tapsets.cxx (common_probe_entryfn_prologue): Skip probe on
insufficient stack.
(build_blacklist): Add a slew of lock-related calls.
(query_module): Check for debuginfo architecture match.
* translate.cxx (translate_pass): Add default MINSTACKSPACE.
* configure.ac: Link stap with -lebl too.
* configure: Regenerated.
* stap.1.in: Document MINSTACKSPACE parameter.

17 years ago* correct elfutils requirement message
fche [Thu, 23 Nov 2006 20:07:04 +0000 (20:07 +0000)]
* correct elfutils requirement message

17 years ago* remove refs to dprobes & elfutils man pages
fche [Wed, 22 Nov 2006 16:58:30 +0000 (16:58 +0000)]
* remove refs to dprobes & elfutils man pages

17 years ago2006-11-21 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 21 Nov 2006 19:03:39 +0000 (19:03 +0000)]
2006-11-21  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (emit_module_init): Adapt to 2.6.19 utsname().

17 years ago2006-11-21 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 21 Nov 2006 16:48:05 +0000 (16:48 +0000)]
2006-11-21  Frank Ch. Eigler  <fche@elastic.org>

PR 3556.
* translate.cxx (emit_module_init): Emit code to check
system_utsname against translate-time version/machine strings.

17 years agoskip warning message of skipped probes for lket testcase
guanglei [Tue, 21 Nov 2006 09:26:39 +0000 (09:26 +0000)]
skip warning message of skipped probes for lket testcase

17 years agoadd LKET testcase into testsuite/systemtap.samples/
guanglei [Tue, 21 Nov 2006 08:14:27 +0000 (08:14 +0000)]
add LKET testcase into testsuite/systemtap.samples/

change the return codes of lket-b2a and add a new macro b2a_error() for error
reporting

17 years ago2006-11-20 David Smith <dsmith@redhat.com>
dsmith [Mon, 20 Nov 2006 22:44:49 +0000 (22:44 +0000)]
2006-11-20  David Smith  <dsmith@redhat.com>

* tapsets.cxx
(dwarf_var_expanding_copy_visitor::visit_target_symbol):  BZ
1382.  Target variables can be accessed in return probes.  A new
function entry probe is generated that saves the target variables
so that they can be accesssed in the return probe.

17 years ago2006-11-20 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 20 Nov 2006 22:09:01 +0000 (22:09 +0000)]
2006-11-20  Frank Ch. Eigler  <fche@elastic.org>

* context.stp (caller_addr): Declare return type.

17 years agoreturn value changes for lket-b2a
guanglei [Mon, 20 Nov 2006 09:18:17 +0000 (09:18 +0000)]
return value changes for lket-b2a

17 years ago2006-11-19 Frank Ch. Eigler <fche@elastic.org>
fche [Sun, 19 Nov 2006 19:39:35 +0000 (19:39 +0000)]
2006-11-19  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (main): Signal parse error if a tapset script
is given as the user script.

17 years agobugfix for #3526:
guanglei [Sun, 19 Nov 2006 07:22:47 +0000 (07:22 +0000)]
bugfix for #3526:
  runtime/lket/b2a/lket_b2a.[ch]: bugfix for #3536
  lket_trace.stp: add the logging of pid, ppid
  process.stp: add logging of tid, ppid for lket_internal.process.execve.
       Change to use for_each_process() in process_snapshot() to get
       the info of all running processes.
  register_event.stp: update the registering codes of execve event.

17 years ago2006-11-17 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 17 Nov 2006 20:35:46 +0000 (20:35 +0000)]
2006-11-17  Frank Ch. Eigler  <fche@redhat.com>

* tapsets.cxx (d_v_e_c_v::visit_target_symbol): Restore lost
exception-saving functionality that improves error messages
for incorrect $target expressions.
(translate_components): Systematize error messages somewhat.
* translate.cxx (emit_function, emit_probe): Clarify
"array locals" error message.

2006-11-17  Frank Ch. Eigler  <fche@redhat.com>

* semko/thirtysix.stp, transko/three.stp: New tests.

17 years agoadd addevent.process.exit.entry
guanglei [Fri, 17 Nov 2006 09:48:28 +0000 (09:48 +0000)]
add addevent.process.exit.entry

17 years agoadd a pass 4 check for LKET available trace hooks
guanglei [Thu, 16 Nov 2006 10:05:23 +0000 (10:05 +0000)]
add a pass 4 check for LKET available trace hooks

17 years ago*** empty log message ***
hunt [Wed, 15 Nov 2006 18:38:20 +0000 (18:38 +0000)]
*** empty log message ***

17 years ago2006-11-15 Martin Hunt <hunt@redhat.com>
hunt [Wed, 15 Nov 2006 17:54:56 +0000 (17:54 +0000)]
2006-11-15  Martin Hunt  <hunt@redhat.com>

* symbols.c (do_kernel_symbols): Add sizeof(long) to sym_base
to preserve 64-bit alignment.

17 years ago2006-11-15 Martin Hunt <hunt@redhat.com>
hunt [Wed, 15 Nov 2006 17:54:13 +0000 (17:54 +0000)]
2006-11-15  Martin Hunt  <hunt@redhat.com>

* procfs.c (_stp_proc_write_cmd): For STP_SYMBOLS,
type field is a long to preserve alignment.
Use STP_ALLOC_FLAGS.

* symbols.c: Use STP_ALLOC_FLAGS.

17 years ago2006-11-15 Martin Hunt <hunt@redhat.com>
hunt [Wed, 15 Nov 2006 17:52:23 +0000 (17:52 +0000)]
2006-11-15  Martin Hunt  <hunt@redhat.com>

* alloc.c (STP_ALLOC_FLAGS): Define.
Cleanup ifdefs.
* map.c: Use STP_ALLOC_FLAGS.
* stat.c: ditto.

17 years agouse c global variables instead of stap global variables to avoid better performance...
guanglei [Wed, 15 Nov 2006 09:38:07 +0000 (09:38 +0000)]
use c global variables instead of stap global variables to avoid better performance(unfinished).
visit members in scripts for better safety check

17 years agobug 3507
guanglei [Mon, 13 Nov 2006 08:23:50 +0000 (08:23 +0000)]
bug 3507

replace all minus signs used in man page with \-

17 years agoregister_event.stp:
guanglei [Sat, 11 Nov 2006 01:31:46 +0000 (01:31 +0000)]
register_event.stp:
pass integer values explicitly as 64-bit into _lket_trace() to avoid error when parse va-arg by _stp_printf

17 years ago2006-11-10 David Smith <dsmith@redhat.com>
dsmith [Fri, 10 Nov 2006 19:59:02 +0000 (19:59 +0000)]
2006-11-10  David Smith  <dsmith@redhat.com>

* tapsets.cxx
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Minor
improvement to error handling by throwing exceptions before
allocations are done.

17 years ago2006-11-10 David Smith <dsmith@redhat.com>
dsmith [Fri, 10 Nov 2006 16:51:10 +0000 (16:51 +0000)]
2006-11-10  David Smith  <dsmith@redhat.com>

* semko/maxactive03.stp: Stop on pass2 instead of on pass1.

* lib/stap_run.exp: As a side-effect, stap_run() sets global
'probe_errors' and 'skipped_probes' to the number of probe errors
and skipped probes seen while running the probe.
* systemtap.base/maxactive.exp: Uses extended stap_run() to find
number of skipped probes instead of using private stap_run()
variant.

17 years ago2006-11-10 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 10 Nov 2006 15:17:43 +0000 (15:17 +0000)]
2006-11-10  Frank Ch. Eigler  <fche@elastic.org>

* stap.1.in: On urging of Adam Jackson, add blurbs on array syntax
and default limits.

This page took 0.06586 seconds and 5 git commands to generate.