| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
| |
|
|
|
|
| |
* translate.cxx (emit_module_init): Adapt to 2.6.19 utsname().
|
|
|
|
|
|
| |
PR 3556.
* translate.cxx (emit_module_init): Emit code to check
system_utsname against translate-time version/machine strings.
|
| |
|
|
|
|
|
| |
change the return codes of lket-b2a and add a new macro b2a_error() for error
reporting
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* context.stp (caller_addr): Declare return type.
|
| |
|
|
|
|
|
| |
* main.cxx (main): Signal parse error if a tapset script
is given as the user script.
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* symbols.c (do_kernel_symbols): Add sizeof(long) to sym_base
to preserve 64-bit alignment.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
| |
* alloc.c (STP_ALLOC_FLAGS): Define.
Cleanup ifdefs.
* map.c: Use STP_ALLOC_FLAGS.
* stat.c: ditto.
|
|
|
|
|
|
| |
performance(unfinished).
visit members in scripts for better safety check
|
|
|
|
| |
replace all minus signs used in man page with \-
|
|
|
|
| |
pass integer values explicitly as 64-bit into _lket_trace() to avoid error when parse va-arg by _stp_printf
|
|
|
|
|
|
|
| |
* tapsets.cxx
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Minor
improvement to error handling by throwing exceptions before
allocations are done.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
| |
* stap.1.in: On urging of Adam Jackson, add blurbs on array syntax
and default limits.
|
|
|
|
| |
bugfix of lket-b2a
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
bugfix of the obsolete buf_info and consumed_info.
|
|
|
|
| |
* Makefile.am (staprun_LDADD): Need PROCFLAGS here too.
|
| |
|
|
|
|
|
|
|
|
| |
* Makefile.am (staprun_CFLAGS): New. Use PROCFLAGS.
* configure.ac: Add PROCFLAGS. Processor-dependent
compilation flags.
* configure: Rebuilt.
* Makefile.in: Rebuilt.
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* sym.h: Change int to int32_t.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
| |
* cache.cxx (get_from_cache): To preserve semantics with
non-cached use, if the last pass is 3, display the cached C
source.
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
| |
* tapsets.cxx (profile_derived_probe_group::emit_module_decls):
Pass along incoming pt_regs to context of timer.profile handlers.
|
|
|
|
|
| |
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
|
| |
|
|
|
|
|
|
| |
* systemtap.maps/foreach_limit.exp: Added new test for foreach
"limit" keyword.
* systemtap.maps/foreach_limit.stp: Ditto.
|
|
|
|
|
| |
* translate.cxx (var::init): Check for errors when
allocating arrays of stats, as well as other arrays.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
| |
|