| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* symbols.c (get_sections): Set data pointer to the lowest address
of any data section.
|
|
|
|
|
|
|
|
| |
* sym.c (_stp_kallsyms_lookup): Improve heuristic
for determining when a pointer is in a function.
(_stp_func_print): New function.
* stack-i386.c, stack-x86_64.c: Remove obsolete
unwind code. Use _stp_func_print().
|
|
|
|
|
|
| |
* symbols.c (_stp_do_symbols): Set "data" pointer for kernel to _etext.
(_stp_sort): New. sort function from the kernel.
(_stp_load_module_symbols): Use _stp_sort().
|
|
|
|
|
|
|
| |
* configure.ac:
* Makefile.am: Limit where sqlite3 linked in.
* configure:
* Makefile.in: Regenerate.
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac:
* Makefile.am: Limit where sqlite3 linked in.
* configure:
* Makefile.in: Regenerate.
* coveragedb.cxx (update_coverage_db): Remove unneeded print.
* coveragedb.cxx (increment_element): Correct formatting.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 4529
* coveragedb.cxx: New.
* coveragedb.h: New.
* Makefile.am: Add coveragedb.cxx and sqlite3 to build.
* Makefile.in: Regenerated.
* configure.ac: Add test for sqlite3
* configure: Regenerated.
* systemtap.spec.in: Add dependencies for sqlite3/sqlite3-devel.
* elaborate.h, elaborate.cxx
(derived_probe::collect_derivation_chain): New.
(alias_expansion_builder::build): Correct token location.
(semantic_pass_opt[12): Track used and unused variables/functions.
* session.h (tapset_compile_coverage, unused_globals,
unused_probes, unused_functions): New fields.
* staptree.h (unused_locals, probe_point::str): New member.
* staptree.cxx: Ditto.
* main.cxx: Add "-q" tapset coverage option and SYSTEMTAP_COVERAGE env.
|
|
|
|
|
| |
* systemtap.maps/pmap_agg_overflow.exp: Rewrite
so order of error messages is not important.
|
|
|
|
| |
* systemtap.syscall/readwrite.c: Tweak for new default string truncation width.
|
|
|
|
|
| |
* string.c (_stp_text_str): Fix handling of embedded
" and \ characters.
|
|
|
|
|
|
| |
* syscalls_cfg_trunc.stp: New file for configuration global.
* syscalls.stp (add_key, mount), syscalls2.stp (write):
Use parameter.
|
|
|
|
| |
* lket/b2a/Makefile.in: Regenerated with automake 1.10.
|
|
|
|
|
|
| |
* Makefile.in: Regenerated with automake 1.10.
* aclocal.m4: Regenerated with aclocal 1.10.
* configure: Regenerated.
|
| |
|
|
|
|
|
| |
* chmod.c, dir.c, mmap.c, net1.c, readwrite.c, stat.c,
sync.c, trunc.c: Eliminated hardcoded fd numbers.
|
|
|
|
|
| |
* control.c (_stp_ctl_write_cmd): Add support for STP_BULK.
* transport_msgs.h (enum): Add STP_BULK.
|
|
|
|
| |
* relay.c (init_relayfs): Send message to check for bulkmode.
|
| |
|
|
|
|
|
| |
* systemtap.string/dot.exp: New test.
* systemtap.string/sprint.exp: New test.
|
|
|
|
| |
* systemtap.samples/transport*: Removed.
|
|
|
|
|
| |
* systemtap.printf/*b.exp: Add code to look in the
toplevel directory for stap_merge.
|
|
|
|
|
|
| |
* Makefile.am (noinst_PROGRAMS): Add stap_merge.
* Makefile.in: Rebuilt:
* config.in: Rebuilt
|
|
|
|
|
|
| |
* configure.ac: Added AM_PROG_CC_C_O for compatibility with
automake 1.10.
* configure, aclocal.m4: Regenerated.
|
|
|
|
|
|
|
| |
* buildrun.cxx (compile_pass): Unset environment variables that
could interfere with building the kernel module. Fixes PR 4664.
* main.cxx (main): Unsets a few standard environment variables for
safety.
|
|
|
|
|
|
| |
* stap_merge.c (main): Add verbose option. Will realloc
buffer if current size is too small. Check return codes
from writes so gcc won't complain.
|
| |
|
|
|
|
| |
* control.c (_stp_register_ctl_channel): Fix mode of cmd file.
|
|
|
|
|
| |
* syscall.exp (test_procedure): Use switch statements to clean
up the logic for setting flags for 64 and 32-bit passes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
From Quentin Barnes.
* lib/stap_run.exp, lib/stap_run2.exp, lib/systemtap.exp,
systemtap.base/cache.exp, systemtap.base/optim.exp,
systemtap.base/overload.exp, systemtap.base/prologues.exp,
systemtap.maps/absentstats.exp, systemtap.maps/foreach_fail.exp,
systemtap.maps/ix_clear*.exp, systemtap.maps/pmap_agg_overflow.exp,
systemtap.samples/args.exp, systemtap.samples/arith.exp,
systemtap.samples/arith_limits.exp,
systemtap.samples/control_limits.exp, systemtap.samples/lket.exp,
systemtap.samples/pfaults.exp, systemtap.samples/poll_map.exp,
systemtap.samples/primes.exp, systemtap.samples/profile.exp,
systemtap.samples/queue_demo.exp, systemtap.samples/symbols.exp,
systemtap.samples/syscalls1.exp, systemtap.samples/syscalls2.exp,
systemtap.samples/transport.exp: Small fixes to patterns, plus
fix timeouts for slower systems.
|
|
|
|
| |
* staprun.8.in: Fixed a couple of typos.
|
|
|
|
|
|
|
| |
PR 3331 cont'd.
* loc2c.c (base_encoding): Tolerate absenece of DW_AT_encoding.
(c_translate_pointer): Don't even try to find signedness, assume
unsigned.
|
|
|
|
|
| |
* lib/systemtap.exp (stap_run_batch): Detect crashing stap and
represent this as failing return code.
|
| |
|
|
|
|
|
|
|
| |
* syscalls.stp: Add sys_fcntl64, sys_oabi_fstat64,
sys_oabi_lstat64.
* syscalls2.stp: Fix sys_send. Add sys_sendfile64.
* errno.stp: Add arm support.
|
|
|
|
|
|
|
| |
From Quentin Barnes.
* loc2c-runtime.h: Latest arm marcos.
* stack-arm.c (__stp_stack_print): Add a cast.
* regs.c (_stp_ret_addr): Define for arm.
|
| |
|
|
|
|
|
|
|
| |
* translate.cxx (emit_module_init): Emit translator/elfutils
version numbers together.
* main.cxx (version): Ditto.
(main): Skip printing tapset directories where no sources were found.
|
|
|
|
|
|
|
|
|
| |
PR 3331 cont'd.
* loc2c.c (emit_base_fetch): Emit size/signedness cast
slightly differently for every low-level fetch.
(translate_base_fetch, c_translate_fetch, c_translate_store,
c_translate_pointer): Fetch & pass the $target signedness.
(base_encoding): Follow typedefs etc.
|
|
|
|
|
|
|
|
| |
* systemtap.samples/syscalls.stp: Use printf
for output to avoid problems with long paths.
From Quentin Barnes.
* systemtap.samples/system_func.exp: Change expect matching.
|
|
|
|
|
| |
* systemtap.samples/profile.stp: Change output to avoid problems
when kernel source path is long.
|
|
|
|
|
|
| |
test failures on powerpc.
Thanks to Srinivasa for tracking the problem down.
|
|
|
|
|
|
| |
PR 4609
From Eugeniy Meshcheryakov <eugen@debian.org>
* staptree.cxx: Add #include <algorithm> for gcc 4.3.
|
|
|
|
|
|
|
| |
PR 4553.
* configure.ac: For x86 systems with gcc versions less than 4,
automatically default to enabling prologue searching.
* configure: Regenerated.
|
|
|
|
|
| |
* relay_old.c (open_relayfs_files): Add support for
output file names (-o) with bulk (relayfs) mode.
|
|
|
|
|
|
| |
PR 4075 fix from Ananth Mavinakayanahalli
* string.h (_stp_get_user): Define.
* string.c (_stp_text_str): Use _stp_get_user().
|
|
|
|
|
|
|
|
|
|
| |
Fallout from PR 3331 fix. Sometimes glibc and the
kernel disagree about signed vs unsigned.
* aux_syscalls.stp: Rename __uid() to __int32().
* syscalls.stp: Change syscall.chown, syscall.fchown,
syscall.lchown, and syscall.lseek to use __int32().
* syscalls2.stp: Change syscall.setregid, syscall.resgid,
syscall.resuid, and syscall.setreuid to use __int32().
|
| |
|