]> sourceware.org Git - systemtap.git/log
systemtap.git
17 years ago2007-09-12 Martin Hunt <hunt@redhat.com>
hunt [Wed, 12 Sep 2007 18:21:55 +0000 (18:21 +0000)]
2007-09-12  Martin Hunt  <hunt@redhat.com>

* systemtap.maps/foreach_limit.stp: Clean up the aggregates
section.

* systemtap.maps/foreach_limit2.stp: Remove newline that was
confusing the output match.

* systemtap.maps/linear_bad.exp: Fix expected output.
* systemtap.maps/linear_neg.exp: Ditto.

* systemtap.maps/log.*: New files.
* systemtap.maps/log_edge.*: New files.

* lib/stap_run2.exp (stap_run2): Rewrite. Previous version
was too complex and buggy.

17 years ago2007-09-12 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Wed, 12 Sep 2007 16:48:00 +0000 (16:48 +0000)]
2007-09-12  Masami Hiramatsu <mhiramat@redhat.com>

       PR 4633
       * systemtap.context/backtrace.stp: Add testcases for the return
       probe and the profile probe.
       * systemtap.context/backtrace.tcl: Ditto.
       * /systemtap.context/systemtap_test_module2.c: Ditto.

17 years ago2007-09-12 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 12 Sep 2007 14:50:10 +0000 (14:50 +0000)]
2007-09-12  Frank Ch. Eigler  <fche@elastic.org>

PR 5023.
* buildok/ten.stp: Reactivate and extend.

17 years agoAdd a reference to PR 5014.
jistone [Tue, 11 Sep 2007 18:46:13 +0000 (18:46 +0000)]
Add a reference to PR 5014.

17 years ago2007-09-11 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 11 Sep 2007 16:22:18 +0000 (16:22 +0000)]
2007-09-11  Josh Stone  <joshua.i.stone@intel.com>

* systemtap.maps/pmap_agg_overflow.stp: Ensure that the percpu arrays
don't overflow before we get the chance to test aggregation overflow.
Also use a more optimal overflow limit (MAXMAPENTRIES + 1).

17 years ago2007-09-10 David Smith <dsmith@redhat.com>
dsmith [Mon, 10 Sep 2007 20:47:23 +0000 (20:47 +0000)]
2007-09-10  David Smith  <dsmith@redhat.com>

* tapsets.cxx (procfs_derived_probe_group::emit_module_init):
Improved procfs probe handling (still non-working).
(procfs_builder::build): Ditto.
(register_standard_tapsets): Ditto.
(all_session_groups): Ditto.

17 years ago2007-09-10 Martin Hunt <hunt@redhat.com>
hunt [Mon, 10 Sep 2007 16:20:55 +0000 (16:20 +0000)]
2007-09-10  Martin Hunt  <hunt@redhat.com>

* tapsets.cxx, session.h, elaborate.cxx: Start of procfs
interaction support. PR 1154.

17 years ago2007-09-10 Martin Hunt <hunt@redhat.com>
hunt [Mon, 10 Sep 2007 16:18:42 +0000 (16:18 +0000)]
2007-09-10  Martin Hunt  <hunt@redhat.com>

* procfs.c: New file. Common runtime procfs functions.

17 years ago2007-09-10 Martin Hunt <hunt@redhat.com>
hunt [Mon, 10 Sep 2007 16:17:00 +0000 (16:17 +0000)]
2007-09-10  Martin Hunt  <hunt@redhat.com>

* procfs.c (_stp_register_ctl_channel): Call
_stp_mkdir_proc_module().
(_stp_unregister_ctl_channel): Call _stp_rmdir_proc_module().
* transport.c: Include ../procfs.c runtime procfs functions.

