]> sourceware.org Git - systemtap.git/log
systemtap.git
17 years agobugfix of NFS event register codes for LKET
guanglei [Fri, 10 Nov 2006 10:01:21 +0000 (10:01 +0000)]
bugfix of NFS event register codes for LKET

bugfix of lket-b2a

17 years agotapset/LKET/iosyscall.stp:
guanglei [Fri, 10 Nov 2006 07:39:32 +0000 (07:39 +0000)]
tapset/LKET/iosyscall.stp:
  add some trace aliases

tapset/LKET/register_event.stp:
register sys events in embedded c codes for stap to better optimize the generated codes

Update LKET man page accordingly

17 years agotransport/procfs.c:
guanglei [Fri, 10 Nov 2006 05:01:07 +0000 (05:01 +0000)]
transport/procfs.c:
bugfix of the obsolete buf_info and consumed_info.

17 years ago2006-11-09 Martin Hunt <hunt@redhat.com>
hunt [Thu, 9 Nov 2006 18:26:00 +0000 (18:26 +0000)]
2006-11-09  Martin Hunt  <hunt@redhat.com>
* Makefile.am (staprun_LDADD): Need PROCFLAGS here too.

17 years ago*** empty log message ***
hunt [Thu, 9 Nov 2006 18:07:25 +0000 (18:07 +0000)]
*** empty log message ***

17 years ago2006-11-09 Martin Hunt <hunt@redhat.com>
hunt [Thu, 9 Nov 2006 18:01:31 +0000 (18:01 +0000)]
2006-11-09  Martin Hunt  <hunt@redhat.com>

* Makefile.am (staprun_CFLAGS): New. Use PROCFLAGS.
* configure.ac: Add PROCFLAGS. Processor-dependent
compilation flags.
* configure: Rebuilt.
* Makefile.in: Rebuilt.

17 years ago2006-11-09 Martin Hunt <hunt@redhat.com>
hunt [Thu, 9 Nov 2006 17:57:40 +0000 (17:57 +0000)]
2006-11-09  Martin Hunt  <hunt@redhat.com>

* transport_msgs.h: Change all ints to int32_t. Prefix
all struct names with "_stp".
* transport.c: Use new struct names.
(_stp_handle_start): Send pointer size and endianess.
* procfs.c: Use new struct names.

17 years ago2006-11-09 Martin Hunt <hunt@redhat.com>
hunt [Thu, 9 Nov 2006 17:53:41 +0000 (17:53 +0000)]
2006-11-09  Martin Hunt  <hunt@redhat.com>

* librelay.c: Change all references to transport messages
to use the new names with "_stp" prefix.
(stp_main_loop): For STP_SYMBOLS, check pointer size and
endianess to confirm staprun is compatible with the kernel.

* librelay.h: Move a bunch of common includes here.
* stpd.c: Cleanup includes.
* symbols.c: Ditto.

17 years ago2006-11-09 Martin Hunt <hunt@redhat.com>
hunt [Thu, 9 Nov 2006 17:48:21 +0000 (17:48 +0000)]
2006-11-09  Martin Hunt  <hunt@redhat.com>

* sym.h: Change int to int32_t.

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

* buildok/maxactive01.stp: Added test for "maxactive(N)"
return probe processing.
* parseko/maxactive01.stp: Ditto.
* parseko/maxactive02.stp: Ditto.
* parseko/maxactive03.stp: Ditto.
* parseko/maxactive04.stp: Ditto.
* semko/maxactive01.stp: Ditto.
* semko/maxactive02.stp: Ditto.
* semko/maxactive03.stp: Ditto.
* systemtap.base/maxactive.exp: Ditto.

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

* tapsets.cxx (dwarf_query::dwarf_query): Looks for "maxactive"
return probe variant.
(dwarf_derived_probe::dwarf_derived_probe): Initializes
has_maxactive and maxactive_val member variables.
(dwarf_derived_probe::register_function_variants): Matches
"maxactive" return probe variant.
(dwarf_derived_probe_group::emit_module_decls): Emits code to use
maxactive data.
(dwarf_derived_probe_group::emit_module_init): Ditto.

17 years agoadd options for lket-b2a to control the output data fields of lket.out.
guanglei [Thu, 9 Nov 2006 12:19:22 +0000 (12:19 +0000)]
add options for lket-b2a to control the output data fields of lket.out.

make fork/execce trace hooks lket internally and turned on by default.
add stoptrace_fork and stoptrace_execve flags for lket to control
stopping fork/execve in user scripts.

update lket-b2a and lket man page.

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

* cache.cxx (get_from_cache): To preserve semantics with
non-cached use, if the last pass is 3, display the cached C
source.

17 years ago2006-11-08 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 8 Nov 2006 18:31:01 +0000 (18:31 +0000)]
2006-11-08  Frank Ch. Eigler  <fche@elastic.org>

