summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-11-10 David Smith <dsmith@redhat.com>dsmith2006-11-104-54/+35
| | | | | | | | | | | * 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.
* 2006-11-10 Frank Ch. Eigler <fche@elastic.org>fche2006-11-102-9/+31
| | | | | * stap.1.in: On urging of Adam Jackson, add blurbs on array syntax and default limits.
* bugfix of NFS event register codes for LKETguanglei2006-11-103-13/+5
| | | | bugfix of lket-b2a
* tapset/LKET/iosyscall.stp:guanglei2006-11-104-832/+895
| | | | | | | | | 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
* transport/procfs.c:guanglei2006-11-102-2/+7
| | | | bugfix of the obsolete buf_info and consumed_info.
* 2006-11-09 Martin Hunt <hunt@redhat.com>hunt2006-11-093-4/+6
| | | | * Makefile.am (staprun_LDADD): Need PROCFLAGS here too.
* *** empty log message ***hunt2006-11-091-1/+1
|
* 2006-11-09 Martin Hunt <hunt@redhat.com>hunt2006-11-095-36/+68
| | | | | | | | * Makefile.am (staprun_CFLAGS): New. Use PROCFLAGS. * configure.ac: Add PROCFLAGS. Processor-dependent compilation flags. * configure: Rebuilt. * Makefile.in: Rebuilt.
* 2006-11-09 Martin Hunt <hunt@redhat.com>hunt2006-11-094-33/+48
| | | | | | | | * 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.
* 2006-11-09 Martin Hunt <hunt@redhat.com>hunt2006-11-095-39/+47
| | | | | | | | | | | * 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.
* 2006-11-09 Martin Hunt <hunt@redhat.com>hunt2006-11-092-3/+7
| | | | * sym.h: Change int to int32_t.
* 2006-11-09 David Smith <dsmith@redhat.com>dsmith2006-11-0910-0/+175
| | | | | | | | | | | | | * 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.
* 2006-11-09 David Smith <dsmith@redhat.com>dsmith2006-11-092-5/+43
| | | | | | | | | | | | * 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.
* add options for lket-b2a to control the output data fields of lket.out.guanglei2006-11-098-32/+119
| | | | | | | | 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.
* 2006-11-08 David Smith <dsmith@redhat.com>dsmith2006-11-082-2/+19
| | | | | | * cache.cxx (get_from_cache): To preserve semantics with non-cached use, if the last pass is 3, display the cached C source.
* 2006-11-08 Frank Ch. Eigler <fche@elastic.org>fche2006-11-083-1/+12
| | | | | | | * 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.
* 2006-11-08 Frank Ch. Eigler <fche@elastic.org>fche2006-11-088-167/+80
| | | | | | * 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.
* remove runtime/lket/b2a/READMEguanglei2006-11-081-48/+0
|
* * correct cvs checkout command linefche2006-11-071-1/+1
|
* 2006-11-07 Frank Ch. Eigler <fche@elastic.org>fche2006-11-072-0/+6
| | | | | * tapsets.cxx (profile_derived_probe_group::emit_module_decls): Pass along incoming pt_regs to context of timer.profile handlers.
* signal.stp, memory.stp:guanglei2006-11-073-3/+10
| | | | | 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
* update cscope.filesguanglei2006-11-071-0/+17
|
* 2006-11-06 David Smith <dsmith@redhat.com>dsmith2006-11-063-0/+222
| | | | | | * systemtap.maps/foreach_limit.exp: Added new test for foreach "limit" keyword. * systemtap.maps/foreach_limit.stp: Ditto.
* 2006-11-06 Martin Hunt <hunt@redhat.com>hunt2006-11-062-16/+14
| | | | | * translate.cxx (var::init): Check for errors when allocating arrays of stats, as well as other arrays.
* 2006-11-06 David Smith <dsmith@redhat.com>dsmith2006-11-066-0/+72
| | | | | | | | | * 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.
* 2006-11-06 David Smith <dsmith@redhat.com>dsmith2006-11-067-11/+157
| | | | | | | | | | | | | | | | | | | | | | | 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.
* * a question for huntfche2006-11-061-1/+1
|
* 2006-11-03 Frank Ch. Eigler <fche@elastic.org>fche2006-11-032-6/+23
| | | | | * tapsets.cxx (emit_address): Emit calls to _stp_module_relocate for $target-variable addresses in relocatable sections.
* Removed refs to dtrace, to which we were giving undue credit in terms ofkenistoj2006-11-021-5/+0
| | | | "inspiration."
* *** empty log message ***hunt2006-11-021-0/+8
|
* 2006-11-02 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-11-023-36/+45
| | | | | | | * systemtap.samples/tcptest.exp: Put TCP load gen into a a seperate script. * systemtap.samples/tcptest.tcl: new script for TCP load gen.
* 2006-11-02 Martin Hunt <hunt@redhat.com>hunt2006-11-022-2/+5
| | | | * symbols.c (_stp_do_module): Fix error message.
* New dynamic module and symbol handling code.hunt2006-11-0219-143/+973
|
* 2006-11-02 Martin Hunt <hunt@redhat.com>hunt2006-11-023-3/+8
| | | | | * io.c (_stp_vlog, _stp_dbug): Make first parameter const. * runtime.h: Update prototype for _stp_dbug.
* 2006-11-02 David Smith <dsmith@redhat.com>dsmith2006-11-022-2/+16
| | | | | | * 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).
* 2006-11-02 Frank Ch. Eigler <fche@elastic.org>fche2006-11-026-2/+21
| | | | | | | | | * 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.
* Fix an indentation glitch.jistone2006-11-011-1/+1
|
* 2006-11-01 Josh Stone <joshua.i.stone@intel.com>jistone2006-11-012-9/+28
| | | | | | | * 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.
* 2006-11-01 <dsmith@redhat.com>dsmith2006-11-012-1/+24
| | | | | | | | | | | | | | * 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.
* 2006-10-31 Frank Ch. Eigler <fche@redhat.com>fche2006-11-0111-1831/+1040
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* update lket.5.in to add more details and re-arrange the sections.guanglei2006-10-314-352/+376
| | | | modify tapsets/LKET/register_events to change the event_desc strings
* 2006-10-30 Josh Stone <joshua.i.stone@intel.com>jistone2006-10-302-1/+4
| | | | | * systemtap.base/timers.stp: Fudge the comparison a bit between jiffies(1) and profile to allow for slop between start/end times.
* 2006-10-30 Josh Stone <joshua.i.stone@intel.com>jistone2006-10-302-1/+8
| | | | | | | * 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.
* 2006-10-30 Martin Hunt <hunt@redhat.com>hunt2006-10-302-1/+6
| | | | | * systemtap.maps/pmap_agg_overflow.stp: Use timer.jiffies instead of timer.profile so the test works on xen kernels.
* 2006-10-30 David Smith <dsmith@redhat.com>dsmith2006-10-302-0/+20
| | | | * stap.1.in: Added notes about new caching feature.
* 2006-10-30 David Smith <dsmith@redhat.com>dsmith2006-10-304-0/+23
| | | | | | | | | | | | | * 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.
* 2006-10-30 Martin Hunt <hunt@redhat.com>hunt2006-10-302-1/+6
| | | | | * systemtap.base/cache.exp (stap_compile): Fix a simple buffering problem with expect.
* 2006-10-29 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-10-292-1/+9
| | | | | * context.stp: Added proper handling of statement * probe in probefunc() for IA64 (bz# 3423)
* 2006-10-27 Thang Nguyen <thang.p.nguyen@intel.com>tpnguyen2006-10-272-3/+16
| | | | | * runtime/regs.c: patch from Bibo Mao for fixing the return value on IA64 (bz #3404).
* 2006-10-27 Martin Hunt <hunt@redhat.com>hunt2006-10-274-86/+54
| | | | | | | | * 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.