17 years ago2007-09-10 Wenji Huang <wenji.huang@oracle.com>
wenji [Mon, 10 Sep 2007 07:54:10 +0000 (07:54 +0000)]
2007-09-10 Wenji Huang  <wenji.huang@oracle.com>

       * systemtap.stress/current.stp: Make module probe optional.
       * buildok/four.stp: Ditto.
       * buildok/twentyfive.stp: Ditto.
       * semok/twelve.stp: Ditto.

17 years ago* link to wiki status page
fche [Thu, 6 Sep 2007 19:49:16 +0000 (19:49 +0000)]
* link to wiki status page

17 years ago2007-09-06 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Thu, 6 Sep 2007 18:08:44 +0000 (18:08 +0000)]
2007-09-06 Masami Hiramatsu <mhiramat@redhat.com>

PR4542
* tapsets.cxx (dwarf_query::build_blacklist): add __switch_to to
blacklisted_return_probes on i686
* systemtap.stress/current.stp: Don't probe the return of __switch_to
on i686

17 years ago2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 6 Sep 2007 01:28:41 +0000 (01:28 +0000)]
2007-09-06  Zhaolei  <zhaolei@cn.fujitsu.com>

* aux_syscalls.stp (_stp_sockaddr_str): Fix memory access error
when calling with addrlen set to 0.

17 years ago2007-09-06 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 6 Sep 2007 00:15:23 +0000 (00:15 +0000)]
2007-09-06  Zhaolei  <zhaolei@cn.fujitsu.com>

* aux_syscalls.stp (_module_flags_str): Modify combination of
flags' values.

17 years ago2007-09-05 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 5 Sep 2007 18:09:08 +0000 (18:09 +0000)]
2007-09-05  Frank Ch. Eigler  <fche@elastic.org>

* pf2.stp: Exploit sortable aggregates.

17 years agoAdded open_file_handles tapset function and man page for task tapsets.
srikar [Tue, 4 Sep 2007 10:36:59 +0000 (10:36 +0000)]
Added open_file_handles tapset function and man page for task tapsets.

17 years ago2007-09-04 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 4 Sep 2007 06:16:14 +0000 (06:16 +0000)]
2007-09-04  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* syscalls2.stp (quotactl): Init special_str before use.
(rt_sigqueueinfo): Change pid's type from %p to %d in argstr.

17 years ago2007-08-31 Martin Hunt <hunt@redhat.com>
hunt [Fri, 31 Aug 2007 14:28:31 +0000 (14:28 +0000)]
2007-08-31  Martin Hunt  <hunt@redhat.com>

* mainloop.c (start_cmd): Set the priority to
forked processes back to normal.
(system_cmd): Ditto.

17 years ago2007-08-31 Martin Hunt <hunt@redhat.com>
hunt [Fri, 31 Aug 2007 13:58:49 +0000 (13:58 +0000)]
2007-08-31  Martin Hunt  <hunt@redhat.com>

* mainloop.c (start_cmd): Set the priority to
forked processes back to normal.

17 years ago2007-08-31 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 31 Aug 2007 08:08:55 +0000 (08:08 +0000)]
2007-08-31  Zhaolei  <zhaolei@cn.fujitsu.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* aux_syscalls.stp (_mknod_mode_str): Fix file type
judgement error.

17 years ago*** empty log message ***
wenji [Fri, 31 Aug 2007 02:43:52 +0000 (02:43 +0000)]
*** empty log message ***

17 years ago2007-08-30 David Smith <dsmith@redhat.com>
dsmith [Thu, 30 Aug 2007 20:23:50 +0000 (20:23 +0000)]
2007-08-30  David Smith  <dsmith@redhat.com>

PR 4983
* translate.cxx (c_tmpcounter::visit_print_format): Don't declare
temporaries for number and string constants.
(c_unparser::visit_print_format): Use numeric and string constants
directly instead of copying them into temporaries.