* staptree.cxx (print_format::components_to_string): Quote ".
(c_unparser::visit_print_format): Don't use lex_cast_qstring
as it overdoes \ quoting.  Resemble ::visit_literal_string
instead.

17 years ago2006-11-08 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 8 Nov 2006 17:51:32 +0000 (17:51 +0000)]
2006-11-08  Frank Ch. Eigler  <fche@elastic.org>

* util.h (lex_cast_qstring): Move def'n here.  Also quote \.
(stringify, lex_cast, lex_cast_hex): Move defn here.
* buildrun.cxx, elaborate.cxx, main.cxx, staptree.cxx: Adapt.

17 years agoremove runtime/lket/b2a/README
guanglei [Wed, 8 Nov 2006 09:05:18 +0000 (09:05 +0000)]
remove runtime/lket/b2a/README

17 years ago* correct cvs checkout command line
fche [Tue, 7 Nov 2006 22:04:03 +0000 (22:04 +0000)]
* correct cvs checkout command line

17 years ago2006-11-07 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 7 Nov 2006 21:46:13 +0000 (21:46 +0000)]
2006-11-07  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (profile_derived_probe_group::emit_module_decls):
Pass along incoming pt_regs to context of timer.profile handlers.

17 years agosignal.stp, memory.stp:
guanglei [Tue, 7 Nov 2006 09:26:24 +0000 (09:26 +0000)]
signal.stp, memory.stp:
make do_mmap2, copy_cow_page and signal.handle.return optional since they are obsolete
or failed to probe on 2.6.18.1/ppc64

17 years agoupdate cscope.files
guanglei [Tue, 7 Nov 2006 06:28:55 +0000 (06:28 +0000)]
update cscope.files

17 years ago2006-11-06 David Smith <dsmith@redhat.com>
dsmith [Mon, 6 Nov 2006 19:08:43 +0000 (19:08 +0000)]
2006-11-06  David Smith  <dsmith@redhat.com>

* systemtap.maps/foreach_limit.exp: Added new test for foreach
"limit" keyword.
* systemtap.maps/foreach_limit.stp: Ditto.

17 years ago2006-11-06 Martin Hunt <hunt@redhat.com>
hunt [Mon, 6 Nov 2006 19:04:04 +0000 (19:04 +0000)]
2006-11-06  Martin Hunt  <hunt@redhat.com>

* translate.cxx (var::init): Check for errors when
allocating arrays of stats, as well as other arrays.

17 years ago2006-11-06 David Smith <dsmith@redhat.com>
dsmith [Mon, 6 Nov 2006 16:18:18 +0000 (16:18 +0000)]
2006-11-06  David Smith  <dsmith@redhat.com>

* parseko/foreachstmt06.stp: Added new test for foreach "limit"
keyword.
* parseko/foreachstmt07.stp: Ditto.
* parseok/foreachstmt01.stp: Ditto.
* semko/foreachstmt01.stp: Ditto.
* semko/foreachstmt02.stp: Ditto.

17 years ago2006-11-06 David Smith <dsmith@redhat.com>
dsmith [Mon, 6 Nov 2006 16:05:50 +0000 (16:05 +0000)]
2006-11-06  David Smith  <dsmith@redhat.com>

Added "limit EXP" support to foreach statements.
* translate.cxx (c_tmpcounter::visit_foreach_loop): Handles
"limit" member variable.
(c_unparser::visit_foreach_loop): Ditto.
* staptree.cxx (foreach_loop::print): Prints "limit EXP"
addition.
(traversing_visitor::visit_foreach_loop): Handles "limit" member
variable.
(deep_copy_visitor::visit_foreach_loop): Ditto.
* staptree.h (struct foreach_loop): Added "limit" member
variable.
* stap.1.in: Added documentation for the "limit EXP" addition to
foreach statement.
* parse.cxx (lexer::scan): Added "limit" keyword for foreach
statements.
(parser::parse_foreach_loop): Parses "limit" keyword for foreach
statements.
* elaborate.cxx (symresolution_info::visit_foreach_loop): Handles
"limit" member variable.
(typeresolution_info::visit_foreach_loop): Ditto.

17 years ago* a question for hunt
fche [Mon, 6 Nov 2006 15:31:22 +0000 (15:31 +0000)]
* a question for hunt

17 years ago2006-11-03 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 3 Nov 2006 23:34:28 +0000 (23:34 +0000)]
2006-11-03  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (emit_address): Emit calls to _stp_module_relocate
for $target-variable addresses in relocatable sections.

17 years agoRemoved refs to dtrace, to which we were giving undue credit in terms of
kenistoj [Thu, 2 Nov 2006 23:03:09 +0000 (23:03 +0000)]
Removed refs to dtrace, to which we were giving undue credit in terms of
"inspiration."

