]> sourceware.org Git - systemtap.git/log
systemtap.git
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.

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

* systemtap.printf/*b.exp: Use stap_merge.tcl.

17 years ago2007-08-14 David Smith <dsmith@redhat.com>
dsmith [Tue, 14 Aug 2007 19:48:35 +0000 (19:48 +0000)]
2007-08-14  David Smith  <dsmith@redhat.com>

Merge from setuid-branch.  Changes also by Martin Hunt
<hunt@redhat.com>.

* staprun.c (init_staprun): Drop CAP_SYS_ADMIN when we're done
with it.
(main): Calls parse_modpath instead of path_parse_modname.  Just
call parse_modpath with argv[optind]. Let it allocate and set
modpath and modname.  If no modulename was given, display usage
and exit.  Drop CAP_SYS_NICE when we're done with it.  Set
atexit(exit_cleanup) so cleanup always gets called and modules get
removed.  Call handle_symbols.
(run_stapio): Set argv[0] to stapio so that it executes as itself
instead of staprun.
(cleanup): Only do cleanups once and only try to remove module
when appropriate.
(exit_cleanup): New. Calls cleanup().
(mountfs): Sets uid to root before making directory and then
restores uid.
(setup_ctl_channel): Uses DEBUGFS define and improved
error message.
(setup_relayfs): Ditto.
(setup_oldrelayfs): Uses DEBUGFS and RELAYFS defines.
(run_stp_check): Replaced by mountfs().
(mountfs): New function.  Replaces an external script with C code.
(init_staprun): Calls mountfs() instead of run_stp_check().

* staprun.h: Renamed path_parse_modname to parse_modpath.  Added
MODULE_NAME_LEN define.  Added [_][p]err macros.  Removed
VERSION_CMD.

* mainloop.c (cleanup_and_exit): Make sure initialized is 2
before exiting with code 2.
(stp_main_loop): Set initialized to 2 when STP_TRANSPORT
is received. Call cleanup_and_exit() with proper status.
(start_cmd): exit 1 instead of -1.
(system_cmd): Ditto.
(init_staprun): Renamed init_stapio.
(cleanup_and_exit): Set exit status.

* cap.c: New file.
* common.c: New file.
* stapio.c: New file.
* staprun_funcs.c: New file.
* Makefile: Removed.

* symbols.c (get_sections): Move the filter code up so that
uninteresting section names are filtered out before
attempting to open them.
(do_kernel_symbols): Better detect overfow conditions and realloc
new space.
(do_module): After sending all modules, send a null message to
indicate we are finished.

* ctl.c (init_ctl_channel): When attempting to attach, if the
control channel doesn't exist, print a better error message.

* relay_old.c (init_oldrelayfs): Errors out if
open_relayfs_files() couldn't open any files.

PR 4795
* mainloop.c (send_request): Fixed buffer overflow check.
* staprun.h: Added buffer overflow checking versions of
strcpy/sprintf/snprintf.
* common.c (path_parse_modname): Checks for overflows on
strcpy/sprintf/snprintf.
(read_buffer_info): Ditto.
* ctl.c (init_ctl_channel): Ditto.
* relay.c (init_relayfs): Ditto.
* relay_old.c (open_relayfs_files): Ditto.
(init_oldrelayfs): Ditto.
* staprun_funcs.c (insert_module): Ditto.
(check_path): Ditto.
* symbols.c (get_sections): Ditto.

17 years ago2007-08-14 David Smith <dsmith@redhat.com>
dsmith [Tue, 14 Aug 2007 19:46:54 +0000 (19:46 +0000)]
2007-08-14  David Smith  <dsmith@redhat.com>

Merge from setuid-branch.  Changes also by Martin Hunt
<hunt@redhat.com>.

* Makefile.am: Added staprun_funcs.c and cap.c to
staprun_SOURCES.  Added -lcap to staprun_LDADD.  Removed
stp_check reference. Added stapio program.  Staprun is now
setuid.
* Makefile.in: Rebuilt.

* configure.ac: Version increase to 0.6 and checks for libcap
availability.  Removed stp_check reference.
* configure: Regenerated.
* stp_check.in: Removed.

* systemtap.spec.in: Version increase to 0.6-1 and added
BuildReq for libcap-devl (and removed sudo requirement).
Added %pre script to create new groups.  Staprun is now
setuid.

* NEWS: Added info on new security model.
* INTERNALS: Removed sudo reference.

* README.security: New file.

* main.cxx (main): Make sure module name isn't too long.
* hash.cxx: Moved MODULE_NAME_LEN define to hash.h.
* hash.h: Moved MODULE_NAME_LEN define here from hash.cxx.

* buildrun.cxx (run_pass): No longer runs staprun with "sudo".

* stap.1.in: Removed sudo references and added information about
the stapdev/stapusr groups.
* staprun.8.in: Added information about module detaching and
attaching.  Removed sudo references and added information
about the stapdev/stapusr groups.  Removed reference to
staprun needing to be run as root.  Removed reference to
removed '-u USERNAME' option.

* .cvsignore: Removed stp_check and added stapio and stap_merge.

17 years ago2007-08-14 David Smith <dsmith@redhat.com>
dsmith [Tue, 14 Aug 2007 15:29:40 +0000 (15:29 +0000)]
2007-08-14  David Smith  <dsmith@redhat.com>

Merge from setuid-branch.  Changes also by Martin Hunt
<hunt@redhat.com>.

* Makefile.am: Added staprun_funcs.c and cap.c to
staprun_SOURCES.  Added -lcap to staprun_LDADD.  Removed
stp_check reference. Added stapio program.  Staprun is now
setuid.
* Makefile.in: Rebuilt.

* configure.ac: Version increase to 0.6 and checks for libcap
availability.  Removed stp_check reference.
* configure: Regenerated.
* stp_check.in: Removed.

* systemtap.spec.in: Version increase to 0.6-1 and added
BuildReq for libcap-devl (and removed sudo requirement).
Added %pre script to create new groups.  Staprun is now
setuid.

* NEWS: Added info on new security model.
* INTERNALS: Removed sudo reference.

* README.security: New file.

* main.cxx (main): Make sure module name isn't too long.
* hash.cxx: Moved MODULE_NAME_LEN define to hash.h.
* hash.h: Moved MODULE_NAME_LEN define here from hash.cxx.

* buildrun.cxx (run_pass): No longer runs staprun with "sudo".

* stap.1.in: Removed sudo references and added information about
the stapdev/stapusr groups.
* staprun.8.in: Added information about module detaching and
attaching.  Removed sudo references and added information
about the stapdev/stapusr groups.  Removed reference to
staprun needing to be run as root.  Removed reference to
removed '-u USERNAME' option.

* .cvsignore: Removed stp_check and added stapio and stap_merge.

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

Merge from setuid-branch.
* configure.ac: Version increase to 0.6.
* configure: Regenerated.

* parseko/cmdline09.stp: Added new test for staprun command line
options.
* parseko/cmdline10.stp: Ditto.
* parseko/cmdline11.stp: Ditto.
* parseko/cmdline12.stp: Ditto.
* parseko/cmdline13.stp: Ditto.
* parseko/cmdline14.stp: Ditto.

* systemtap.samples/args.exp: No longer necessary to use "sudo" to
run staprun.

17 years ago2007-08-14 David Smith <dsmith@redhat.com>
dsmith [Tue, 14 Aug 2007 15:27:58 +0000 (15:27 +0000)]
2007-08-14  David Smith  <dsmith@redhat.com>

Merge from setuid-branch.  Changes also by Martin Hunt
<hunt@redhat.com>.

* control.c (_stp_ctl_write): Make sure we don't overflow.
(_stp_ctl_open_cmd): Do not allow multiple opens of the control
file.
(_stp_ctl_write_cmd): Once STP_START is received, ignore
everything except STP_EXIT.  Create another state variable
"initialized". Don't respond to STP_SYMBOLS or STP_MODULES unless
initialized is 0. Also check that current pid is the same as the
pid that did insmod.
(_stp_register_ctl_channel): Bug fix - sets owner/group after
checking for NULL.

* procfs.c (_stp_ctl_write): Make sure we don't overflow.
(_stp_ctl_open_cmd): Do not allow multiple opens of the control
file.
(_stp_ctl_write_cmd): Once STP_START is received, ignore
everything except STP_EXIT.  Create another state variable
"initialized". Don't respond to STP_SYMBOLS or STP_MODULES unless
initialized is 0. Also check that current pid is the same as the
pid that did insmod.
(_stp_register_ctl_channel): Set ownership of cmd file and percpu
files for bulkmode.

* relayfs.c (utt_trace_setup): Set ownership of percpu files.
Improved error handling.
(utt_trace_remove): Improved error checking.

* utt.c (utt_remove_tree): Improved error checking.
(utt_trace_cleanup): Ditto.
(utt_create_buf_file_callback): Set file ownership.
(utt_create_global_buf_file_callback): Set file ownership.

* transport.h: Delcare _stp_uid, _stp_gid, and _stp_init_pid.
* transport.c (_stp_transport_init): Set _stp_uid, _stp_gid, and
_stp_init_pid.

17 years ago2007-08-14 David Smith <dsmith@redhat.com>
dsmith [Tue, 14 Aug 2007 15:23:59 +0000 (15:23 +0000)]
2007-08-14  David Smith  <dsmith@redhat.com>

Merge from setuid-branch.  Changes also by Martin Hunt
<hunt@redhat.com>.

* staprun.c (init_staprun): Drop CAP_SYS_ADMIN when we're done
with it.
(main): Calls parse_modpath instead of path_parse_modname.  Just
call parse_modpath with argv[optind]. Let it allocate and set
modpath and modname.  If no modulename was given, display usage
and exit.  Drop CAP_SYS_NICE when we're done with it.  Set
atexit(exit_cleanup) so cleanup always gets called and modules get
removed.  Call handle_symbols.
(run_stapio): Set argv[0] to stapio so that it executes as itself
instead of staprun.
(cleanup): Only do cleanups once and only try to remove module
when appropriate.
(exit_cleanup): New. Calls cleanup().
(mountfs): Sets uid to root before making directory and then
restores uid.
(setup_ctl_channel): Uses DEBUGFS define and improved
error message.
(setup_relayfs): Ditto.
(setup_oldrelayfs): Uses DEBUGFS and RELAYFS defines.
(run_stp_check): Replaced by mountfs().
(mountfs): New function.  Replaces an external script with C code.
(init_staprun): Calls mountfs() instead of run_stp_check().

* staprun.h: Renamed path_parse_modname to parse_modpath.  Added
MODULE_NAME_LEN define.  Added [_][p]err macros.  Removed
VERSION_CMD.

* mainloop.c (cleanup_and_exit): Make sure initialized is 2
before exiting with code 2.
(stp_main_loop): Set initialized to 2 when STP_TRANSPORT
is received. Call cleanup_and_exit() with proper status.
(start_cmd): exit 1 instead of -1.
(system_cmd): Ditto.
(init_staprun): Renamed init_stapio.
(cleanup_and_exit): Set exit status.

* cap.c: New file.
* common.c: New file.
* stapio.c: New file.
* staprun_funcs.c: New file.
* Makefile: Removed.

* symbols.c (get_sections): Move the filter code up so that
uninteresting section names are filtered out before
attempting to open them.
(do_kernel_symbols): Better detect overfow conditions and realloc
new space.
(do_module): After sending all modules, send a null message to
indicate we are finished.

* ctl.c (init_ctl_channel): When attempting to attach, if the
control channel doesn't exist, print a better error message.

* relay_old.c (init_oldrelayfs): Errors out if
open_relayfs_files() couldn't open any files.

PR 4795
* mainloop.c (send_request): Fixed buffer overflow check.
* staprun.h: Added buffer overflow checking versions of
strcpy/sprintf/snprintf.
* common.c (path_parse_modname): Checks for overflows on
strcpy/sprintf/snprintf.
(read_buffer_info): Ditto.
* ctl.c (init_ctl_channel): Ditto.
* relay.c (init_relayfs): Ditto.
* relay_old.c (open_relayfs_files): Ditto.
(init_oldrelayfs): Ditto.
* staprun_funcs.c (insert_module): Ditto.
(check_path): Ditto.
* symbols.c (get_sections): Ditto.

17 years agoadd entries to _sched_policy_str,_nfsctl_cmd_str
wenji [Mon, 13 Aug 2007 01:58:31 +0000 (01:58 +0000)]
add entries to _sched_policy_str,_nfsctl_cmd_str

17 years ago2007-08-10 Josh Stone <joshua.i.stone@intel.com>
jistone [Sat, 11 Aug 2007 02:19:25 +0000 (02:19 +0000)]
2007-08-10  Josh Stone  <joshua.i.stone@intel.com>

PR 4593
* translate.cxx (c_unparser::emit_common_header): Add an
error_buffer to the context to allow dynamic error messages.
* tapsets.cxx (dwflpp::express_as_string): Let deref / store_deref
fill in last_error with a detailed message.

runtime/
* loc2c-runtime.h (deref, store_deref): Set an error message with
the pointer value and name into last_error, since it's hard to
determine the details once you've already jumped to deref_fault.

tapset/
* conversions.stp (kernel_string, kernel_long, kernel_int,
kernel_short, kernel_char, user_string_warn): Use the
CONTEXT->error_buffer to create an error message instead of a static
local array.

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

From "Zhaolei" zhaolei@cn.fujitsu.com:
* syscalls.stp (msync.return): Correct name variable.

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

From "Zhaolei" zhaolei@cn.fujitsu.com:
* aux_syscalls.stp (_sockopt_optname_str): Add SO_SND/RCVBUFFORCE.

17 years ago2007-08-09 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 9 Aug 2007 16:27:21 +0000 (16:27 +0000)]
2007-08-09  Frank Ch. Eigler  <fche@elastic.org>

From Cai Fei <caifei@cn.fujitsu.com>:
* aux_syscalls.stp (__fork_flags): Decode CLONE_VM, NEWNS, DETACHED.

17 years ago2007-08-09 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 9 Aug 2007 16:21:43 +0000 (16:21 +0000)]
2007-08-09  Frank Ch. Eigler  <fche@elastic.org>

PR 4718, from Eugeniy Meshcheryakov <eugen@debian.org>:
* *.stp: Make all shell scripts lead with #! /usr/bin/stap

17 years ago2007-08-09 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 9 Aug 2007 16:11:28 +0000 (16:11 +0000)]
2007-08-09  Frank Ch. Eigler  <fche@elastic.org>

From Lai Jiangshan <laijs@cn.fujitsu.com>:
* translate.cxx (emit_module_exit): Use stp_warn for warning.

17 years ago2007-08-09 William Cohen <wcohen@redhat.com>
wcohen [Thu, 9 Aug 2007 14:11:43 +0000 (14:11 +0000)]
2007-08-09  William Cohen  <wcohen@redhat.com>

* tapset/syscalls.stp (syscall.compat_execve,
syscall.compat_execve.return):
* tapset/syscalls2.stp (syscall.compat_sys_semtimedop,
syscall.compat_sys_semtimedop.return):
* tapset/i686/syscalls.stp (syscall.set_zone_reclaim,
syscall.set_zone_reclaim.return): Make optional.

17 years ago* change License: tags to GPLv2+ to match the code
fche [Wed, 8 Aug 2007 20:30:36 +0000 (20:30 +0000)]
* change License: tags to GPLv2+ to match the code

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

From "Zhaolei" zhaolei@cn.fujitsu.com:
* aux_syscalls.stp (_sockopt_level_str): Correct level=1 string.

17 years ago2007-08-07 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 8 Aug 2007 03:36:25 +0000 (03:36 +0000)]
2007-08-07  Frank Ch. Eigler  <fche@redhat.com>

PR 4846
* parse.cxx (input_put): New function, sort of like stdio ungetc.
(input_get): Skip cursor position changing for input_put strings.
(scan): Rework $.../@... substitution into character pasting.
* parse.h: Corresponding changes.
* util.h (lex_cast_qstring): Octal-quote unprintable characters.
* stap.1.in, NEWS: Document new behaviour.

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

PR 4846
* parseko/preprocess13.stp, parseok/nineteen.stp,
semok/twentyfive.stp: New tests.

17 years ago2007-08-07 David Smith <dsmith@redhat.com>
dsmith [Tue, 7 Aug 2007 14:33:41 +0000 (14:33 +0000)]
2007-08-07  David Smith  <dsmith@redhat.com>

PR 4736 (partial fix)
* systemtap.printf/end1b.exp: Changed 'FAIL' to 'fail', so
the rest of the testsuite will continue.
* systemtap.printf/mixed_outb.exp: Ditto.
* systemtap.printf/out1b.exp: Ditto.
* systemtap.printf/out2b.exp: Ditto.
* systemtap.printf/out3b.exp: Ditto.

17 years agothread_info is renamed to stack since kernel 2.6.22
wenji [Sat, 4 Aug 2007 14:36:27 +0000 (14:36 +0000)]
thread_info is renamed to stack since kernel 2.6.22

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