17 years ago2007-08-30 Wenji Huang <wenji.huang@oracle.com>
wenji [Thu, 30 Aug 2007 09:35:54 +0000 (09:35 +0000)]
2007-08-30  Wenji Huang  <wenji.huang@oracle.com>

        * nfs.stp (__iov_length): Update.
        (nfs.fop.aio_read, nfs.fop.aio_write): Update calling __iov_length.
        * vfs.stp (generic.fop.aio_read, generic.fop.aio_write): Modify evaluating count,buf.
        (generic.fop.readv*, generic.fop.writev*, generic.fop.splice_read*,
        generic.fop.splice_write*, generic.fop.read*, generic.fop.write*): Make optional.
        (vfs.__set_page_dirty_buffers.return): Add condition.
        (vfs.remove_from_page_cache.return): Fix typo.
        (vfs.block_sync_page.return): Remove size and units.

17 years ago2007-08-30 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 30 Aug 2007 07:47:13 +0000 (07:47 +0000)]
2007-08-30  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp (syslog): Make $buf output as address in argstr.

17 years ago2007-08-29 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 29 Aug 2007 07:21:24 +0000 (07:21 +0000)]
2007-08-29  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp (sysfs): Make numbers of args in
argstr always same.

17 years ago2007-08-29 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 29 Aug 2007 06:12:35 +0000 (06:12 +0000)]
2007-08-29  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp (sysfs): Set argstr's format different
by value of option arg.

17 years ago2007-08-28 Wenji Huang <wenji.huang@oracle.com>
wenji [Wed, 29 Aug 2007 03:39:00 +0000 (03:39 +0000)]
2007-08-28  Wenji Huang  <wenji.huang@oracle.com>

        * tcp.stp (sockstate): Fix typo.

17 years ago2007-08-28 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 28 Aug 2007 00:19:59 +0000 (00:19 +0000)]
2007-08-28  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls.stp (bdflush): Add comma between args in argstr
Set second parameter(data)'s type by first parameter(func)'s
value in argstr.

17 years ago2007-08-28 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 28 Aug 2007 00:18:55 +0000 (00:18 +0000)]
2007-08-28  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls.stp (bdflush): Add comma between args in argstr.
Set second parameter(data)'s type by first parameter(func)'s
value in argstr.

17 years ago2007-08-27 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 27 Aug 2007 20:32:53 +0000 (20:32 +0000)]
2007-08-27  Frank Ch. Eigler  <fche@redhat.com>

PR 4817
* NEWS: Mention retirement of LKET.
* configure.ac: Remove mysql dependency.
* systemtap.spec.in: Remove glib2 dependency.
* configure, config.in: Regenerated.

17 years ago2007-08-27 Martin Hunt <hunt@redhat.com>
hunt [Mon, 27 Aug 2007 16:44:10 +0000 (16:44 +0000)]
2007-08-27  Martin Hunt  <hunt@redhat.com>

* context.stp (module_name): New. Returns the current
module name.

* tcp.stp (tcp_sendmsg): For 2.6.23, parameters change.

17 years ago2007-08-27 Martin Hunt <hunt@redhat.com>
hunt [Mon, 27 Aug 2007 14:20:34 +0000 (14:20 +0000)]
2007-08-27  Martin Hunt  <hunt@redhat.com>

* systemtap.context/context.exp (build_modules): Change
build order to prevent messages about no version for yyy_int64.

17 years agoChanges in configure scripts, Makefiles required for removing LKET from
srikar [Mon, 27 Aug 2007 14:18:19 +0000 (14:18 +0000)]
Changes in configure scripts, Makefiles required for removing LKET from
systemtap (PR 4817)

17 years agoRemoving tapset/LKET directory.
srikar [Mon, 27 Aug 2007 11:45:07 +0000 (11:45 +0000)]
Removing tapset/LKET directory.

17 years agoRemoving LKET tapset files. (PR 4817: retiring LKET services)
srikar [Mon, 27 Aug 2007 10:22:05 +0000 (10:22 +0000)]
Removing LKET tapset files. (PR 4817: retiring LKET services)

