| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
| |
* syscalls2.stp (sys_remap_file_pages: : Change kernel
version check to >= 2.6.24.
|
|
|
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>
* rpc.stp (clones_from_clnt): Use deref to check, then use
atomic_read to read an atomic_t to avoid compilation error of
type matching.
(tasks_from_clnt): Ditto.
|
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* rpc.stp (sunrpc.clnt.call_sync): Define procname only for
kernel>=2.6.17.
(sunrpc.clnt.call_async): Ditto.
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* nfs_proc.stp: Use kread in get_ip and get_prot to avoid kernel
panic.
|
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* nfsd.stp: Fix the semantic error caused by the difference of
kernel versions.
* nfs_proc.stp: Ditto.
|
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* nfsd.stp: Fix the semantic error caused by the difference of
kernel versions.
* nfs_proc.stp: Ditto.
|
|
|
|
|
| |
* syscall2.stp (sys_remap_file_pages): Fix compile error with kernel
version greater than 2.6.23.
|
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>
* rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT().
(tasks_from_clnt): Ditto.
|
|
|
|
|
| |
PR5000
* endian.stp (set_endian): Remove.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* conversions.stp: Add a function kernel_string_n for copy
non-0-terminated string with fixed length from kernel space at
given address.
* stapfuncs.5.in: Add kernel_string_n.
* nfsd.stp: Using kernel_string_n to copy non-0-terminated string
with fixed length from kernel space at given address.
* nfs_proc.stp: Ditto.
|
|
|
|
|
| |
* queue_stats.stp (qsq_start): Fix problem that compile fails when
calling qsq_utilization or other query functions next to qsq_start.
|
|
|
|
|
|
|
|
|
|
| |
* queue_stats.stp (qsq_utilization): Update queue account datas
before calculate.
(qsq_blocked): Ditto.
(qsq_wait_queue_length): Ditto.
(qsq_service_time): Ditto.
(qsq_wait_time): Ditto.
(qsq_throughput): Ditto.
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* nfs_proc.stp (__nfs_write_data_info): Add data-access code for
count, valid and timestamp.
|
|
|
|
| |
* udp.stp: Add name argument for all probes.
|
|
|
|
|
| |
* aux_syscalls.stp (_stp_lookup_str): When defaulting
to a numeric value, append, don't overwrite.
|
|
|
|
|
|
| |
From Lai Jiangshan <laijs@cn.fujitsu.com>
* aux_syscalls.stp (_stp_lookup_or_str) redirect to _stp_lookup_str
if val is 0.
|
| |
|
|
|
|
|
|
| |
PR5153
* aux_syscalls.stp (_sighandler_str): No
sa_restorer field for IA64.
|
|
|
|
|
|
|
|
|
| |
* syscalls2.stp (sys_signal): Call
_sighandler_str().
* aux_syscalls.stp (_stp_sigset_str): Don't
include SIG_0.
(_sighandler_str): New.
|
|
|
|
| |
* queue_stats.stp (qsq_start): Add destruction for qs_utime.
|
|
|
|
|
|
| |
From Cai Fei <caifei@cn.fujitsu.com>
* memory.stp (addr_to_node): Fix the compilation error of function
addr_to_node on IA64.
|
|
|
|
|
| |
* aux_syscalls.stp: Put #ifdef CONFIG_COMPAT
around compat code.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* syscalls2.stp (rt_sigaction, sigaction): Call
_struct_sigaction_u().
* aux_syscalls.stp (_struct_timeval): Removed. No longer
necessary now that we have structure access in scripts.
(_struct_timespec): Ditto.
(_struct_itimerval): Ditto.
(_struct_timezone_u): Remove random CATCH_DEREF_FAULT()
line.
(_stp_sigset_str): New.
(_struct_sigaction_u): New.
|
|
|
|
|
|
|
|
|
|
| |
2007-10-04 Frank Ch. Eigler <fche@elastic.org>
* stapfuncs.5.in: Document inet.stp tapset functions.
* buildok/inet-embedded.stp: Test inet.stp functions.
* inet.stp: New tapset for htonl and friends.
|
|
|
|
| |
* queue_stats.stp (qsq_print): Make value of ops/s output as float
|
|
|
|
|
|
| |
* aux_syscalls.stp(_sockopt_level_str): Add support for protocol
number 134~137.
* socket.stp (global define,begin): Ditto.
|
|
|
|
|
| |
* tcp.stp: Add name argument for all probes.
* tcp.stp (tcp.setsockopt.return): Add comment.
|
|
|
|
|
| |
* aux_syscalls.stp (_str_lookup_str): Print unmatched
values in hex.
|
|
|
|
| |
* socket.stp (_success_check): Fix compare method.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
* syscalls2.stp (sys_readlinkat): Make optional.
|
|
|
|
|
| |
* aux_syscalls.stp (_struct_compat_timeval_u): ifdef
CONFIG_COMPAT so buildok test will pass.
|
|
|
|
|
|
| |
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).
|