summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2006-11-26 Frank Ch. Eigler <fche@redhat.com>fche2006-11-266-6/+179
| | | | | | | | | | | | 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.
* * correct elfutils requirement messagefche2006-11-232-3/+3
|
* * remove refs to dprobes & elfutils man pagesfche2006-11-221-2/+0
|
* 2006-11-21 Frank Ch. Eigler <fche@elastic.org>fche2006-11-212-6/+25
| | | | * translate.cxx (emit_module_init): Adapt to 2.6.19 utsname().
* 2006-11-21 Frank Ch. Eigler <fche@elastic.org>fche2006-11-212-0/+31
| | | | | | PR 3556. * translate.cxx (emit_module_init): Emit code to check system_utsname against translate-time version/machine strings.
* skip warning message of skipped probes for lket testcaseguanglei2006-11-211-1/+1
|
* add LKET testcase into testsuite/systemtap.samples/guanglei2006-11-215-48/+96
| | | | | change the return codes of lket-b2a and add a new macro b2a_error() for error reporting
* 2006-11-20 David Smith <dsmith@redhat.com>dsmith2006-11-202-1/+125
| | | | | | | | * 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.
* 2006-11-20 Frank Ch. Eigler <fche@elastic.org>fche2006-11-202-1/+5
| | | | * context.stp (caller_addr): Declare return type.
* return value changes for lket-b2aguanglei2006-11-201-7/+17
|
* 2006-11-19 Frank Ch. Eigler <fche@elastic.org>fche2006-11-194-4/+35
| | | | | * main.cxx (main): Signal parse error if a tapset script is given as the user script.
* bugfix for #3526:guanglei2006-11-198-78/+84
| | | | | | | | | 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.
* 2006-11-17 Frank Ch. Eigler <fche@redhat.com>fche2006-11-176-7/+39
| | | | | | | | | | | | | * 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.
* add addevent.process.exit.entryguanglei2006-11-175-2/+38
|
* add a pass 4 check for LKET available trace hooksguanglei2006-11-162-0/+6
|
* *** empty log message ***hunt2006-11-151-6/+7
|
* 2006-11-15 Martin Hunt <hunt@redhat.com>hunt2006-11-152-3/+8
| | | | | * symbols.c (do_kernel_symbols): Add sizeof(long) to sym_base to preserve 64-bit alignment.
* 2006-11-15 Martin Hunt <hunt@redhat.com>hunt2006-11-153-11/+24
| | | | | | | | * 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.
* 2006-11-15 Martin Hunt <hunt@redhat.com>hunt2006-11-155-26/+34
| | | | | | | * alloc.c (STP_ALLOC_FLAGS): Define. Cleanup ifdefs. * map.c: Use STP_ALLOC_FLAGS. * stat.c: ditto.
* use c global variables instead of stap global variables to avoid better ↵guanglei2006-11-158-82/+118
| | | | | | performance(unfinished). visit members in scripts for better safety check
* bug 3507guanglei2006-11-134-34/+34
| | | | replace all minus signs used in man page with \-
* register_event.stp:guanglei2006-11-112-4/+10
| | | | pass integer values explicitly as 64-bit into _lket_trace() to avoid error when parse va-arg by _stp_printf
* 2006-11-10 David Smith <dsmith@redhat.com>dsmith2006-11-102-7/+14
| | | | | | | * tapsets.cxx (dwarf_var_expanding_copy_visitor::visit_target_symbol): Minor improvement to error handling by throwing exceptions before allocations are done.
* 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
|