17 years ago2007-08-27 Wenji Huang <wenji.huang@oracle.com>
wenji [Mon, 27 Aug 2007 09:11:56 +0000 (09:11 +0000)]
2007-08-27  Wenji Huang  <wenji.huang@oracle.com>

        * signal.stp (signal.do_action): Modify evaluating sa_handler,sa_mask.

17 years agoRemoving LKET files.
srikar [Mon, 27 Aug 2007 05:15:29 +0000 (05:15 +0000)]
Removing LKET files.

17 years ago2007-08-27 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Mon, 27 Aug 2007 00:45:31 +0000 (00:45 +0000)]
2007-08-27  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp(sendto): Set $addr as content string in argstr.

17 years ago2007-08-24 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 25 Aug 2007 01:52:42 +0000 (01:52 +0000)]
2007-08-24  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac: Check for proper $PROCFLAGS-dependent -lcap.
* Makefile.am (staprun_LDADD): Use autoconf variable rather than
-lcap literal.
* configure, aclocal.m4, Makefile.in, config.in: Regenerated.

17 years ago2007-08-24 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 24 Aug 2007 19:32:39 +0000 (19:32 +0000)]
2007-08-24  Frank Ch. Eigler  <fche@redhat.com>

PR 4899
* semko/thirtynine.stp: Removed test, now that bug #1305 has become
mooted/undone.

17 years ago2007-08-24 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 24 Aug 2007 19:26:51 +0000 (19:26 +0000)]
2007-08-24  Frank Ch. Eigler  <fche@redhat.com>

PR 4899
* tapsets.cxx (dwflpp::has_single_line_record): Extended,
abstraction violated.
(iterate_over_srcfile_lines): Remove exactly line number match
logic.  Improve error message to offered better-checked alternative
line numbers.
(query_srcfile_line): Whoops, pass scope_die down for statement("...")
probes, to enable $target var processing.

2007-08-24  Frank Ch. Eigler  <fche@redhat.com>

PR 4899
* buildok/fortytwo.stp: New test.

17 years ago2007-08-24 Wenji Huang <wenji.huang@oracle.com>
wenji [Fri, 24 Aug 2007 09:16:47 +0000 (09:16 +0000)]
2007-08-24  Wenji Huang  <wenji.huang@oracle.com>

        * scheduler.stp (scheduler.cpu_on,scheduler.migrate): Make optional.
        (scheduler.migrate): Modify evaluating cpu_from with task_cpu.

17 years ago2007-08-24 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Fri, 24 Aug 2007 00:42:16 +0000 (00:42 +0000)]
2007-08-24  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp(send): Add len argument into argstr.

17 years agoCorrect compat_sys_utimensat arg.
wcohen [Thu, 23 Aug 2007 15:30:38 +0000 (15:30 +0000)]
Correct compat_sys_utimensat arg.

17 years ago2007-08-23 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Aug 2007 14:06:45 +0000 (14:06 +0000)]
2007-08-23  Martin Hunt  <hunt@redhat.com>

* syscalls2.stp (sys_tee.return): Make optional

17 years ago2007-08-23 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Aug 2007 13:08:58 +0000 (13:08 +0000)]
2007-08-23  Martin Hunt  <hunt@redhat.com>

* aux_syscalls.stp (_struct_compat_timeval_u): Fix
array reference.
(_struct_compat_timespec_u): Cast args to long.

17 years ago2007-08-23 Martin Hunt <hunt@redhat.com>
hunt [Thu, 23 Aug 2007 13:05:49 +0000 (13:05 +0000)]
2007-08-23  Martin Hunt  <hunt@redhat.com>
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.

17 years ago2007-08-23 Wenji Huang <wenji.huang@oracle.com>
wenji [Thu, 23 Aug 2007 09:37:40 +0000 (09:37 +0000)]
2007-08-23  Wenji Huang  <wenji.huang@oracle.com>

        * 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".

