summaryrefslogtreecommitdiffstats
path: root/tapset
Commit message (Collapse)AuthorAgeFilesLines
...
* 2007-11-12 Martin Hunt <hunt@redhat.com>hunt2007-11-122-1/+6
| | | | | * syscalls2.stp (sys_remap_file_pages: : Change kernel version check to >= 2.6.24.
* 2007-11-8 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-082-6/+14
| | | | | | | | 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.
* 2007-11-6 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-062-1/+11
| | | | | | | 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.
* 2007-11-5 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-052-17/+25
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfs_proc.stp: Use kread in get_ip and get_prot to avoid kernel panic.
* 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-021-0/+7
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfsd.stp: Fix the semantic error caused by the difference of kernel versions. * nfs_proc.stp: Ditto.
* 2007-11-2 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-022-0/+20
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfsd.stp: Fix the semantic error caused by the difference of kernel versions. * nfs_proc.stp: Ditto.
* 2007-11-1 Will Cohen <wcohen@redhat.com>wcohen2007-11-012-0/+9
| | | | | * syscall2.stp (sys_remap_file_pages): Fix compile error with kernel version greater than 2.6.23.
* 2007-11-1 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-11-012-0/+8
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * rpc.stp (clones_from_clnt): Add CATCH_DEREF_FAULT(). (tasks_from_clnt): Ditto.
* 2007-10-17 Martin Hunt <hunt@redhat.com>hunt2007-10-172-8/+4
| | | | | PR5000 * endian.stp (set_endian): Remove.
* added test for 32-bit value of AT_FDCWDdwilder2007-10-152-1/+6
|
* 2007-10-15 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-154-34/+58
| | | | | | | | | | | 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.
* 2007-10-12 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-122-2/+7
| | | | | * queue_stats.stp (qsq_start): Fix problem that compile fails when calling qsq_utilization or other query functions next to qsq_start.
* 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-112-0/+16
| | | | | | | | | | * 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.
* 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-112-0/+26
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * nfs_proc.stp (__nfs_write_data_info): Add data-access code for count, valid and timestamp.
* 2007-10-11 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-112-5/+21
| | | | * udp.stp: Add name argument for all probes.
* 2007-10-10 Martin Hunt <hunt@redhat.com>hunt2007-10-102-2/+10
| | | | | * aux_syscalls.stp (_stp_lookup_str): When defaulting to a numeric value, append, don't overwrite.
* 2007-10-10 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-092-0/+10
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * aux_syscalls.stp (_stp_lookup_or_str) redirect to _stp_lookup_str if val is 0.
* rpc.stp: Replaced atomic_read()'s with kread()'smmason2007-10-092-2/+6
|
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-092-0/+9
| | | | | | PR5153 * aux_syscalls.stp (_sighandler_str): No sa_restorer field for IA64.
* 2007-10-09 Martin Hunt <hunt@redhat.com>hunt2007-10-093-2/+22
| | | | | | | | | * syscalls2.stp (sys_signal): Call _sighandler_str(). * aux_syscalls.stp (_stp_sigset_str): Don't include SIG_0. (_sighandler_str): New.
* 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-092-0/+5
| | | | * queue_stats.stp (qsq_start): Add destruction for qs_utime.
* 2007-10-09 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-092-9/+15
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * memory.stp (addr_to_node): Fix the compilation error of function addr_to_node on IA64.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-052-0/+11
| | | | | * aux_syscalls.stp: Put #ifdef CONFIG_COMPAT around compat code.
* 2007-10-05 Martin Hunt <hunt@redhat.com>hunt2007-10-053-83/+123
| | | | | | | | | | | | | | * 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.
* rhbz 319611: htonl and friends in tapsetfche2007-10-052-0/+12
| | | | | | | | | | 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.
* 2007-10-04 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-042-2/+7
| | | | * queue_stats.stp (qsq_print): Make value of ops/s output as float
* 2007-10-03 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-033-1/+15
| | | | | | * aux_syscalls.stp(_sockopt_level_str): Add support for protocol number 134~137. * socket.stp (global define,begin): Ditto.
* 2007-10-02 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-10-022-8/+39
| | | | | * tcp.stp: Add name argument for all probes. * tcp.stp (tcp.setsockopt.return): Add comment.
* 2007-10-01 Martin Hunt <hunt@redhat.com>hunt2007-10-012-1/+6
| | | | | * aux_syscalls.stp (_str_lookup_str): Print unmatched values in hex.
* 2007-10-01 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-302-1/+5
| | | | * socket.stp (_success_check): Fix compare method.
* 2007-09-27 Martin Hunt <hunt@redhat.com>hunt2007-09-272-286/+268
| | | | | | | | | | | | | | * 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.
* 2007-09-27 Wenji Huang <wenji.huang@oracle.com>wenji2007-09-274-1/+20
| | | | | | * 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.
* 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-272-2/+10
| | | | | | | 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.
* 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-272-2/+9
| | | | | | | 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.
* 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-272-2/+9
| | | | | * tcp.stp (sendmsg.return): Fix description of size variable. * tcp.stp (recvmsg.return): Ditto.
* 2007-09-27 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-272-1/+15
| | | | | | * socket.stp (aio_read): Fix compile error with kernel version less than 2.6.19. * socket.stp (aio_write): Ditto.
* Updated vfs.stp.mmason2007-09-261-0/+13
|
* Specified explicit types for __find_bdevname() parameters and return value. ↵mmason2007-09-261-12/+22
| | | | | | | | 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.
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-261-0/+8
| | | | | | | | 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").
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-261-4/+16
| | | | | | | | 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")
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-263-40/+45
| | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> modify field-access operator from "." to "->" in all files.
* 2007-09-26 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-263-1/+28
| | | | | | * syscalls.stp (adjtimex.return): Improve retstr. * aux_syscalls.stp: Add a function(_adjtimex_return_str) for adjtimex.return.
* typo fixfche2007-09-251-1/+1
|
* socket.stp build fix for 2.6.9 kernelfche2007-09-252-0/+7
| | | | | | 2007-09-25 Frank Ch. Eigler <fche@elastic.org> * socket.stp (sock_flags_num2str): Define SOCK_PASSCRED if needed.
* * build fix on rhel4fche2007-09-252-1/+5
| | | | | | 2007-09-25 Frank Ch. Eigler <fche@elastic.org> * socket.stp (__i2n_ip_proto): Add a cast for 32-bit compatibility.
* remove problematic $target variable from signal.sendfche2007-09-252-2/+7
| | | | | | | 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.
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-252-2/+4
| | | | * syscalls2.stp (sys_readlinkat): Make optional.
* 2007-09-25 Martin Hunt <hunt@redhat.com>hunt2007-09-252-1/+8
| | | | | * aux_syscalls.stp (_struct_compat_timeval_u): ifdef CONFIG_COMPAT so buildok test will pass.
* 2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-251-0/+6
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * rpc.stp Fix the wrong calling of returnstr($return) to returnstr(1) or returnstr(2).
* 2007-09-25 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-09-251-12/+14
| | | | | | From Cai Fei <caifei@cn.fujitsu.com> * rpc.stp Fix the wrong calling of returnstr($return) to returnstr(1) or returnstr(2).