| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
| |
* syscalls.stp: Make optional sys_alarm, sys_fadvise64,
sys_gethostname, sys_getpgrp, and sys_llseek.
(syscall.getrlimit): Add optional calls sys_old_getrlimit,
compat_sys_getrlimit, and compat_sys_old_getrlimit.
* syscalls2.stp: Make optional sys_nice, sys_rt_sigreturn,
sys_signal, sys_sigprocmask, sys_utime
(syscall.old_getrlimit): Moved into syscall.getrlimit.
|
|
|
|
| |
* syscall2.stp: Correct sys_pipe function args for ia64.
|
|
|
|
| |
* scheduler.stp: Correct function argument.
|
| |
|
|
|
|
|
| |
* vsprintf.c: Add comment about %p.
* regs.c, stack*.c, sym.c: Fix %p calls.
|
| |
|
|
|
|
|
|
| |
* control.c: Change default buffer number and size.
(_stp_ctl_write): Add debug statements. Check size of
message to avoid overwriting buffer.
|
| |
|
|
|
|
|
| |
* relay.c (reader_thread): Set timeout for streaming to
200ms.
|
|
|
|
|
| |
* relay.c (reader_thread): For bulk mode, set timeout to NULL
so ppoll never times out.
|
|
|
|
|
|
|
|
|
|
| |
* syscalls2.stp: Added compat_sys_pause to syscall.pause.
* syscalls.stp: Added sys_lstat64 to syscall.lstat.
Added compat_sys_gettimeofday to syscall.gettimeofday.
* ppc64/syscalls.stp: Remove sys_lstat64.
* i686/syscalls.stp: Remove sys_lstat64.
|
|
|
|
|
| |
* relay.c (ppoll): Add a compatibility function for
glibc < 2.4.
|
|
|
|
|
| |
* buildrun.cxx (run_pass): Send proper verbosity
level to staprun
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Signal handler cleanup.
* mainloop.c (fatal_handler): New. Cleanly handle
unexpected fatal signals.
(setup_main_signals): New. Set signals once mainloop
is entered.
(setup_signals): New. Block certain signals during initialization.
Set handler for fatal signals.
* relay.c (reader_thread): Use ppoll(). Terminate on
SIGUSR2 after reading any remaining data.
(close_relayfs): Remove sleep hack. Send SIGUSR2 to all threads.
Runtime debug messages.
* staprun.h: Change dbug() to accept a debuglevel and
enable it.
* *.c: Modify dbug() calls.
|
|
|
|
|
| |
* testsuite/systemtap.syscall/syscall.exp: Build correct sizes for
32-bit and 64-bit machines.
|
|
|
|
|
|
| |
Patch from David Smith
* mainloop.c (stp_main_loop): Properly handle write()
return value. Fixes build problem with some compilers.
|
|
|
|
|
|
|
| |
PR4466
* systemtap.samples/system_func.stp: Rewrite test to account
for probes not being placed until after begin.
* systemtap.samples/system_func.exp: Only expect 1 sys_open.
|
|
|
|
|
| |
* signal.c (main): Fix expected expression to accept
both 32 and 64-bit pointers.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 1305.
* tapsets.cxx (iterate_over_srcfile_lines): Exclude approximate
file:lineno matches optimistically returned by dwarf_getsrc_file.
(query_srcfile_line): Use Dwarf_Line line number for constructing
derived_probe location string.
2007-05-06 Frank Ch. Eigler <fche@elastic.org>
* semko/thirtynine.stp: New test.
|
|
|
|
|
|
|
| |
* translate.cxx (c_tmpcounter::visit_functioncall): Updated
temporary handling.
(c_unparser::visit_functioncall): No longer copies numeric and
string constants to temporary variables.
|
|
|
|
|
|
|
|
|
|
| |
* translate.cxx (c_tmpcounter::visit_binary_expression): Updated
temporary handling.
(c_unparser::visit_binary_expression): Improved handing of numeric
constants when handling '%' and '/' operators.
(c_tmpcounter::visit_print_format): Updated temporary handling.
(c_unparser::visit_print_format): Removed the need for a result
temporary when printing to a stream.
|
|
|
|
| |
* systemtap.samples/system_func.*: New test.
|
|
|
|
| |
* systemtap.samples/sysopen*: Deleted.
|
|
|
|
|
| |
* statfs.c (main): Fix expected expression to accept
both 32 and 64-bit pointers.
|
| |
|
|
|
|
|
|
|
|
|
| |
PR 2339
* translate.cxx (c_unparser_assignment::c_assignop): Improved
handling of numeric constants in the rest of the assignment
operators.
(c_tmpcounter_assignment::c_assignop): Updated temporary
handling.
|
|
|
|
|
|
|
|
|
|
| |
* configure.ac: Mention testsuite/configure.ac for version matching.
2007-04-29 Frank Ch. Eigler <fche@elastic.org>
* Makefile.am (EXTRA_DIST): Add dejagnu subdirectories.
* configure.ac: Bump version to match parent directory.
* Makefile.in, configure: Regenerated.
|
|
|
|
| |
* runtime.h: Improve check for debugfs in kernel.
|
|
|
|
| |
* utt.h (struct utt_trace): Remove sequence.
|
|
|
|
|
|
|
| |
* utt.c (utt_trace_cleanup): Remove free of utt->sequence.
(utt_dropped_open): PR 4415. Use STAPCONF_INODE_PRIVATE to detect
correct inode struct.
(utt_trace_setup): Do not allocate utt->sequence.
|
|
|
|
|
|
|
|
|
|
|
| |
PR 4432.
* buildrun.cxx (compile_pass): Tweak autoconf CFLAGS handling to
avoid macro recursion but still get the needed -I directives.
Add the inode-private autoconf test.
2007-04-27 Frank Ch. Eigler <fche@elastic.org>
* autoconf-inode-private.c: New file from hunt.
|
|
|
|
|
| |
PR 4432.
* buildrun.cxx (compile_pass): Add $(mflags-y) to stap_check_build.
|
|
|
|
|
| |
* buildrun.cxx (compile_pass): Correct placement of commented-out
"set -x" make-macro-debugging snippet.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 2339
* translate.cxx: Renamed "qname" to "value" throughout, since
there are times now when qname would refer to a constant value.
(tmpvar::override): Added function to allow for overriding a
temporary variable name with a string.
(tmpvar::value): New function that returns either the overridden
string or the temporary variable name.
(c_unparser::c_expression): New function.
(c_unparser_assignment::c_assignop): Speed up assignment when
numeric or string constants are used.
(c_tmpcounter::visit_block): Avoid empty structs inside the union
of temporary variables.
(c_tmpcounter_assignment::prepare_rvalue): New function.
(c_tmpcounter_assignment::c_assignop): New function.
(c_tmpcounter_assignment::visit_symbol): Update temporary
declarations.
(c_unparser_assignment::prepare_rvalue): Speed up use of rvalues
by using numeric and string constants directly instead of copying
them to temporaries first.
(c_tmpcounter::load_map_indices): New function.
(c_unparser::load_map_indices): Speed up use of numeric and string
constants as map indices.
(c_tmpcounter::visit_arrayindex): Updated temporary declarations.
(c_tmpcounter_assignment::visit_arrayindex): Updated temporary
declarations.
* translate.h (class translator_output): Added tellp() and seekp()
functions.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* tapsets.cxx (common_probe_entryfn_epilogue): Increment
error_count when overload processing kicks in.
|
| |
|
|
|
|
| |
* testsuite/buildok/memory.stp: Test vm.pagefault.return.
|
|
|
|
| |
* stp_check.in: More tweaking of mount statement.
|
|
|
|
| |
* systemtap.pass1-4/buildok.exp: Add some kfails.
|
|
|
|
|
| |
* scheduler.stp (scheduler.ctxswitch): Since it's marked __kprobes
switch from __switch_to to context_switch on x86-64 in Ipswitch.
|
|
|
|
| |
* clock.c (main): Ifdef SYS_time.
|
|
|
|
|
| |
* tapsets.cxx (die_entrypc): Expand search algorithm to
check for "aranges", as sometimes occurs for inlined functions.
|
|
|
|
| |
* mmap.c (main): Use open() instead of creat().
|