17 years ago2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 23 Aug 2007 01:52:26 +0000 (01:52 +0000)]
2007-08-23  Zhaolei  <zhaolei@cn.fujitsu.com>

* 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.

17 years ago2007-08-23 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 23 Aug 2007 01:47:36 +0000 (01:47 +0000)]
2007-08-23  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp: Change name of _send_flags_str to _sendflags_str
for unify with _recvflags_str.

17 years ago2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Thu, 23 Aug 2007 01:46:33 +0000 (01:46 +0000)]
2007-08-21  Zhaolei  <zhaolei@cn.fujitsu.com>

* 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.

17 years ago2007-08-22 Martin Hunt <hunt@redhat.com>
hunt [Wed, 22 Aug 2007 20:41:32 +0000 (20:41 +0000)]
2007-08-22  Martin Hunt  <hunt@redhat.com>

* 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.

17 years ago*** empty log message ***
hunt [Wed, 22 Aug 2007 20:40:40 +0000 (20:40 +0000)]
*** empty log message ***

17 years ago2007-08-22 Martin Hunt <hunt@redhat.com>
hunt [Wed, 22 Aug 2007 18:28:31 +0000 (18:28 +0000)]
2007-08-22  Martin Hunt  <hunt@redhat.com>

* futimes.c (main): Add utimensat tests.

17 years ago2007-08-22 Martin Hunt <hunt@redhat.com>
hunt [Wed, 22 Aug 2007 15:12:22 +0000 (15:12 +0000)]
2007-08-22  Martin Hunt  <hunt@redhat.com>

* 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.

17 years ago2007-08-22 Wenji Huang <wenji.huang@oracle.com>
wenji [Wed, 22 Aug 2007 09:42:12 +0000 (09:42 +0000)]
2007-08-22  Wenji Huang  <wenji.huang@oracle.com>

        * 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.

17 years ago2007-08-22 Wenji Huang <wenji.huang@oracle.com>
wenji [Wed, 22 Aug 2007 03:41:17 +0000 (03:41 +0000)]
2007-08-22  Wenji Huang  <wenji.huang@oracle.com>

        * 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.

17 years ago2007-08-22 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Wed, 22 Aug 2007 03:23:09 +0000 (03:23 +0000)]
2007-08-22  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp (syscall.setdomainname): Add argstr content
(argstr = "" -> argstr = sprintf("%p, %d", $name, $len).

17 years ago2007-08-21 David Smith <dsmith@redhat.com>
dsmith [Tue, 21 Aug 2007 21:30:55 +0000 (21:30 +0000)]
2007-08-21  David Smith  <dsmith@redhat.com>

* 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.

17 years ago2007-08-21 David Smith <dsmith@redhat.com>
dsmith [Tue, 21 Aug 2007 21:28:09 +0000 (21:28 +0000)]
2007-08-21  David Smith  <dsmith@redhat.com>

PR 2305
* translate.cxx (c_unparser::visit_foreach_loop): When the user
requested sorting an array of aggregates by value, sort by
@count.

17 years ago2007-08-21 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 21 Aug 2007 18:15:54 +0000 (18:15 +0000)]
2007-08-21  Frank Ch. Eigler  <fche@elastic.org>

From Cai Fei <caifei@cn.fujitsu.com>:
* syscalls2.stp, syscalls.stp: Added several missing argstr/retstr
variables.

17 years ago2007-08-21 Martin Hunt <hunt@redhat.com>
hunt [Tue, 21 Aug 2007 16:28:43 +0000 (16:28 +0000)]
2007-08-21  Martin Hunt  <hunt@redhat.com>

* mainloop.c (start_cmd): Send SIGINT to target_cmd,
not stapio.

17 years ago2007-08-21 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 21 Aug 2007 12:45:14 +0000 (12:45 +0000)]
2007-08-21  Frank Ch. Eigler  <fche@elastic.org>

