| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* 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.
|
| |
|
| |
|
|
|
|
|
|
|
| |
* copy.c (__stp_strncpy_from_user): Add ppc64 support.
(_stp_strncpy_from_user): Call access_ok().
(_stp_string_from_user): Ditto.
(_stp_copy_from_user): Ditto.
|
|
|
|
|
|
|
| |
PR 1257
* Makefile.am (AM_CFLAGS): Add -fexceptions.
* loc2c.c (c_translate_location): Invoke *fail properly.
* Makefile.in: Regenerated.
|
|
|
|
|
|
|
|
|
| |
PR 1260
* tapsets.cxx (func_info::func_info): Initialize fields.
(inline_instance_info::inline_instance_info): Likewise.
(query_inline_instance_info): Add try-catch block.
(query_func_info): Likewise, and fault when missing prologue-end.
(query_dwarf_func): Fault when missing entrypc.
|
|
|
|
|
|
| |
PR 1306
* tapsets.cxx (dwflpp::iterate_over_srcfile_lines): Fix two
off-by-one errors in previous change.
|
| |
|
|
|
|
|
|
|
| |
PR 1335
* translate.cxx (c_tmpcounter::visit_functioncall): Correct
recursion sequence.
* testsuite/buildok/nineteen.stp: New test case.
|
|
|
|
|
|
|
|
|
| |
PR 1306
* tapsets.cxx (dwflpp::has_single_line_record): New function.
(dwflpp::iterate_over_srcfile_lines): Throw when user requests
single statement line with multiple records (and provide advice).
(query_cu): Adjust call to match.
(query_srcfile_line): Fix indentation.
|
|
|
|
|
| |
* io.c (ERR_STRING): Remove ansi codes.
(WARN_STRING): Ditto.
|
|
|
|
|
|
|
| |
* arith.c (_stp_div64): Check for division by 0 or -1 first.
This simplifies things and removes the possibility of x86_64
trying LLONG_MIN/-1 and faulting.
(_stp_mod64): Ditto.
|
|
|
|
|
|
|
|
|
|
|
|
| |
* math/div64.c (main): Set the expected result for LLONG_MIN/-1 to
be LLONG_MIN (overflow) instead of 0.
2005-09-09 Martin Hunt <hunt@redhat.com>
* math/div64.c (main): Fixes for running on 64-bit hardware.
* README: Update.
* math/div64.c: New file. 64-bit division tests.
|
|
|
|
| |
* arith.c: Add some comments explaining why the last change works.
|
|
|
|
|
|
|
| |
* Makefile.am, runtest.sh: Use a "testresuilt/" directory in build
tree rather than overloading "testsuite/".
* TODO: Removed obsoleted file.
* Makefile.in: Regenerated.
|
|
|
|
| |
* loc2c-runtime.h [__powerpc__] (store_register): Add #undef.
|
|
|
|
| |
* math/div64.c (main): Fixes for running on 64-bit hardware.
|
| |
|
|
|
|
|
|
|
|
| |
* stat-common.c (_stp_stat_print_valtype): Use _stp_div64().
* arith.c (_stp_div64): Check error before writing to it.
Remove check against 32-bit LONG_MIN and -1. That only
applies to 64-bit.
(_stp_mod64): Ditto.
|
|
|
|
|
| |
* README: Update.
* math/div64.c: New file. 64-bit division tests.
|
|
|
|
|
|
| |
* runtime.h: Add arith.c
* recreate_links: Add arith.c
* emul.h: Define jiffies so arith.c will compile.
|
|
|
|
|
| |
* arith.c (_stp_div64): Check for overflow.
(_stp_mod64): Ditto.
|
|
|
|
|
|
|
|
| |
* arith.c (_stp_div64): For 64-bit cpus, just use native
division. Otherwise call _div64().
(_stp_mod64): Call _mod64() isf necessary.
(_div64): 64-bit division for 32-bit cpus.
(_mod64): 64-bit modulo for 32-bit cpus.
|
|
|
|
|
|
| |
* procfs.c (_stp_register_procfs): Change ifdefs to eliminate
unused variable warnings.
(_stp_unregister_procfs): Ditto.
|
|
|
|
| |
* map-values.c (_stp_map_entry_exists): Remove unused var.
|
|
|
|
|
| |
* scf/scf.c (inst_smp_call_function): Add new verbose arg
to _stp_stack_sprint() call.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
* stap.1.in: Document current "-c" and "-x" options.
|
|
|
|
| |
* systemtap.spec.in: Remove kernel-debuginfo dependency.
|