17 years ago*** empty log message ***
hunt [Thu, 2 Nov 2006 19:28:29 +0000 (19:28 +0000)]
*** empty log message ***

17 years ago 2006-11-02 Thang Nguyen <thang.p.nguyen@intel.com>
tpnguyen [Thu, 2 Nov 2006 19:03:03 +0000 (19:03 +0000)]
2006-11-02  Thang Nguyen <thang.p.nguyen@intel.com>
* systemtap.samples/tcptest.exp:  Put TCP load gen into a
a seperate script.
* systemtap.samples/tcptest.tcl:  new script for TCP load
gen.

17 years ago2006-11-02 Martin Hunt <hunt@redhat.com>
hunt [Thu, 2 Nov 2006 18:42:56 +0000 (18:42 +0000)]
2006-11-02  Martin Hunt  <hunt@redhat.com>
* symbols.c (_stp_do_module): Fix error message.

17 years agoNew dynamic module and symbol handling code.
hunt [Thu, 2 Nov 2006 18:37:00 +0000 (18:37 +0000)]
New dynamic module and symbol handling code.

17 years ago2006-11-02 Martin Hunt <hunt@redhat.com>
hunt [Thu, 2 Nov 2006 18:21:53 +0000 (18:21 +0000)]
2006-11-02  Martin Hunt  <hunt@redhat.com>

* io.c (_stp_vlog, _stp_dbug):  Make first parameter const.
* runtime.h: Update prototype for _stp_dbug.

17 years ago2006-11-02 David Smith <dsmith@redhat.com>
dsmith [Thu, 2 Nov 2006 17:27:43 +0000 (17:27 +0000)]
2006-11-02  David Smith  <dsmith@redhat.com>

* main.cxx (main): Added '-r' check.  If the user changes the
kernel release to compile against, make sure pass 5 isn't
performed (since the resulting module won't be installable).

17 years ago2006-11-02 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 2 Nov 2006 17:04:46 +0000 (17:04 +0000)]
2006-11-02  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am: Install tapset/README too.
* Makefile.in: Regenerated.

2006-11-02  Frank Ch. Eigler  <fche@elastic.org>

* README: Add a blurb against running these scripts directly.

17 years agoFix an indentation glitch.
jistone [Wed, 1 Nov 2006 23:41:48 +0000 (23:41 +0000)]
Fix an indentation glitch.

17 years ago2006-11-01 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 1 Nov 2006 23:29:51 +0000 (23:29 +0000)]
2006-11-01  Josh Stone  <joshua.i.stone@intel.com>

* tapsets.cxx (timer_derived_probe_group::emit_interval): New -
Fixes randomization for jiffies timers in ms mode.
(timer_derived_probe_group::emit_module_decls): Use emit_interval.
(timer_derived_probe_group::emit_module_init): Ditto.

17 years ago2006-11-01 <dsmith@redhat.com>
dsmith [Wed, 1 Nov 2006 18:21:04 +0000 (18:21 +0000)]
2006-11-01    <dsmith@redhat.com>

* translate.cxx (delete_statement_operand_visitor::visit_symbol):
Added referent assert.
(delete_statement_operand_tmp_visitor::visit_arrayindex): Ditto.
(c_tmpcounter::visit_array_in): Ditto.
(c_unparser::visit_symbol): Ditto.
(c_unparser_assignment::visit_symbol): Ditto.
(c_unparser::load_map_indices): Ditto.
(c_tmpcounter::visit_arrayindex): Ditto.
(c_tmpcounter_assignment::visit_arrayindex): Ditto.
(c_tmpcounter::visit_functioncall): Ditto.
(c_unparser::visit_functioncall): Ditto.

17 years ago2006-10-31 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 1 Nov 2006 01:55:59 +0000 (01:55 +0000)]
2006-10-31  Frank Ch. Eigler  <fche@redhat.com>

Probe registration rework.  Offline dwarf processing for better
cross-instrumentation.
* elaborate.h (derived_probe): Remove registration-related code
generation API.  Add new function sole_location().
(derived_probe_group): Reworked this and associated classes.
* session.h (systemntap_session): Create individual per-category
derived_probe_groups.
* elaborate.cxx (derived_probe_group): Reworked.
(alias_derived_probe): Switch to new derived_probe API.
(semantic_pass_symbols): Ditto.
* translate.cxx (mapvar init): Check for array initialization error.
(emit_module_init): Handle such failures, at least in theory.
(emit_module_exit): Switch to new derived_probe_group API.  Call
cpu_relax() during shutdown busywait.
(emit_common_header): Elide context variables for elided handler fns.
(c_unparser::emit_probe): Implement new, improved duplicate
elimination technique for probe handlers.  Leave two older ones
behind as compile options for education.
* tapsets.cxx (*): Reworked all probe registration code, moving
it from derived_probes into derived_probe_groups.  Shrunk output
code.  Temporarily disabled probe timing and perfmon/mark probes.
(dwflpp): Use offline reporting, so that module matching and
relocation is performed at run time.
(dwarf_query): Remove flavour logic, now supplanted by other
duplicate elimination code.
(dwarf_derived_probe): Reworked construction, centralized
module/section/offset computations.
* tapsets.h (all_session_groups): New little helper.