PR 4942
* systemtap.base/kmodule.stp: Add "never" probe for type inference.

17 years ago2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 21 Aug 2007 02:11:36 +0000 (02:11 +0000)]
2007-08-21  Zhaolei  <zhaolei@cn.fujitsu.com>

* aux_syscalls.stp (_recvflags_str): Add support for MSG_DONTWAIT
used in recv, recvfrom, recvmsg, compat_sys_recvmsg

17 years ago2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 21 Aug 2007 01:39:40 +0000 (01:39 +0000)]
2007-08-21  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp (syscall.select): Fixed variable name error
(timeout_uaddr = $tv->$tvp).

17 years ago2007-08-21 Zhaolei <zhaolei@cn.fujitsu.com>
zhaolei [Tue, 21 Aug 2007 01:35:55 +0000 (01:35 +0000)]
2007-08-21  Zhaolei  <zhaolei@cn.fujitsu.com>

* syscalls2.stp (syscall.selec): Fixed variable name error
(timeout_uaddr = $tv->$tvp).

17 years agoCorrect my email address in AUTHORS.
jistone [Mon, 20 Aug 2007 22:19:21 +0000 (22:19 +0000)]
Correct my email address in AUTHORS.

17 years ago2007-08-20 Martin Hunt <hunt@redhat.com>
hunt [Mon, 20 Aug 2007 18:50:02 +0000 (18:50 +0000)]
2007-08-20  Martin Hunt  <hunt@redhat.com>

* stack.c (_stp_kta): Removed.

17 years ago2007-08-20 Masami Hiramatsu <mhiramat@redhat.com>
hiramatu [Mon, 20 Aug 2007 18:25:14 +0000 (18:25 +0000)]
2007-08-20  Masami Hiramatsu <mhiramat@redhat.com>

* 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.

17 years ago2007-08-20 Martin Hunt <hunt@redhat.com>
hunt [Mon, 20 Aug 2007 17:55:03 +0000 (17:55 +0000)]
2007-08-20  Martin Hunt  <hunt@redhat.com>
PR2424
From Lai Jiangshan <laijs@cn.fujitsu.com>

* util.cxx (cmdstr_quoted): New. Properly quote
command string.
* buildrun.cxx (run_pass): Call cmdstr_quoted().

17 years ago2007-08-20 Martin Hunt <hunt@redhat.com>
hunt [Mon, 20 Aug 2007 17:45:38 +0000 (17:45 +0000)]
2007-08-20  Martin Hunt  <hunt@redhat.com>

* systemtap.base/cmd_parse.exp: New file.  Test
command parsing for "-c".

17 years ago2007-08-20 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 20 Aug 2007 15:58:33 +0000 (15:58 +0000)]
2007-08-20  Frank Ch. Eigler  <fche@elastic.org>

From Satoru MORIYA <satoru.moriya.br@hitachi.com>
* staplog.c: Updated.

17 years ago2007-08-20 David Smith <dsmith@redhat.com>
dsmith [Mon, 20 Aug 2007 15:00:33 +0000 (15:00 +0000)]
2007-08-20  David Smith  <dsmith@redhat.com>

* parseko/cmdline15.stp: Added new test to make sure options '-c
cmd' and '-x pid' are mutually exclusive.
* parseko/cmdline16.stp: Ditto.

17 years ago2007-08-20 David Smith <dsmith@redhat.com>
dsmith [Mon, 20 Aug 2007 14:03:56 +0000 (14:03 +0000)]
2007-08-20  David Smith  <dsmith@redhat.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* main.cxx (main): Make sure the '-c' and '-x' options can't be
specified together.

17 years ago2007-08-20 David Smith <dsmith@redhat.com>
dsmith [Mon, 20 Aug 2007 14:02:47 +0000 (14:02 +0000)]
2007-08-20  David Smith  <dsmith@redhat.com>

