| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
* 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).
|
| |
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp Add function for probe point sunrpc.clnt.create_client.
|
|
|
|
|
| |
From CaiFei <caifei@cn.fujitsu.com>
* rpc.stp Add function for probe point sunrpc.clnt.create_client.
|
| |
|
|
|
|
|
| |
* systemtap.samples/examples.exp: New file, replacing
* buildok/examples.stp: Removed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
PR 3916
* buildrun.cxx (compile_pass): Add new autoconf options for checking
time related APIs.
* time.c (stp_time_t): Rename cpufreq to freq.
(__stp_get_freq): Rename from __stp_estimate_cpufreq. Use tsc_khz or
cpu_khz if it is available. Use itc_freq on ia64.
(__stp_ktime_get_real_ts): New function to get current kernel time.
(__stp_time_timer_callback): Call __stp_ktime_get_real_ts to get
base time.
(__stp_init_time): Ditto.
(__stp_constant_freq): New function to check the processor has
constant frequency timestamp counter.
(_stp_kill_time): Don't use the cpufreq notifier if the processor has
constant frequency timestamp counter.
(_stp_init_time): Ditto.
* autoconf-ktime-get-real.c : New file.
* autoconf-constant-tsc.c: Ditto.
* autoconf-tsc-khz.c: Ditto.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
| |
2007-09-24 Frank Ch. Eigler <fche@elastic.org>
* buildok/*-embedded.stp: New test case for every embedded-C
function in the tapsets.
|
|
|
|
|
| |
* aux_syscalls.stp (_at_flag_str): Add some more flags.
* syscalls2.stp (openat): Call _dfd_str().
|
|
|
|
| |
* link.c (main): Don't check result code.
|
|
|
|
| |
* nfsd.stp (__svc_fh): Added missing semicolon.
|