* main.cxx (main): For pass-2 message, print number of embeds too.
* systemtap.spec.in: Add a "BuildRequires: dejagnu" for make check.
* configure.ac: Bump version to 0.5.11.
* configure: Regenerated.

17 years agoupdate lket.5.in to add more details and re-arrange the sections.
guanglei [Tue, 31 Oct 2006 07:41:41 +0000 (07:41 +0000)]
update lket.5.in to add more details and re-arrange the sections.
modify tapsets/LKET/register_events to change the event_desc strings

17 years ago2006-10-30 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 30 Oct 2006 23:06:45 +0000 (23:06 +0000)]
2006-10-30  Josh Stone  <joshua.i.stone@intel.com>

* systemtap.base/timers.stp: Fudge the comparison a bit between
jiffies(1) and profile to allow for slop between start/end times.

17 years ago2006-10-30 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 30 Oct 2006 20:26:43 +0000 (20:26 +0000)]
2006-10-30  Josh Stone  <joshua.i.stone@intel.com>

* systemtap.maps/pmap_agg_overflow.stp: Use
kernel.function("scheduler_tick") instead of timer.jiffies
so the test works on all kernels.  The test needs a probe
that is invoked often on all cpus.

17 years ago2006-10-30 Martin Hunt <hunt@redhat.com>
hunt [Mon, 30 Oct 2006 15:28:49 +0000 (15:28 +0000)]
2006-10-30  Martin Hunt  <hunt@redhat.com>

* systemtap.maps/pmap_agg_overflow.stp: Use timer.jiffies
instead of timer.profile so the test works on xen kernels.

17 years ago2006-10-30 David Smith <dsmith@redhat.com>
dsmith [Mon, 30 Oct 2006 15:27:48 +0000 (15:27 +0000)]
2006-10-30  David Smith  <dsmith@redhat.com>

* stap.1.in: Added notes about new caching feature.

17 years ago2006-10-30 David Smith <dsmith@redhat.com>
dsmith [Mon, 30 Oct 2006 15:24:44 +0000 (15:24 +0000)]
2006-10-30  David Smith  <dsmith@redhat.com>

* systemtap.base/cache.exp: Saves value of SYSTEMTAP_DIR
environment variable before starting tests and restores value at
the end.  Without this caching was broken for the rest of the
testsuite, since all cached files were ending up in
testsuite/.cache_test (which gets deleted on the next run of the
testsuite).

* Makefile.am: The 'clean-local' target now removes the .systemtap
and .cache_test directories.
* Makefile.in: Regenerated.

17 years ago2006-10-30 Martin Hunt <hunt@redhat.com>
hunt [Mon, 30 Oct 2006 15:12:48 +0000 (15:12 +0000)]
2006-10-30  Martin Hunt  <hunt@redhat.com>

* systemtap.base/cache.exp (stap_compile): Fix a simple
buffering problem with expect.