From Lai Jiangshan <laijs@cn.fujitsu.com>
* common.c (parse_args): Make sure the '-c' and '-x' options can't
be specified together.

17 years ago2007-08-20 Wenji Huang <wenji.huang@oracle.com>
wenji [Mon, 20 Aug 2007 08:11:59 +0000 (08:11 +0000)]
2007-08-20  Wenji Huang  <wenji.huang@oracle.com>

        * 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.

17 years ago*** empty log message ***
hunt [Sun, 19 Aug 2007 13:04:08 +0000 (13:04 +0000)]
*** empty log message ***

17 years ago2007-08-17 Martin Hunt <hunt@redhat.com>
hunt [Fri, 17 Aug 2007 20:02:15 +0000 (20:02 +0000)]
2007-08-17  Martin Hunt  <hunt@redhat.com>
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.

17 years ago2007-08-17 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 17 Aug 2007 17:29:30 +0000 (17:29 +0000)]
2007-08-17  Frank Ch. Eigler  <fche@elastic.org>

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.

17 years ago2007-08-17 Martin Hunt <hunt@redhat.com>
hunt [Fri, 17 Aug 2007 16:46:17 +0000 (16:46 +0000)]
2007-08-17  Martin Hunt  <hunt@redhat.com>

* bench2/bench.rb: Send HUP to stapio, instead of staprun.

17 years ago2007-08-17 Martin Hunt <hunt@redhat.com>
hunt [Fri, 17 Aug 2007 15:05:11 +0000 (15:05 +0000)]
2007-08-17  Martin Hunt  <hunt@redhat.com>
From Lai Jiangshan <laijs@cn.fujitsu.com>
* syscalls.stp (creat): Fix argstr.

17 years ago2007-08-17 Wenji Huang <wenji.huang@oracle.com>
wenji [Fri, 17 Aug 2007 09:39:08 +0000 (09:39 +0000)]
2007-08-17  Wenji Huang  <wenji.huang@oracle.com>

        * ioscheduler.stp (ioscheduler.elv_add_request,
        ioscheduler.elv_completed_request): Add checking $rq.

        * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.

17 years ago2007-08-17 Wenji Huang <wenji.huang@oracle.com>
wenji [Fri, 17 Aug 2007 09:29:27 +0000 (09:29 +0000)]
2007-08-17  Wenji Huang  <wenji.huang@oracle.com>

        * ioscheduler.stp (ioscheduler.elv_add_request,
        ioscheduler.elv_completed_request): Add checking $rq.

        * memory.stp (_IS_ZERO_PAGE): Modify reference to arguments.

17 years ago2007-08-16 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 17 Aug 2007 02:25:22 +0000 (02:25 +0000)]
2007-08-16  Frank Ch. Eigler  <fche@elastic.org>

PR 1315.
* target_set.stp: New tapset file.

* stapfuncs.5.in: Document new target_set tapset.

* buildok/fortyfive.stp: New test.

17 years ago2007-08-16 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 17 Aug 2007 02:05:42 +0000 (02:05 +0000)]
2007-08-16  Frank Ch. Eigler  <fche@elastic.org>

* Makefile.am (install-exec-hook): Only make staprun setuid if
"make install" is being run as root.
* Makefile.in: Regenerated.

17 years ago2007-08-16 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 17 Aug 2007 01:54:28 +0000 (01:54 +0000)]
2007-08-16  Josh Stone  <joshua.i.stone@intel.com>

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.

17 years ago2007-08-16 Martin Hunt <hunt@redhat.com>
hunt [Thu, 16 Aug 2007 15:58:19 +0000 (15:58 +0000)]
2007-08-16  Martin Hunt  <hunt@redhat.com>

* all_syscalls.stp: New file.  Useful for debugging.

