summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Correct compat_sys_utimensat arg.wcohen2007-08-232-1/+5
|
* 2007-08-23 Martin Hunt <hunt@redhat.com>hunt2007-08-232-1/+5
| | | | * syscalls2.stp (sys_tee.return): Make optional
* 2007-08-23 Martin Hunt <hunt@redhat.com>hunt2007-08-232-2/+9
| | | | | | * aux_syscalls.stp (_struct_compat_timeval_u): Fix array reference. (_struct_compat_timespec_u): Cast args to long.
* 2007-08-23 Martin Hunt <hunt@redhat.com>hunt2007-08-233-6/+21
| | | | | | | From Cai Fei <caifei@cn.fujitsu.com> * aux_syscalls.stp (_waitid_opt_str): New. (_wait4_opt_str): Just handle wait4 options. * syscalls2.stp (sys_waitid): Use _waitid_opt_str.
* 2007-08-23 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-232-21/+39
| | | | | | | * rpc.stp (sunrpc.svc.process, sunrpc.svc.recv): Modify evaluating sv_name,sv_prog,sv_nrthreads in kernel>=2.6.19. (sunrpc.sched.delay,sunrpc.sched.delay): Fix typo. (sunrpc.*.return): Change name by adding "return".
* 2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-231-1/+11
| | | | | | | | | | * aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE (used in send, sendto, sendmsg and compat_sys_sendmsg). Change name of _send_flags_str to _sendflags_str for unify with _recvflags_str. * syscalls2.stp(send, sendto, sendmsg, compat_sys_sendmsg): Change name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
* 2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-231-5/+5
| | | | | * syscalls2.stp: Change name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
* 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-231-1/+2
| | | | | | | * aux_syscalls.stp (_send_flags_str): Add support for MSG_MORE (used in send, sendto, sendmsg and compat_sys_sendmsg). Change name of _send_flags_str to _sendflags_str for unify with _recvflags_str.
* 2007-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-226-401/+397
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ppc64/syscalls.stp: Remove a bunch of non-ppc64 specific probes. * syscalls.stp (compat_sys_epoll_ctl): New. (compat_sys_epoll_wait): New. (sys_epoll_pwait): New. (compat_sys_epoll_pwait): New. (compat_sys_keyctl): New. (compat_sys_mq_open): New. (compat_sys_futex): New. (compat_sys_mq_timedsend): New. (compat_sys_mq_timedreceive): New. (compat_sys_mq_notify): New. (compat_sys_mq_getsetattr): New. (init_module): Make optional and quote args. (sys_eventfd): New. * syscalls2.stp (sys_splice): New. (sys_vmsplice): New. (compat_sys_vmsplice): New. (sys_tee): New. (sys_signalfd): New. (compat_sys_signalfd): New. (sys_timerfd): New. (compat_sys_timerfd): New. (old32_readdir): New.
* *** empty log message ***hunt2007-08-221-0/+4
|
* 2007-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-224-3/+34
| | | | * futimes.c (main): Add utimensat tests.
* 2007-08-22 Martin Hunt <hunt@redhat.com>hunt2007-08-225-274/+250
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * aux_syscalls.stp (_utimensat_flag_str): New. (_dfd_str): New. (_struct_timeval2_u): Deleted. (_struct_timeval_u): Take a number of structs to decode. (_struct_compat_timeval2_u): Deleted (_struct_compat_timeval_u): Take a number of structs to decode. (_struct_timespec_u): Take a number of structs to decode. Recognize UTIME_NOW and UTIME_OMIT. (_struct_compat_timespec_u): Ditto. * syscalls.stp (compat_sys_old_getrlimit): Removed. (sys_migrate_pages): New. (sys_move_pages): New. * syscalls2.stp (compat_sys_sigprocmask): Removed. Calls sys_sigprocmask. (compat_sys_sysinfo): New. (compat_sys_rt_sigtimedwait): New. (sys_utimensat, compat_sys_utimensat): New. * ppc64/syscalls.stp (compat_sys_sigpending): Removed. Calls sys_ func. (compat_sys_setrlimit): Ditto. (compat_sys_getrlimit): Ditto. (compat_sys_old_getrlimit): Ditto. (compat_sys_getrusage): Ditto. (compat_sys_wait4): Ditto. (compat_sys_sched_setaffinity): Ditto. (compat_sys_sched_getaffinity): Ditto.
* 2007-08-22 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-222-18/+25
| | | | | | | * nfsd.stp (nfsd.proc?.*): Modify evaluating client_ip with function addr_from_rqst to make it compatible in kernel>=2.6.19 (nfsd.proc4.compound,nfsd.read,nfsd.write): Fix typo. (nfsd.unlink): Fix reference to variable iap.
* 2007-08-22 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-223-80/+79
| | | | | | | | | | * nfs.stp (__iov_length): Updated, Temporary here. * nfs_proc.stp (__i2n_ip_proto): Add type cast to sockaddr_in. (nfs.proc?.*): Modify evaluating count and offset. (nfs.proc?.read.return): Delete evaluating size and units. (nfs.proc?.write.return): Modify evaluating size. (nfs.proc?.create): Modify evaluating filename and filelen. (nfs.proc?.rename): Fix typo.
* 2007-08-22 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-222-1/+6
| | | | | * syscalls2.stp (syscall.setdomainname): Add argstr content (argstr = "" -> argstr = sprintf("%p, %d", $name, $len).
* 2007-08-21 David Smith <dsmith@redhat.com>dsmith2007-08-215-29/+311
| | | | | | | | | | | * foreach_limit.stp: Added test for sorting numeric arrays by value. * foreach_limit.exp: Ditto. PR 2305 * foreach_limit2.stp: New file. Tests sorting aggregate arrays by value. * foreach_limit2.exp: Ditto.
* 2007-08-21 David Smith <dsmith@redhat.com>dsmith2007-08-212-2/+19
| | | | | | | PR 2305 * translate.cxx (c_unparser::visit_foreach_loop): When the user requested sorting an array of aggregates by value, sort by @count.
* 2007-08-21 Frank Ch. Eigler <fche@elastic.org>fche2007-08-213-0/+17
| | | | | | From Cai Fei <caifei@cn.fujitsu.com>: * syscalls2.stp, syscalls.stp: Added several missing argstr/retstr variables.
* 2007-08-21 Martin Hunt <hunt@redhat.com>hunt2007-08-212-3/+19
| | | | | * mainloop.c (start_cmd): Send SIGINT to target_cmd, not stapio.
* 2007-08-21 Frank Ch. Eigler <fche@elastic.org>fche2007-08-212-1/+7
| | | | | PR 4942 * systemtap.base/kmodule.stp: Add "never" probe for type inference.
* 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-212-0/+3
| | | | | * aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT used in recv, recvfrom, recvmsg, compat_sys_recvmsg
* 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-211-0/+5
| | | | | * syscalls2.stp (syscall.select): Fixed variable name error (timeout_uaddr = $tv->$tvp).
* 2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>zhaolei2007-08-211-1/+1
| | | | | * syscalls2.stp (syscall.selec): Fixed variable name error (timeout_uaddr = $tv->$tvp).
* Correct my email address in AUTHORS.jistone2007-08-201-2/+2
|
* 2007-08-20 Martin Hunt <hunt@redhat.com>hunt2007-08-202-25/+4
| | | | * stack.c (_stp_kta): Removed.
* 2007-08-20 Masami Hiramatsu <mhiramat@redhat.com>hiramatu2007-08-204-7/+22
| | | | | | | * ioblock.stp: Fix __bio_ino() not to access i_ino if the page is not assigned to any inode. * stack-x86_64.c: Fix backtrace to use the value of stack register instead of its address.
* 2007-08-20 Martin Hunt <hunt@redhat.com>hunt2007-08-204-1/+41
| | | | | | | | | PR2424 From Lai Jiangshan <laijs@cn.fujitsu.com> * util.cxx (cmdstr_quoted): New. Properly quote command string. * buildrun.cxx (run_pass): Call cmdstr_quoted().
* 2007-08-20 Martin Hunt <hunt@redhat.com>hunt2007-08-202-0/+74
| | | | | * systemtap.base/cmd_parse.exp: New file. Test command parsing for "-c".
* 2007-08-20 Frank Ch. Eigler <fche@elastic.org>fche2007-08-202-29/+72
| | | | | From Satoru MORIYA <satoru.moriya.br@hitachi.com> * staplog.c: Updated.
* 2007-08-20 David Smith <dsmith@redhat.com>dsmith2007-08-203-0/+22
| | | | | | * parseko/cmdline15.stp: Added new test to make sure options '-c cmd' and '-x pid' are mutually exclusive. * parseko/cmdline16.stp: Ditto.
* 2007-08-20 David Smith <dsmith@redhat.com>dsmith2007-08-202-0/+12
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * main.cxx (main): Make sure the '-c' and '-x' options can't be specified together.
* 2007-08-20 David Smith <dsmith@redhat.com>dsmith2007-08-202-0/+11
| | | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * common.c (parse_args): Make sure the '-c' and '-x' options can't be specified together.
* 2007-08-20 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-202-12/+26
| | | | | | | * nfs.stp (nfs.fop.aio_read, nfs.fop.aio_write): Modify evaluating count. (__iov_length): New function. (nfs.fop.sendfile, nfs.aop.set_page_dirty, nfs.aop.prepare_write, nfs.aop.release_page): Fix typo.
* *** empty log message ***hunt2007-08-191-0/+7
|
* 2007-08-17 Martin Hunt <hunt@redhat.com>hunt2007-08-173-1/+8
| | | | | | | | PR3857 From Masami Hiramatsu * utt.c (utt_subbuf_start_callback): Use overwrite flag. * control.c (_stp_ctl_open_cmd): Set overwrite_flag off. (_stp_ctl_close_cmd): Set overwrite flag on.
* 2007-08-17 Frank Ch. Eigler <fche@elastic.org>fche2007-08-172-33/+19
| | | | | | | As suggested by "Zhaolei" <zhaolei@cn.fujitsu.com>: * elaborate.cxx (semantic_pass_optimize[12], unresolved, invalid, mismatch): Use stringstream and print_error(semantic_error) instead of ad-hoc cerr.
* 2007-08-17 Martin Hunt <hunt@redhat.com>hunt2007-08-172-4/+8
| | | | * bench2/bench.rb: Send HUP to stapio, instead of staprun.
* 2007-08-17 Martin Hunt <hunt@redhat.com>hunt2007-08-172-2/+5
| | | | | From Lai Jiangshan <laijs@cn.fujitsu.com> * syscalls.stp (creat): Fix argstr.
* 2007-08-17 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-171-4/+4
| | | | | | | * ioscheduler.stp (ioscheduler.elv_add_request, ioscheduler.elv_completed_request): Add checking $rq. * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
* 2007-08-17 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-172-4/+11
| | | | | | | * ioscheduler.stp (ioscheduler.elv_add_request, ioscheduler.elv_completed_request): Add checking $rq. * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.
* 2007-08-16 Frank Ch. Eigler <fche@elastic.org>fche2007-08-176-0/+54
| | | | | | | | | PR 1315. * target_set.stp: New tapset file. * stapfuncs.5.in: Document new target_set tapset. * buildok/fortyfive.stp: New test.
* 2007-08-16 Frank Ch. Eigler <fche@elastic.org>fche2007-08-173-3/+13
| | | | | | * Makefile.am (install-exec-hook): Only make staprun setuid if "make install" is being run as root. * Makefile.in: Regenerated.
* 2007-08-16 Josh Stone <joshua.i.stone@intel.com>jistone2007-08-1715-66/+253
| | | | | | | | | | | | | | | | | | | | | | | | | | PR 4591 * parse.cxx (parser::parse_symbol): Tweak 'print' matching to allow all the new variants with printd and println. * staptree.h (struct print_format): Add fields for the new print variants, and parse_print() to help matching. * staptree.cxx (print_format::parse_print): New static method to match the print variants and determine their properties. (print_format::print): Handle the new print types. (deep_copy_visitor::visit_print_format): Copy the new fields. * translate.cxx (c_unparser::visit_print_format): Insert delims and newlines where appropriate for new print functions. * stap1.in: Document the new print functions. testsuite/ * lib/stap_run.exp: Make sure to match the entire output, in case there are multiple pass/fail messages. * buildok/printf.stp: Add lines for new print variants. * parseko/printd01.stp: Make sure that bad printd calls are handled. * parseko/printd02.stp: Ditto. * parseko/printd03.stp: Ditto. * parseko/printd04.stp: Ditto. * systemtap.base/print.stp: Try a bunch of different print calls. * systemtap.base/print.exp: Driver for above.
* 2007-08-16 Martin Hunt <hunt@redhat.com>hunt2007-08-162-0/+45
| | | | * all_syscalls.stp: New file. Useful for debugging.
* 2007-08-16 Martin Hunt <hunt@redhat.com>hunt2007-08-162-2/+11
| | | | | | | | * aux_syscalls.stp (_sock_family_str): Add PF_IUCV, PF_RXRPC, PF_TIPC. From zhaolei@cn.fujitsu.com Remove PF_UNIX. PF_LOCAL is correct.
* 2007-08-16 Martin Hunt <hunt@redhat.com>hunt2007-08-164-11/+28
| | | | | | | | | | | | | | * aux_syscalls.stp (__get_argv): Add parameter to optionally skip the first argv (argv[0]). (__get_compat_argv): Ditto. * syscalls.stp (execve): Set args to the whole argv. For argstr use filename plus argv starting at [1]. (compat_execve): Ditto. * ppc64/syscalls.stp (sys32_exevve): Ditto. From Cai Fei <caifei@cn.fujitsu.com> * syscalls.stp (sts_getpgid): Add pid arg.
* 2007-08-15 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-162-1/+5
| | | | * errno.stp: Fix Typo for EADV
* 2007-08-15 Wenji Huang <wenji.huang@oracle.com>wenji2007-08-162-37/+62
| | | | | | * aux_syscalls.stp(_reboot_flag_str,_futex_op_str,_mprotect_prot_str, _fcntl_cmd_str, _quotaclt_cmd_str, _sock_type_str, _rlimit_resource_str, _rusage_who_str): Add new entries, modify default return string."
* 2007-08-15 Martin Hunt <hunt@redhat.com>hunt2007-08-156-56/+128
| | | | | | | | | * x86_64/syscalls.stp: Add support for sys32_mmap[2], sys32_vm86_warning, and sys32_pipe. * s390x/syscalls.stp (get_mmap_args): Move to aux_syscalls. * aux_syscalls.stp (get_mmap_args): Moved here. * syscalls.stp: Add sys32_alarm. * syscalls2.stp: Add sys32_uname.
* 2007-08-15 David Smith <dsmith@redhat.com>dsmith2007-08-152-1/+11
| | | | * staprun.c (main): Quit if effective uid is not root.