17 years ago 2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>
tpnguyen [Sun, 29 Oct 2006 15:40:57 +0000 (15:40 +0000)]
2006-10-29  Thang Nguyen <thang.p.nguyen@intel.com>
* context.stp: Added proper handling of statement
* probe in probefunc() for IA64 (bz# 3423)

17 years ago 2006-10-27 Thang Nguyen <thang.p.nguyen@intel.com>
tpnguyen [Fri, 27 Oct 2006 23:55:12 +0000 (23:55 +0000)]
2006-10-27  Thang Nguyen <thang.p.nguyen@intel.com>

* runtime/regs.c: patch from Bibo Mao for fixing the return
value on IA64 (bz #3404).

17 years ago2006-10-27 Martin Hunt <hunt@redhat.com>
hunt [Fri, 27 Oct 2006 19:06:02 +0000 (19:06 +0000)]
2006-10-27  Martin Hunt  <hunt@redhat.com>

* test.exp, test.tcl: Remove our own caching code
and just use systemtap's new caching.

* acct.c (main): Make pattern less selective so
it works when run by root.

17 years ago2006-10-26 David Smith <dsmith@redhat.com>
dsmith [Thu, 26 Oct 2006 14:43:13 +0000 (14:43 +0000)]
2006-10-26  David Smith  <dsmith@redhat.com>

* systemtap.base/cache.exp: New file that tests caching
functionality.
* lib/systemtap.exp (setup_systemtap_environment): Use a local
systemtap directory/cache (instead of the user's cache).
* .cvsignore: Added .systemtap directory.

17 years ago2006-10-24 David Smith <dsmith@redhat.com>
dsmith [Tue, 24 Oct 2006 14:55:23 +0000 (14:55 +0000)]
2006-10-24  David Smith  <dsmith@redhat.com>

* tapsets.cxx (build_blacklist): Added
"atomic_notifier_call_chain" to the blacklist (Bugzilla #3379).

17 years agoadd reference to lket-b2a in lket's man page
guanglei [Tue, 24 Oct 2006 07:53:57 +0000 (07:53 +0000)]
add reference to lket-b2a in lket's man page

17 years agosync lket-b2a with LKET hookid rearrangement
guanglei [Tue, 24 Oct 2006 07:47:47 +0000 (07:47 +0000)]
sync lket-b2a with LKET hookid rearrangement

17 years ago2006-10-23 David Smith <dsmith@redhat.com>
dsmith [Mon, 23 Oct 2006 22:09:51 +0000 (22:09 +0000)]
2006-10-23  David Smith  <dsmith@redhat.com>

* main.cxx (printscript): New function containing code moved from
main().
(main): Added code to create cache directory, call function to
generate hash, and see if we can use cached source/module.  If
pass 4 is actually run to produce a new module, we call
add_to_cache() to cache the result.
* session.h (struct systemtap_session): Added hash/cache session
data.
* cache.cxx: New file handling adding/getting files from the
cache.
* cache.h: New header file for cache.cxx.
* hash.cxx: New file containing C++ wrapper for routines in
mdfour.c and the find_hash function which computes the hash file
name for an input script.
* hash.h: New header file for hash.cxx.
* mdfour.c: New file containing MD4 hash code.
* mdfour.h: New header file for mdfour.c.
* util.cxx: New file containing several utility functions used by
the caching code.
* util.h: New header file for util.cxx.
* Makefile.am: Added new C/C++ files.
* Makefile.in: Regenerated.

17 years ago2006-10-23 David Smith <dsmith@redhat.com>
dsmith [Mon, 23 Oct 2006 22:08:42 +0000 (22:08 +0000)]
2006-10-23  David Smith  <dsmith@redhat.com>

* lib/stap_run.exp: Handles cached module.
* lib/stap_run2.exp: Ditto.

17 years ago2006-10-23 David Smith <dsmith@redhat.com>
dsmith [Mon, 23 Oct 2006 22:08:10 +0000 (22:08 +0000)]
2006-10-23  David Smith  <dsmith@redhat.com>

* test.exp (test_procedure): Handles cached module.

17 years agoIncrease timeout for slow machines.
wcohen [Mon, 23 Oct 2006 16:23:37 +0000 (16:23 +0000)]
Increase timeout for slow machines.

17 years agotapset/LKET/register_event.stp: changes of variable name and checking for
guanglei [Mon, 23 Oct 2006 13:36:51 +0000 (13:36 +0000)]
tapset/LKET/register_event.stp: changes of variable name and checking for
user registered events

17 years agoNew man page for lket-b2a
guanglei [Mon, 23 Oct 2006 09:50:57 +0000 (09:50 +0000)]
New man page for lket-b2a

Document signal trace hooks into lket man page

bugfix of lket-b2a for event description data insert

17 years ago 2006-10-21 Thang Nguyen <thang.p.nguyen@intel.com>
tpnguyen [Sat, 21 Oct 2006 16:04:40 +0000 (16:04 +0000)]
2006-10-21  Thang Nguyen <thang.p.nguyen@intel.com>

* systemtap.samples/tcptest.exp: fix bug #3404
* systemtap.samples/tcptest.stp: fix bug #3404

17 years agoChange warning message from configure for mysql
guanglei [Fri, 20 Oct 2006 09:41:15 +0000 (09:41 +0000)]
Change warning message from configure for mysql

17 years agoAdding s390x support release-0.5.10
dwilder [Thu, 19 Oct 2006 18:37:15 +0000 (18:37 +0000)]
Adding s390x support

17 years ago.
roland [Wed, 18 Oct 2006 21:24:05 +0000 (21:24 +0000)]
.

17 years ago2006-10-18 Roland McGrath <roland@redhat.com>
roland [Wed, 18 Oct 2006 21:23:53 +0000 (21:23 +0000)]
2006-10-18  Roland McGrath  <roland@redhat.com>

PR 2727
* configure.ac (elfutils build): Pass --prefix and --exec-prefix
options to elfutils configure.
(elfutils_abs_srcdir): New substituted variable.
* Makefile.am (DISTCHECK_CONFIGURE_FLAGS): New variable.
* configure, config.in, Makefile.in: Regenerated.

17 years ago2006-10-18 David Smith <dsmith@redhat.com>
dsmith [Wed, 18 Oct 2006 18:06:45 +0000 (18:06 +0000)]
2006-10-18  David Smith  <dsmith@redhat.com>

* systemtap.syscall/.cvsignore: Added file.

17 years agoupdate man pages
guanglei [Wed, 18 Oct 2006 07:08:01 +0000 (07:08 +0000)]
update man pages

17 years ago* configure.ac: add the checking for mysql_config, mysqlclient library and header...
guanglei [Mon, 16 Oct 2006 08:36:35 +0000 (08:36 +0000)]
* configure.ac: add the checking for mysql_config, mysqlclient library and header files

* runtime/lket/b2a/Makefile.am: set compile flags according to the existance of mysql_config

17 years agotapset/scsi.stp:
guanglei [Mon, 16 Oct 2006 03:01:05 +0000 (03:01 +0000)]
tapset/scsi.stp:
check whether rq_disk is empty

tapset/scheduler.stp
revert changes

17 years ago* tapset/scsi.stp:
guanglei [Fri, 13 Oct 2006 10:08:30 +0000 (10:08 +0000)]
* tapset/scsi.stp:
 add more variables

* tapset/LKET/register_event.stp:
  be sync with scsi trace hooks

* tapset/LKET/scsi.stp:
 avoid reference to struct members in
 embedded c. Use stap variables as more as possible.
 break scsi_info into four variables.
 delete cmd_pid from all logging functions

17 years agoscheduler.stp:
guanglei [Fri, 13 Oct 2006 07:23:21 +0000 (07:23 +0000)]
scheduler.stp:
skip __switch_to on x86_64

17 years ago2006-10-12 Martin Hunt <hunt@redhat.com>
hunt [Fri, 13 Oct 2006 02:29:41 +0000 (02:29 +0000)]
2006-10-12  Martin Hunt  <hunt@redhat.com>

* stack-ppc64.c (__stp_stack_sprint): Declare sp before _sp.

17 years ago2006-10-12 Martin Hunt <hunt@redhat.com>
hunt [Thu, 12 Oct 2006 18:46:38 +0000 (18:46 +0000)]
2006-10-12  Martin Hunt  <hunt@redhat.com>
* context.stp (print_backtrace): Pass in new
kretprobe instance arg.
(backtrace): Ditto.
(is_return): Rewrite.
(stack_size): New.
(stack_used): New.
(stack_unused): New.
(called_addr): New.
(caller): New.

17 years ago2006-10-12 Martin Hunt <hunt@redhat.com>
hunt [Thu, 12 Oct 2006 18:30:24 +0000 (18:30 +0000)]
2006-10-12  Martin Hunt  <hunt@redhat.com>

* translate.cxx (emit_common_header): Add a
kretprobe_instance pointer to struct context.
(emit_symbol_data): Include absolute symbols.

* tapsets.cxx (emit_common_header): Initialize
the kprobe instance pointer to 0;
(emit_probe_entries): Set kretprobe instance
pointer if appropriate.

17 years agoFix comment.
hunt [Thu, 12 Oct 2006 18:20:29 +0000 (18:20 +0000)]
Fix comment.

17 years ago2006-10-12 Martin Hunt <hunt@redhat.com>
hunt [Thu, 12 Oct 2006 18:19:18 +0000 (18:19 +0000)]
2006-10-12  Martin Hunt  <hunt@redhat.com>

* stack.c: Reorganize and split arch-specific functions to
separate files.
(_stp_kta): Better checking.
(_stp_stack_sprint): Better handling of return probes.

* stack-i386.c: New file. Uses 2.6.18 DWARF unwinder if available.
* stack-x86_64.c: New file. Uses 2.6.18 DWARF unwinder if available.
* stack-ppc64.c: New file.
* stack-ia64.c: New file.

* sym.c (_stp_kallsyms_lookup_name): New function. Like
kallsyms_lookup_name() except use our internal lookup table.

17 years ago* ioscheduler.stp:
guanglei [Thu, 12 Oct 2006 08:29:10 +0000 (08:29 +0000)]
* ioscheduler.stp:
  bugfix to avoid refer to NULL pointer

* hookid_defs.stp, ioscheduler.stp, register_event.stp:
  break the old addevent.ioscheduler.elv_next_request into
  addevent.ioscheduler.elv_next_request.entry and
  addevent.ioscheduler.elv_next_request.return.
  Now log_ioscheduler_tracedata_* will use the
  variables defined in generic ioscheduler tapset

17 years ago2006-10-11 David Smith <dsmith@redhat.com>
dsmith [Wed, 11 Oct 2006 14:56:09 +0000 (14:56 +0000)]
2006-10-11  David Smith  <dsmith@redhat.com>

* tapsets.cxx (in_kprobes_function): New function that looks up
the values of '__kprobes_text_start' and '__kprobes_text_end' in
the kernel to be able to automatically exclude functions marked as
'__kprobes' (BZ# 2639).
(blacklisted_p): Calls in_kprobes_function().
(query_kernel_module): Utility function that finds the kernel module.
* session.h (struct systemtap_session): Added kprobes_text
variables - kprobes_text_initialized, kprobes_text_start, and
kprobes_text_end.
* elaborate.cxx (systemtap_session::systemtap_session):
kprobes_text variables get initialized.

17 years agobugfix of LKET/tapsets for pointer conversion on 32-bit platform
guanglei [Wed, 11 Oct 2006 03:02:16 +0000 (03:02 +0000)]
bugfix of LKET/tapsets for pointer conversion on 32-bit platform

make sys_request_key optional on i386

17 years ago.
roland [Tue, 10 Oct 2006 19:28:12 +0000 (19:28 +0000)]
.

17 years ago2006-10-10 Roland McGrath <roland@redhat.com>
roland [Tue, 10 Oct 2006 19:28:05 +0000 (19:28 +0000)]
2006-10-10  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in (elfutils_version): Require 0.124 now.

17 years agofix for transport test failure in nightly testsuite
trz [Tue, 10 Oct 2006 19:24:23 +0000 (19:24 +0000)]
fix for transport test failure in nightly testsuite

17 years ago* partial rollback of mysql code in lket/b2a until configury problems are solved
fche [Tue, 10 Oct 2006 17:40:10 +0000 (17:40 +0000)]
* partial rollback of mysql code in lket/b2a until configury problems are solved

17 years ago* runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
guanglei [Tue, 10 Oct 2006 13:42:20 +0000 (13:42 +0000)]
* runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
clean up the unused database tables and destory GTree on exit.

17 years ago* runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
guanglei [Tue, 10 Oct 2006 09:53:54 +0000 (09:53 +0000)]
* runtime/lket/b2a/lket_b2a.c, runtime/lket/b2a/lket_b2a.h:
Adding the support of automatically database creation and
dumping lket trace into mysql database

* configure.ac:
add the checking of mysql client library

* Makefile.in, configure:
regenerated

* runtime/lket/b2a/Makefile.am:
add the checking and optional compiling for mysql client library

* runtime/lket/b2a/Makefile.in:
regenerated

17 years agostapprobes.signal.5.in:
guanglei [Tue, 10 Oct 2006 08:32:06 +0000 (08:32 +0000)]
stapprobes.signal.5.in:
    document signal syscall

hookiddefs.stp:
    some changes to the hookid:

    Now the hookid of a return type event(addevent.*.return)
    should be an even number and its value should be the
    corresponding entry event hookid +1.

    The hookid of a non-return type event should be an odd
    number.

    Add the hookid of HOOKID_REGEVTDESC

register_event.stp:

    add register_evt_desc() to register the description of an event.

    Change the register_sys_event() to add the an argument
    representing event description

    Allow to use empty format string and empty field name when
    calling register_event().

    Change all calling to register_sys_event() to add an
    argument which represents the event description.

    Change register_evt_desc() and register_event() to add an argument
    representing the event description string, which could help
    facilitate the error debugging.

iosyscall.stp:
    bugfix to add the variable GroupID and hookID

nfs.stp:
    bugfix to add some omitted probe definitions.

nfs_proc.stp:
    bugfix of the wrong calling to _lket_trace() for
    nfs_proc.remove.entry.

17 years ago2006-10-09 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 9 Oct 2006 19:34:07 +0000 (19:34 +0000)]
2006-10-09  Josh Stone  <joshua.i.stone@intel.com>

From David Wilder <dwilder@us.ibm.com>
* time.c (__stp_estimate_cpufreq): Short-circuit on s390.
(_stp_gettimeofday_ns): Use a fixed formula on s390 to
convert TOD clocks to nanoseconds.

17 years agoReenable this testsuite. Why was it disabled?
hunt [Mon, 9 Oct 2006 18:16:44 +0000 (18:16 +0000)]
Reenable this testsuite. Why was it disabled?

17 years ago* round 'em up
fche [Thu, 5 Oct 2006 16:41:21 +0000 (16:41 +0000)]
* round 'em up
* move 'em out

17 years ago2006-10-04 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 4 Oct 2006 17:22:15 +0000 (17:22 +0000)]
2006-10-04  Frank Ch. Eigler  <fche@elastic.org>

* context.stp (probefunc): Return empty string for
userspace (< PAGE_OFFSET) pointers.

17 years agocreate src/man/stapprobes.*.in for detailed stap probe points.
guanglei [Fri, 29 Sep 2006 09:12:15 +0000 (09:12 +0000)]
create src/man/stapprobes.*.in for detailed stap probe points.

17 years agoPR 3282
guanglei [Fri, 29 Sep 2006 07:25:46 +0000 (07:25 +0000)]
PR 3282
Makefile.am: add -DPKGLIBDIR='"$(pkglibexecdir)"' to AM_CPPFLAGS

17 years agoBetter output for debugging.
hunt [Thu, 28 Sep 2006 19:42:05 +0000 (19:42 +0000)]
Better output for debugging.

17 years ago2006-09-28 Martin Hunt <hunt@redhat.com>
hunt [Thu, 28 Sep 2006 19:03:39 +0000 (19:03 +0000)]
2006-09-28  Martin Hunt  <hunt@redhat.com>

* buildok/eighteen.stp: Fix for 2.6.18.
* buildok/two.stp: Ditto.

17 years ago2006-09-28 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 28 Sep 2006 17:50:09 +0000 (17:50 +0000)]
2006-09-28  Josh Stone  <joshua.i.stone@intel.com>

PR 3278
* tapsets.cxx (hrtimer_derived_probe::emit_probe_entries): Only
restart timers when the session is still active and we updated the
expire time.

17 years ago2006-09-27 Josh Stone <joshua.i.stone@intel.com>
jistone [Thu, 28 Sep 2006 01:48:59 +0000 (01:48 +0000)]
2006-09-27  Josh Stone  <joshua.i.stone@intel.com>

* session.h (struct systemtap_session): Add kernel_base_release
to store the kernel version without the -NNN suffix.
* main.cxx (main): Generate and use kernel_base_release.
* parse.cxx (eval_pp_conditional): Use kernel_base_release.
* tapsets.cxx (profile_derived_probe::profile_derived_probe):
Use kernel_base_release.

* tapsets.cxx (timer_builder::build): Support a wide variety of
timer varients -- jiffies, s/sec, ms/msec, us/usec, ns/nsec, and
hz.  Use hrtimers automatically on kernels that have it.
(timer_builder::register_patterns): Bind all of the new timer
varients in one easy place.
(register_standard_tapsets): Call timer_builder::register_patterns.
(struct hrtimer_builder): Removed since timer_builder is generic.
* stapprobes.5.in: Document new timer.* functionality.

* tapsets.cxx (hrtimer_derived_probe_group::emit_probes): Add a
shared global for the actual hrtimer resolution, _stp_hrtimer_res.
(hrtimer_derived_probe_group::emit_module): Init _stp_hrtimer_res.
(hrtimer_derived_probe::emit_interval): Limit intervals at a
minimum to the hrtimer's actual resolution.
(hrtimer_derived_probe::emit_probe_entries): Forward timers
based on previous expiration instead of restarting relative.

testsuite/
* buildok/fourteen.stp: Test new timer functionality.

17 years ago2006-09-27 Martin Hunt <hunt@redhat.com>
hunt [Wed, 27 Sep 2006 18:32:03 +0000 (18:32 +0000)]
2006-09-27  Martin Hunt  <hunt@redhat.com>

* stack.c (_stp_kta): Rewrite. Use the _stap_symbols
struct instead of calling into the kernel.

* sym.c (_stp_kallsyms_lookup): Move here from runtime.h

* runtime.h: Get rid of all the symbol stuff that
did not belong here.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:41:37 +0000 (21:41 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* .cvsignore: Changed 'stpd' reference to 'staprun'.
* INTERNALS: Ditto.
* buildrun.cxx (run_pass): Ditto.
* lket.5.in: Ditto.
* stap.1.in: Ditto.
* stapruncs.5.in: Ditto.
* examples/small_demos/demo_script.txt: Ditto.
* examples/small_demos/sys.stp: Ditto.

* systemtap.spec.in: Created a new subpackage,
"systemtap-runtime", that contains staprun.

* Makefile.am: Renamed 'stpd' to 'staprun' and moved it to
$(bindir).
* Makefile.in: Regenerated from Makefile.am.

* configure.ac: Incremented version number.
* configure: Regenerated from configure.ac.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:39:52 +0000 (21:39 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* README: Changed 'stpd' references to 'staprun'.
* README.doc: Ditto.
* TODO: Ditto.
* io.c: Ditto.
* print.c: Ditto.
* runtime.h: Ditto.
* bench2/bench.rb: Ditto.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:39:16 +0000 (21:39 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* bench/run_bench: Changed 'stpd' references to 'staprun'.
* bench/trans_bench: Ditto.
* where_func/README: Ditto.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:38:35 +0000 (21:38 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* Makefile: Changed 'stpd' references to 'staprun'.
* librelay.c: Ditto.
* stpd.c: Ditto.

17 years ago2006-09-26 David Smith <dsmith@redhat.com>
dsmith [Tue, 26 Sep 2006 21:38:05 +0000 (21:38 +0000)]
2006-09-26  David Smith  <dsmith@redhat.com>

* transport.c: Changed 'stpd' references to 'staprun'.
* transport.txt: Ditto.

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