17 years ago2007-08-16 Martin Hunt <hunt@redhat.com>
hunt [Thu, 16 Aug 2007 13:12:07 +0000 (13:12 +0000)]
2007-08-16  Martin Hunt  <hunt@redhat.com>

* 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.

17 years ago2007-08-16 Martin Hunt <hunt@redhat.com>
hunt [Thu, 16 Aug 2007 12:55:19 +0000 (12:55 +0000)]
2007-08-16  Martin Hunt  <hunt@redhat.com>

* 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.

17 years ago2007-08-15 Wenji Huang <wenji.huang@oracle.com>
wenji [Thu, 16 Aug 2007 09:11:20 +0000 (09:11 +0000)]
2007-08-15  Wenji Huang  <wenji.huang@oracle.com>

        * errno.stp: Fix Typo for EADV

17 years ago2007-08-15 Wenji Huang <wenji.huang@oracle.com>
wenji [Thu, 16 Aug 2007 02:27:46 +0000 (02:27 +0000)]
2007-08-15  Wenji Huang  <wenji.huang@oracle.com>

      * 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."

17 years ago2007-08-15 Martin Hunt <hunt@redhat.com>
hunt [Wed, 15 Aug 2007 19:17:35 +0000 (19:17 +0000)]
2007-08-15  Martin Hunt  <hunt@redhat.com>

* 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.

17 years ago2007-08-15 David Smith <dsmith@redhat.com>
dsmith [Wed, 15 Aug 2007 17:37:21 +0000 (17:37 +0000)]
2007-08-15  David Smith  <dsmith@redhat.com>

* staprun.c (main): Quit if effective uid is not root.

17 years ago2007-08-15 David Smith <dsmith@redhat.com>
dsmith [Wed, 15 Aug 2007 17:03:56 +0000 (17:03 +0000)]
2007-08-15  David Smith  <dsmith@redhat.com>

* systemtap.spec.in: Updated %pre to latest Fedora group creation
guidelines.

* stap.1.in: Changed '/usr' to '@prefix@' so the values will be
updated correctly.
* stapfunc.5.in: Ditto.

* README.security: Typo fix.

17 years ago2007-08-15 David Smith <dsmith@redhat.com>
dsmith [Wed, 15 Aug 2007 17:01:19 +0000 (17:01 +0000)]
2007-08-15  David Smith  <dsmith@redhat.com>

* systemtap.spec.in: Updated %pre to latest Fedora group creation
guidelines.

* stap.1.in: Changed '/usr' to '@prefix@' so the values will be
updated correctly.
* stapfunc.5.in: Ditto.

17 years ago*** empty log message ***
hunt [Wed, 15 Aug 2007 16:13:09 +0000 (16:13 +0000)]
*** empty log message ***

17 years ago2007-08-15 Martin Hunt <hunt@redhat.com>
hunt [Wed, 15 Aug 2007 14:44:21 +0000 (14:44 +0000)]
2007-08-15  Martin Hunt  <hunt@redhat.com>
PR4736
* staprun.c (cleanup): Set priority back to normal
before removing module.

17 years ago2007-08-15 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 15 Aug 2007 14:21:55 +0000 (14:21 +0000)]
2007-08-15  Frank Ch. Eigler  <fche@elastic.org>

* context.stp (cpuid, cpu): Use smp_processor_id().

17 years ago2007-08-15 Martin Hunt <hunt@redhat.com>
hunt [Wed, 15 Aug 2007 13:59:19 +0000 (13:59 +0000)]
2007-08-15  Martin Hunt  <hunt@redhat.com>

* Makefile.am: Removed stap_merge.
* Makefile.in: Rebuilt.

17 years ago2007-08-15 Martin Hunt <hunt@redhat.com>
hunt [Wed, 15 Aug 2007 13:56:04 +0000 (13:56 +0000)]
2007-08-15  Martin Hunt  <hunt@redhat.com>

* stap_merge.tcl: New.

This page took 0.06334 seconds and 5 git commands to generate.