| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
| |
PR 5102
* translate.cxx (visit_statement): Add new parameter regarding whether
c->last_stmt needs to be updated. Update callers, mostly passing
"false".
(visit_EXPRESSIONTYPE): Generally omit setting c->last_stmt, unless
the construct can set c->last_error.
|
|
|
|
| |
* queue_stats.stp (qsq_print): Make value of ops/s output as float
|
|
|
|
|
|
| |
2007-10-03 Frank Ch. Eigler <fche@elastic.org>
* systemtap.syscall/test.tcl: Don't list PASS on stdout.
|
|
|
|
|
|
|
|
|
| |
2007-10-03 Frank Ch. Eigler <fche@elastic.org>
PR 5096
* translate.cxx (emit_function): Put nesting limit/control logic into
function body ...
(visit_functioncall): ... and not into each call site.
|
| |
|
|
|
|
|
|
| |
* aux_syscalls.stp(_sockopt_level_str): Add support for protocol
number 134~137.
* socket.stp (global define,begin): Ditto.
|
|
|
|
|
|
|
|
|
| |
2007-10-02 Frank Ch. Eigler <fche@redhat.com>
PR 3635
* translate.cxx (emit_global): Wrap all globals and locks into one
top-level struct. Update references to former "global_VAR" prefix.
* translate.h (emit_global_init): New function.
|
|
|
|
|
|
|
| |
PR 5041
From <michael.gruener@linux.vnet.ibm.com>:
* loc2c-runtime.h (store_register): Add value as macro parameter where
missing.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 5078
* tapsets.cxx (be_derived_probe): Rework to add error probe support.
Emit probe description array in C for traversal by generated code.
* register_standard_tapsets: Add error probes.
* stapprobes.5.in: Document.
* translate.cxx (emit_module_init): Handle errors that may occur
during begin probes.
(emit_module_exit): Use schedule() rather than cpu_relax() during
shutdown synchronization wait loop.
* staptree.cxx (probe::printsig): Put multiple probe points on same
line.
2007-10-02 Frank Ch. Eigler <fche@redhat.com>
PR 5078
* semok/twentysix.stp, systemtap.base/beginenderror.*: New tests.
|
|
|
|
|
|
| |
* systemtap.syscall/signal.c:
* systemtap.syscall/uid16.c: Compilation regardless of defines.
* systemtap.syscall/test.tcl: Handle UNSUPP tests correctly.
|
|
|
|
|
| |
* tcp.stp: Add name argument for all probes.
* tcp.stp (tcp.setsockopt.return): Add comment.
|
|
|
|
|
| |
* test.tcl (run_one_test): Append newlines when
using send_log().
|
|
|
|
|
| |
* aux_syscalls.stp (_str_lookup_str): Print unmatched
values in hex.
|
|
|
|
| |
* socket.stp (_success_check): Fix compare method.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
uprobes_i386.c, uprobes_i386.h: i386 code
uprobes_arch.c, uprobes_arch.h: map to architecture-specific files
|
|
|
|
|
| |
* lib/systemtap.exp: New proc get_system_info.
* lib/stap_run.exp: New proc print_system_info.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* aux_syscalls.stp (_stp_lookup_str, _stp_lookup_or_str):
New functions to efficiently and safely read arrays of values
and return a string.
(_signal_name): Reimplement using _stp_lookup_str().
(_semctl_cmd): Ditto.
(__fork_flags): Ditto.
(_mmap_flags): Ditto.
(_mprotect_prot_str): Ditto.
(_shmat_flags_str): Ditto.
(_at_flag_str): Ditto.
(get_mmap_args): Complete rewrite for safety and correctness.
|
|
|
|
| |
Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
|
|
|
|
|
| |
PR3916
* systemtap.sample/gtod.*: New test for gettimeofday accuracy.
|
|
|
|
|
|
| |
* rpc.stp (clones_from_clnt, tasks_from_clnt): Fix for kernel >= 2.6.22.
* nfs.stp (__nfsi_ndirty) : Ditto.
* nfs_proc.stp (__nfsv4_bitmask) : Make bitmask valid according to CONFIG.
|
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp (sunrpc.clnt.shutdown_client): Add argument progname's
definition for probe sunrpc.clnt.shutdown_client, because it
is in the man page but not defined in tapset.
|
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp (sunrpc.clnt.call_sync, sunrpc.clnt.call_async): Fix
the output format of flags in argstr from hex to decimal just
to make it same as other probes.
|
|
|
|
|
| |
* tcp.stp (sendmsg.return): Fix description of size variable.
* tcp.stp (recvmsg.return): Ditto.
|
|
|
|
|
|
| |
* socket.stp (aio_read): Fix compile error with kernel version
less than 2.6.19.
* socket.stp (aio_write): Ditto.
|
| |
|
|
|
|
|
|
|
|
| |
The types could not be determined correctly when __find_bdevname() was used in nfs.stp
Added __page_index() to work around problem dereferencing unions in stap language.
Made generic.fop.sendfile conditional on kernel <= 2.6.22. generic_file_sendfile() was removed in 2.6.23.
|
|
|
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>
* syscall.stp (syscall.brk): Add probe point
kernel.function("ia64_brk").
* syscall.stp (syscall.mremap): Add probe point
kernel.function("ia64_mremap").
|
|
|
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>
* syscall.stp (syscall.brk): Add probe point
kernel.function("ia64_brk")
* syscall.stp (syscall.mremap): Add probe point
kernel.function("ia64_mremap")
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>
modify field-access operator from "." to "->" in all files.
|
|
|
|
|
|
| |
* syscalls.stp (adjtimex.return): Improve retstr.
* aux_syscalls.stp: Add a function(_adjtimex_return_str) for
adjtimex.return.
|
| |
|
|
|
|
|
|
| |
2007-09-25 Frank Ch. Eigler <fche@elastic.org>
* socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed.
|
|
|
|
|
|
| |
2007-09-25 Frank Ch. Eigler <fche@elastic.org>
* socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
|
|
|
|
|
|
|
| |
2007-09-25 Frank Ch. Eigler <fche@elastic.org>
* signal.stp (_signal.send.part*): Remove sinfo alias variable,
since it's a struct rather than integral value.
|
| |
|
|
|
|
|
| |
* test.tcl (run_one_test): Fix unsupported results.
Send failure diffs to log.
|
|
|
|
| |
* syscalls2.stp (sys_readlinkat): Make optional.
|
|
|
|
|
| |
* tapsets.cxx (translator_output::~translator_output): Fix mismatched
delete / delete [].
|
|
|
|
|
| |
* aux_syscalls.stp (_struct_compat_timeval_u): ifdef
CONFIG_COMPAT so buildok test will pass.
|
|
|
|
|
| |
* systemtap.context/backtrace.tcl: Handle single line timer.profile
backtraces.
|
|
|
|
|
| |
* systemtap.base/marker.exp: Improved regexp to work correctly on
kernels with no markers.
|
|
|
|
|
| |
* systemtap.base/marker.exp: Updated for the 9/18/2007 markers
patch.
|
|
|
|
|
|
|
|
|
| |
* tapsets.cxx (mark_query::handle_query_module): Updated for
9/18/2007 markers patch.
(mark_derived_probe::parse_probe_sig): Ditto.
(mark_derived_probe_group::emit_module_decls): Ditto.
(mark_derived_probe_group::emit_module_init): Ditto.
(mark_derived_probe_group::emit_module_exit): Ditto.
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp Fix the wrong calling of returnstr($return) to
returnstr(1) or returnstr(2).
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp Fix the wrong calling of returnstr($return) to
returnstr(1) or returnstr(2).
|
| |
|