| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1332.
* translate.cxx (emit_symbol_data): New function to transcribe
a processed address->symbol lookup table, based upon /proc/kallsyms.
2005-10-06 Frank Ch. Eigler <fche@elastic.org>
PR 1332.
* sym.h: New file to declare explicit symbol table struct.
* runtime.h (_stp_kallsyms_lookup_tabled): Use it if available.
* sym.c (_stp_symbol_sprint): HAS_LOOKUP mooted.
2005-10-06 Frank Ch. Eigler <fche@elastic.org>
PR 1132.
* systemtap.samples/symbols.*: New test.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
PR 1131.
* tapsets.cxx
(target_variable_flavour_calculating_visitor::visit_target_symbol)
(var_expanding_copy_visitor::visit_target_symbol):
Require guru mode for writing to target vars.
* testsuite/buildok/twenty.stp: Test writing to target vars.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (get_module_dwarf): Add "required" parameter, which
throws an exception if debuginfo is not found.
(focus_on_module_containing_global_address): Tolerate miss.
(query_kernel_exists): New function to test for "kernel" module in
dwfl_getmodules() result set.
(dwarf_builder::build): Call it if appropriate.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2005-09-30 Graydon Hoare <graydon@redhat.com>
PR 1131.
* tapsets.cxx (dwflpp::find_variable_and_frame_base)
(dwflpp::translate_components)
(dwflpp::resolve_unqualified_inner_typedie)
(dwflpp::translate_final_fetch_or_store): New functions.
(dwflpp::literal_stmt_for_local): Factor a bit.
(variable_flavour_calculating_visitor::visit_target_symbol):
Don't fault on lvalue, just collect an extra char.
(var_expanding_copy_visitor::target_symbol_setter_functioncalls):
New member.
(var_expanding_copy_visitor::visit_assignment): New method.
(var_expanding_copy_visitor::visit_target_symbol): Permit lvalues.
[runtime/ChangeLog]
2005-09-30 Graydon Hoare <graydon@redhat.com>
* loc2c-runtime.h (_put_user_asm): Fix bracket-matching.
|
|
|
|
|
| |
* tapset/system_calls.stp (*_str): Simplified boolean test logic
throughout, fixed some typos.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
added documentation for new string function 'isinstr()'
|
|
|
|
|
|
|
|
|
| |
function uses different algorithm to build symbolic
flag string from int. Now uses locals to do so. SMP
safe.
string.stp
add isinstr(s1,s2) - return 1 if s1 contains s2 else
return 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1182.
* main.cxx (main): Support -D macro-setting option.
* stap.1.in: Document it and related macros.
* buildrun.cxx (compile_pass): Emit macro definitions.
* translate.cxx (translate_pass): Guard limit macros with #ifdef.
Eliminate MAXCONCURRENCY macro.
* elaborate.h (systemtap_session): Add "macros" field.
* parse.cxx (parse_if_statement): Clear "elseblock" if needed.
2005-09-28 Frank Ch. Eigler <fche@elastic.org>
PR 1182.
* systemtap.samples/control_limits.*: New test.
|
| |
|
|
|
|
|
| |
* tapsets.cxx (query_cu_containing_global_address): Tolerate
way out of range addresses that result in null cudie pointers.
|
|
|
|
|
|
|
|
|
|
|
|
| |
wrote a few aux functions that can be used by tapsets to derive
a bitmask symbolic string from a given number
tapset/string.stp:
strlen: Returns the length of the string argument
substr: Returns a substring starting at start/ending at stop
stapfuncs.5.in:
Added a STRING category with aforementioned functions
tapset/system_calls.stp
Exported more variable for more system calls
|
| |
|
|
|
|
|
|
|
|
| |
PR 1368.
* translate.cxx (emit_common_header): Move some MAX* definitions out ...
(translate_pass): ... to here. Fix probe_start API impedance mismatch.
(emit_module_init, exit): Tolerate registration errors, such as absence
of kretprobes support.
|
|
|
|
|
|
|
|
| |
PR 1311.
* tapsets.cxx (target_variable_flavour_calculating_visitor::
visit_target_symbol): Print verbose error.
(var_expanding_copy_visitor::visit_target_symbol): Throw
simple error.
|
|
|
|
|
| |
* stapfuncs.5.in: Extend errno_str verbiage.
* tapset/errno.stp: Canonicalize script code slightly.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1295.
* tapsets.cxx (resolve_prologue_endings2): Try another heuristic
for end-of-prologue.
2005-09-26 Frank Ch. Eigler <fche@elastic.org>
PR 1295.
* systemtap.samples/sysopen.*: New test.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* map.c (_stp_map_sortn): Call _stp_map_sort()
when n is 0.
|
|
|
|
|
|
|
|
|
| |
* map.c (_stp_cmp): New comparison function for sorts.
(_stp_swap): New swap function for bubble sort.
(_stp_map_sortn): New function.
(_stp_map_sort): New function.
(_stp_map_printn): New function.
(_stp_map_print): Convert to a macro.
|
|
|
|
|
| |
* maps/map.test: Add sort results.
* maps/sort.c: New test.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Frank Ch. Eigler <fche@elastic.org>
PR 1330.
* tapsets.cxx (dwarf_derived_probe): Allow multiple probe_point
locations per derived_probe.
(dwarf_query): Add probe "flavour" concept, to reuse probe bodies for
identical flavours across wildcards.
(dwarf::emit_registrations, emit_deregistrations, emit_probe_entries):
Reorganize.
* staptree (probe::printsig): Put multiple locations on separate lines.
|
|
|
|
|
| |
* regs.h: PPC64 version from
Ananth N Mavinakayanahalli <ananth@in.ibm.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
* runtime.h (init_module): Only initialize _stp_kta and
_stp_kallsyms_lookup on i386 and x86_64. Define HAS_LOOKUP.
* sym.c (_stp_symbol_sprint): If HAS_LOOKUP is not
defined, just print address in hex.
* current.c (_stp_ret_addr): Add ppc64 version.
(_stp_sprint_regs): PPC64 version from
Ananth N Mavinakayanahalli <ananth@in.ibm.com>
|
| |
|
|
|
|
|
| |
* tapsets.cxx (*::emit_probe_entries): Handle busy-count correctly
upon contention.
|
|
|
|
|
|
| |
PR 1260
* tapsets.cxx (dwflpp::resolve_prologue_endings): Correct logic
error triggered by consecutive function-beginning line records.
|
|
|
|
|
|
|
|
|
| |
PR 1344
* translate.cxx: Call _stp_map_clear for "delete ARRAY" statement.
2005-09-14 Frank Ch. Eigler <fche@elastic.org>
* systemtap.samples/pfaults.stp: Complicate to test PR 1344.
|
| |
|
|
|
|
|
| |
* systemtap.spec.in: Version 0.4.1 cooked.
* systemtap.spec.in: Build runpath into elfutils libs too.
|
|
|
|
|
| |
* map.c (_stp_map_clear): New function. CLears a map but
does not free it.
|
|
|
|
|
| |
* maps/ii.c (main): Add test for _stp_map_clear().
* maps/map.test: Update results.
|
| |
|
| |
|