]> sourceware.org Git - systemtap.git/log
systemtap.git
17 years ago2007-03-15 David Smith <dsmith@redhat.com>
dsmith [Thu, 15 Mar 2007 21:36:23 +0000 (21:36 +0000)]
2007-03-15  David Smith  <dsmith@redhat.com>

* .cvsignore: Added "config.log" and "config.status".

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 22:32:58 +0000 (22:32 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>
* main.cxx (usage): Remove "-M" and edit description
of "-b".
* stap.1.in: Remove "-M" option and edit description of "-b".
Edit description of "-o".

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 22:27:49 +0000 (22:27 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>
* stap.1.in: Remove "-M" option and edit description of "-b".

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 22:07:49 +0000 (22:07 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>
* stpd: Remove directory.
* relayfs: Remove directory.

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 22:04:16 +0000 (22:04 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>
* Makefile.am: Don't install old relayfs sources.
* makefile.in: Rebuilt.

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 16:19:37 +0000 (16:19 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>

* Makefile.am (staprun_SOURCES): Sources now live in
runtime/staprun.
* makefile.in: Rebuilt.

* staprun.8.in: Updated.

* buildrun.cxx (run_pass): Use "-v" instead of not "-q" to
be compatible with latest staprun.
* translate.cxx (emit_module_exit): Print warning using
_stp_printf so it shows up at the end of all output.
(translate_pass): Replace STP_RELAYFS with STP_BULKMODE.
Eliminate STP_RELAYFS_MERGE.

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 16:13:33 +0000 (16:13 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>

* bench2/bench.rb: Updated to work with new transport
and new itest.c.
* bench2/Makefile: Updated for new itest.c
* bench2/itest.c: Rewritten to use multiple threads
and automatically divide the workload among the threads.

* print.c (_stp_print_flush): Move to print_new.c and
print_old.c.
* print_new.c: New file containing _stp_print_flush()
for the new transport.
* print_old.c: Ditto for old transport.

* runtime.h (STP_OLD_TRANSPORT): Define
(errk): Define.
(MAXSTRINGLEN): Define if not already defined.

* io.c (_stp_vlog): Use _stp_ctl_write().

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 16:12:40 +0000 (16:12 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>

* transport_msgs.h: ifdef old messages as such.
Add support for new transport.
* relayfs.c: Simplify and add new interface to look
like utt.
* utt.[ch]: New files. Similar to the proposed utt interface.
These setup and teardown relayfs on debugfs.
* control.c: New file. Implements a simple control channel.
A small subset of procfs.c.
* procfs.c: This is now only used for old kernels lacking newer
relayfs. Change STP_RELAYFS to STP_BULKMODE. Use new
messages from transport_msgs.h. Don't support
RELAYFS_CHANNEL_VERSION >= 4. CHanges all control channel functions
to new names. Use pids instead of module names in /proc names.

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 16:11:30 +0000 (16:11 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>

* staprun.c: Renamed from stpd.c. Removed quiet and print_only
options. Added "-x" option as an alias for "-t". Removed "-m"
option. Updated arg processing to leave 4 slots for modoptions[].
Bump the priority of staprun.
* ctl.c: New. Transport control channel functions.
* relay.c: New. Relayfs control functions for new transport.
* relay_old.c: New. Relayfs control functions for older
versions of relayfs.
* mainloop.c: New. Staprun main loop.
* staprun.h: Renamed from librelay.h. Cleaned up.

* stap_merge.c: Renamed. Updated for modified save format.

17 years ago2007-03-13 Frank Ch. Eigler <fche@redhat.com>
fche [Wed, 14 Mar 2007 15:20:45 +0000 (15:20 +0000)]
2007-03-13  Frank Ch. Eigler  <fche@redhat.com>

PR 4171.
* Makefile.am (check, installcheck): Pass build-tree pointers
in environment variables.
* configure.ac: Run separate configury for testsuite/.
* configure, Makefile.in: Regenerated.

2007-03-14  Frank Ch. Eigler  <fche@redhat.com>

PR 4171.
* configure.ac, configure, aclocal.m4: New files to permit
testsuite-only build tree.
* Makefile.am (RUNTEST): Arrange a crazy concoction of
environment/make variable for runtest.
* Makefile.in: Regenerated.
* */*.stp: Switch test cases from "./stap" to "stap" throughout.
* lib/systemtap.exp: Assume/trace environment variables.
(stap_run_batch): Add "#! stap"-handling hack.

17 years ago2007-03-14 Martin Hunt <hunt@redhat.com>
hunt [Wed, 14 Mar 2007 07:11:11 +0000 (07:11 +0000)]
2007-03-14  Martin Hunt  <hunt@redhat.com>

* systemtap.base/div0.stp: Fix so output
won't possibly have the error message before the printed
output.
* systemtap.base/maxactive.exp: Ditto.
* systemtap.maps/ix_clear.stp: Ditto.
* systemtap.maps/ix_clear2.stp: Ditto.
* systemtap.samples/args.exp: Remove obsolete "-r" option
to staprun.

17 years ago2007-03-12 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 12 Mar 2007 18:28:47 +0000 (18:28 +0000)]
2007-03-12  Frank Ch. Eigler  <fche@elastic.org>

* librelay.c (init_stp): Use /proc/MODULE rather than
/proc/systemtap/MODULE.

2007-03-12  Frank Ch. Eigler  <fche@elastic.org>

* procfs.c (_stp_register_procfs): Use /proc/MODULE rather than
/proc/systemtap/MODULE.

17 years ago2007-03-12 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 12 Mar 2007 17:15:30 +0000 (17:15 +0000)]
2007-03-12  Frank Ch. Eigler  <fche@redhat.com>

PR 4179.
Based on patch from Vasily Averin <vvs@sw.ru>:
* time.c (_stp_init_time): Recover from partial failures.

2007-03-12  Frank Ch. Eigler  <fche@redhat.com>

PR 4179.
Based on patch from Vasily Averin <vvs@sw.ru>:
* procfs.c (_stp_register_procfs): Recover from partial failures.
* transport.c (_stp_transport_open): Ditto.

17 years agoFix ChangeLog whitespace errors.
roland [Fri, 9 Mar 2007 22:11:48 +0000 (22:11 +0000)]
Fix ChangeLog whitespace errors.

17 years ago2007-03-07 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 7 Mar 2007 15:51:42 +0000 (15:51 +0000)]
2007-03-07  Frank Ch. Eigler  <fche@elastic.org>

PR 4116.
* buildok/twentyseven.stp: New test.
* systemtap.pass1-4/buildok.exp: kfail it.

17 years ago2007-03-07 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 7 Mar 2007 15:45:23 +0000 (15:45 +0000)]
2007-03-07  Frank Ch. Eigler  <fche@elastic.org>

PR 4166.
* tapsets.cxx (translate_components): Throw an exception rather
then suffer an assertion failure for $ptr[index] expressions.

17 years ago2007-03-06 David Smith <dsmith@redhat.com>
dsmith [Tue, 6 Mar 2007 19:15:41 +0000 (19:15 +0000)]
2007-03-06  David Smith  <dsmith@redhat.com>

* systemtap.base/alternatives.exp: Changed the probed kernel
function from 'signal_wake_up' (which wasn't present on some
kernels) to 'sys_getrlimit'.

17 years ago2007-03-05 David Smith <dsmith@redhat.com>
dsmith [Mon, 5 Mar 2007 20:41:28 +0000 (20:41 +0000)]
2007-03-05  David Smith  <dsmith@redhat.com>

* systemtap.spec.in: Made example perl script non-executable so
that the systemtap rpm won't require perl.

17 years ago2007-03-04 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 4 Mar 2007 19:38:20 +0000 (19:38 +0000)]
2007-03-04  Frank Ch. Eigler  <fche@redhat.com>

* stap.1.in, stapex.5.in, staprun.8.in: Tweak text to remove
authors credits, update examples and pointers.

17 years ago2007-03-02 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 2 Mar 2007 20:22:20 +0000 (20:22 +0000)]
2007-03-02  Frank Ch. Eigler  <fche@elastic.org>

PR 4121
* systemtap.stress/conversions.exp: Fix & improve below patch.

17 years ago2007-03-01 Frank Ch. Eigler <fche@redhat.com>
fche [Fri, 2 Mar 2007 02:53:30 +0000 (02:53 +0000)]
2007-03-01  Frank Ch. Eigler  <fche@redhat.com>

PR 4121
* systemtap.stress/conversions.exp: Bypass address=0 test for s390x.

17 years agoRewrote s390x version of __stp_put_asm and __stp_put_asm to do single
dwilder [Thu, 1 Mar 2007 19:04:18 +0000 (19:04 +0000)]
Rewrote s390x version of  __stp_put_asm and __stp_put_asm to do single
byte writes.

17 years ago(kernel_int) added goto success; (PR 4419)
dwilder [Thu, 1 Mar 2007 18:03:05 +0000 (18:03 +0000)]
(kernel_int) added goto success; (PR 4419)

17 years ago2007-02-28 David Smith <dsmith@redhat.com>
dsmith [Wed, 28 Feb 2007 15:10:26 +0000 (15:10 +0000)]
2007-02-28  David Smith  <dsmith@redhat.com>

* systemtap.spec.in: Fixed %{_libexecdir}/systemtap path in
systemtap-runtime %files section.

17 years ago2007-02-27 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Feb 2007 23:05:53 +0000 (23:05 +0000)]
2007-02-27  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.spec.in (/var/cache/systemtap): Forget it.
(stp_check): Pack this in with systemtap-runtime.
* stp_check.in: Add LANG=C for speed.

17 years ago2007-02-27 David Smith <dsmith@redhat.com>
dsmith [Tue, 27 Feb 2007 22:49:35 +0000 (22:49 +0000)]
2007-02-27  David Smith  <dsmith@redhat.com>

* staprun.8.in: Added a basic staprun man page.
* Makefile.am: Added staprun.8.
* Makefile.in: Regenerated.
* configure.ac: Added staprun.8.
* configure: Regenerated.
* systemtap.spec.in: Added staprun.8 and other document files to
staprun RPM.
* .cvsignore: Ignores staprun.8.

17 years ago* add sudo as a dependency for systemtap (not -runtime)
fche [Tue, 27 Feb 2007 22:03:41 +0000 (22:03 +0000)]
* add sudo as a dependency for systemtap (not -runtime)

17 years agonone
fche [Tue, 27 Feb 2007 21:02:09 +0000 (21:02 +0000)]
none

17 years ago2007-02-27 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 27 Feb 2007 20:58:40 +0000 (20:58 +0000)]
2007-02-27  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (dwflpp setup): Print "missing kernel debuginfo"
message consistently for, er, missing kernel debuginfo.
(query_kernel_exists): Zapped.

17 years agoloc2c-runtime.h: Added defines for EX_TABLE needed by older
dwilder [Tue, 27 Feb 2007 19:05:18 +0000 (19:05 +0000)]
loc2c-runtime.h: Added defines for EX_TABLE needed by older
s390 kernels that do not already have it defined.

17 years ago2007-02-27 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 27 Feb 2007 19:03:44 +0000 (19:03 +0000)]
2007-02-27  Frank Ch. Eigler  <fche@redhat.com>

PR 4105
* buildok/twentysix.stp: New test.
* systemtap.pass1-4/buildok.exp: kfail it.

17 years ago2007-02-27 David Smith <dsmith@redhat.com>
dsmith [Tue, 27 Feb 2007 18:25:04 +0000 (18:25 +0000)]
2007-02-27  David Smith  <dsmith@redhat.com>

* systemtap.spec.in: Fedora Packaging Guidelines updates.  Updated
BuildRoot macro value to Fedora Extras standard value.  No longer
uses %makeinstall macro.  The rpm now owns the
/usr/libexec/systemtap directory.

17 years ago2007-02-26 David Smith <dsmith@redhat.com>
dsmith [Mon, 26 Feb 2007 20:41:58 +0000 (20:41 +0000)]
2007-02-26  David Smith  <dsmith@redhat.com>

* Makefile.am: Removed 'update-examples' target.  Moved
functionality to systemtap.spec.in.
* Makefile.in: Regenerated from Makefile.am.
* systemtap.spec.in: Fixes paths in the example scripts directly.

17 years ago2007-02-26 David Smith <dsmith@redhat.com>
dsmith [Mon, 26 Feb 2007 19:29:47 +0000 (19:29 +0000)]
2007-02-26  David Smith  <dsmith@redhat.com>

* Makefile.am: Added 'update-examples' target that fixes paths in
the example code we ship in the rpm.
* Makefile.in: Regenerated from Makefile.am.
* systemtap.spec.in: Calls "make update-examples" target to fix
the path to systemtap in the example scripts.

17 years agoChanged the s390 versions of __stp_put_asm __stp_get_asm to use EX_TABLE macro elimi...
dwilder [Mon, 26 Feb 2007 01:41:46 +0000 (01:41 +0000)]
Changed the s390 versions of  __stp_put_asm __stp_get_asm to use EX_TABLE macro eliminating the need for both a s390 and s390x version of these functions.  This alos fixed an aligment problem building the the exception table.

17 years ago* printf format warning fix
fche [Sun, 25 Feb 2007 23:56:47 +0000 (23:56 +0000)]
* printf format warning fix

17 years ago2007-02-25 Frank Ch. Eigler <fche@redhat.com>
fche [Sun, 25 Feb 2007 23:03:49 +0000 (23:03 +0000)]
2007-02-25  Frank Ch. Eigler  <fche@redhat.com>

* elaborate.h (match_node, derived_probe_builder): Add
build_no_more member function.
* elaborate.cxx (semantic_pass_symbols): Call it.
* tapsets.cxx (dwarf_builder): Implement it by releasing dwflpp
instance after pass 2, freeing mucho memory.

17 years ago2007-02-23 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 23 Feb 2007 23:16:57 +0000 (23:16 +0000)]
2007-02-23  Josh Stone  <joshua.i.stone@intel.com>

PR 4096
* tapsets.cxx (hrtimer_derived_probe_group::emit_module_decls):
Adapt the function signature for changes in 2.6.21.
(hrtimer_derived_probe_group::emit_module_init): Fix the enum name
for 2.6.21 as well.

17 years agomore warning elision
fche [Fri, 23 Feb 2007 15:30:15 +0000 (15:30 +0000)]
more warning elision

17 years agoCreated an s390x version of syscall.mmap, syscall.mmap2, syscall.mmap.return,
dwilder [Thu, 22 Feb 2007 23:11:59 +0000 (23:11 +0000)]
Created an s390x version of syscall.mmap, syscall.mmap2, syscall.mmap.return,
syscall.mmap2.return.

17 years ago2007-02-19 David Smith <dsmith@redhat.com>
dsmith [Tue, 20 Feb 2007 15:37:50 +0000 (15:37 +0000)]
2007-02-19  David Smith  <dsmith@redhat.com>

PR 4081
* Makefile.am: The symbolic link that the Makefile creates to stap
now points to the installed version of stap when "make
installcheck" is run.
* Makefile.in: Regenerated.

17 years agoexcise memories of /usr/local
fche [Mon, 19 Feb 2007 20:31:27 +0000 (20:31 +0000)]
excise memories of /usr/local

17 years ago2007-02-19 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 19 Feb 2007 18:28:52 +0000 (18:28 +0000)]
2007-02-19  Frank Ch. Eigler  <fche@elastic.org>

PR 4078 and more, including patch from
Eugeniy Meshcheryakov <eugen@debian.org>:
* Makefile.am (AM_CXXFLAGS, AM_CFLAGS): Add -Wextra -Wall -Werror
consistently.
* Makefile.in: Regenerated.
(*): Many minor warning fixes.

17 years agomention printk
fche [Sun, 18 Feb 2007 16:03:08 +0000 (16:03 +0000)]
mention printk

17 years ago2007-02-17 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 17 Feb 2007 12:26:14 +0000 (12:26 +0000)]
2007-02-17  Frank Ch. Eigler  <fche@elastic.org>

PR 4066.
* translate.cxx (var::init): Check stat scalar initialization,
just like is done for arrays.
(emit_module_exit): Check unlikely but possible null timing stat.

17 years ago2007-02-16 David Smith <dsmith@redhat.com>
dsmith [Fri, 16 Feb 2007 16:02:45 +0000 (16:02 +0000)]
2007-02-16  David Smith  <dsmith@redhat.com>

* systemtap.base/alternatives.exp: New test case.

17 years ago2007-02-15 David Smith <dsmith@redhat.com>
dsmith [Thu, 15 Feb 2007 21:55:05 +0000 (21:55 +0000)]
2007-02-15  David Smith  <dsmith@redhat.com>

PR 3625.
* tapsets.cxx (dwflpp::print_locals): New function to print all
the variables/parameters of a function.
(dwflpp::find_variable_and_frame_base): Calls print_locals() when
target variable can't be found.
(dwflpp::print_members): New function to print all the members of
a union/structure.
(dwflpp::translate_components) Calls print_members() when
union/structure member target variable reference can't be found.

17 years ago2007-02-14 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 14 Feb 2007 14:17:20 +0000 (14:17 +0000)]
2007-02-14  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (emit_module_decls): Assert CONFIG_KPROBES,
as suggested by Andreas Kostyrka <andreas@kostyrka.org>.

17 years agoThe s390x version of store_deref was missed named, I fixed it.
dwilder [Mon, 12 Feb 2007 19:00:20 +0000 (19:00 +0000)]
The s390x version of store_deref was missed named,  I fixed it.

17 years ago2007-02-12 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 12 Feb 2007 15:22:35 +0000 (15:22 +0000)]
2007-02-12  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (query_statement): Tolerate null file name string.

17 years ago2007-02-09 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 9 Feb 2007 19:01:30 +0000 (19:01 +0000)]
2007-02-09  Frank Ch. Eigler  <fche@elastic.org>

* conversions.stp (*): Make errmsg usage uniform.

17 years ago* d'oh - disable tests unless [installtest_p]
fche [Fri, 9 Feb 2007 18:57:11 +0000 (18:57 +0000)]
* d'oh - disable tests unless [installtest_p]

17 years ago* fixed -P doc typo
fche [Fri, 9 Feb 2007 15:16:32 +0000 (15:16 +0000)]
* fixed -P doc typo
* added atomic issues to %{ %} docs

17 years ago2007-02-09 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 9 Feb 2007 13:45:49 +0000 (13:45 +0000)]
2007-02-09  Frank Ch. Eigler  <fche@elastic.org>

PR 3965
* configure.ac: Add --enable-prologue option.
* configure, config.in: Regenerated.
* session.h (prologue_searching): New field.
* main.cxx (main): Parse new "-P" option.  Initialize based on
autoconf flag.
* stap.1.in, NEWS: Document it.
* hash.cxx (find_hash): Include it in computation.
* tapsets.cxx (query_func_info, query_cu): Respect it.

2007-02-09  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.base/prologue.*: New test case.

17 years ago2007-02-07 Martin Hunt <hunt@redhat.com>
hunt [Wed, 7 Feb 2007 15:54:10 +0000 (15:54 +0000)]
2007-02-07  Martin Hunt  <hunt@redhat.com>

* stack-ppc64.c (__stp_stack_print): Remove an old
reference to the string length and instead limit backtraces
to MAXBACKTRACE.
* stack.c: Define MAXBACKTRACE

17 years ago2007-02-06 Josh Stone <joshua.i.stone@intel.com>
jistone [Wed, 7 Feb 2007 02:54:30 +0000 (02:54 +0000)]
2007-02-06  Josh Stone  <joshua.i.stone@intel.com>

* aux_syscalls.stp, inet_sock.stp, ioblock.stp, ioscheduler.stp,
nfs.stp, nfs_proc.stp, nfsd.stp, rpc.stp, scsi.stp, signal.stp,
socket.stp, task.stp, tcp.stp, vfs.stp: Protect pointer dereferences
with kread wherever possible.  Some places still have hazards, as
marked with FIXMEs.

* errno.stp (returnstr): Don't use return in tapset C functions.
* aux_syscalls.stp (__uget_timex_m): Ditto.
* nfsd.stp (__get_fh): Ditto.
* nfs.stp, vfs.stp (<many functions>): Ditto.
* string.stp (substr): Ditto. Also make sure start index is valid.

* syscalls.stp (syscall.execve): Change __string to kernel_string.

LKET/
* nfs.stp, nfs_proc.stp, nfsd.stp, process.stp, tskdispatch.stp:
Protect pointer dereferences with kread wherever possible.  Some
places still have hazards, as marked with FIXMEs.

* aio.stp (log_io_getevents): Don't use return in tapset C functions.
* timestamp.stp (set_timing_method): Ditto.
* utils.stp (filter_by_pid): Ditto.

17 years agoadd a #!
jistone [Wed, 7 Feb 2007 02:18:35 +0000 (02:18 +0000)]
add a #!

17 years ago2007-02-06 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 6 Feb 2007 22:55:59 +0000 (22:55 +0000)]
2007-02-06  Josh Stone  <joshua.i.stone@intel.com>

runtime/
* loc2c-runtime.h (kread): Let it work with const types.

testsuite/
* systemtap.base/deref.stp: Test kread with const sources.

17 years ago* kernel_{string,long,...,char} protected accessor functions
fche [Tue, 6 Feb 2007 20:23:25 +0000 (20:23 +0000)]
* kernel_{string,long,...,char} protected accessor functions
* test suites for all of 'em too
* even documentation
* mm, donuts

2007-02-06  Frank Ch. Eigler  <fche@elastic.org>

* stapfuncs.5.in: Add docs for kernel_{long,int,short,char} and
some user_string* variants.

2007-02-06  Frank Ch. Eigler  <fche@elastic.org>

* conversions.stp (kernel_long/int/short/char): New functions.

2007-02-06  Frank Ch. Eigler  <fche@elastic.org>

* buildok/conversions.stp: Build-test all conversions.stp functions.
* systemtap.stress/conversions.*: New test.

17 years ago* removing old reminder
fche [Sun, 4 Feb 2007 15:59:30 +0000 (15:59 +0000)]
* removing old reminder

17 years agowordwrap
fche [Wed, 31 Jan 2007 21:03:45 +0000 (21:03 +0000)]
wordwrap

17 years ago2007-01-31 Martin Hunt <hunt@redhat.com>
hunt [Wed, 31 Jan 2007 20:19:19 +0000 (20:19 +0000)]
2007-01-31  Martin Hunt  <hunt@redhat.com>

* translate.cxx (translate_pass): Remove old string impedance
mismatch stuff. Modify included files.

17 years ago2007-01-31 Martin Hunt <hunt@redhat.com>
hunt [Wed, 31 Jan 2007 20:17:02 +0000 (20:17 +0000)]
2007-01-31  Martin Hunt  <hunt@redhat.com>

* context.stp (print_backtrace): Modify for new
_stp_stack_print.
(backtrace): Just use _stp_stack_snprint().
(print_stack): Use new _stp_print* functions.
(probefunc): Use _stp_symbol_snprint.

17 years ago2007-01-31 Martin Hunt <hunt@redhat.com>
hunt [Wed, 31 Jan 2007 20:13:02 +0000 (20:13 +0000)]
2007-01-31  Martin Hunt  <hunt@redhat.com>

* string.c (_stp_string_init): Deleted.
(_stp_sprintf): Deleted.
(_stp_vsprintf): Deleted.
(_stp_string_cat_cstr): Deleted.
(_stp_string_cat_string): Deleted.
(_stp_string_cat_char): Deleted.
(_stp_string_ptr): Deleted.
(_stp_string_cat): Deleted.
(_stp_snprintf): Moved from vsprintf.c.
(_stp_vscnprintf): Moved from vsprintf.c.

* string.h (STP_STRING_SIZE): Deleted.
(STP_NUM_STRINGS): Deleted.
Remove all references to type "String".

        * vsprintf.c (_stp_vscnprintf): Moved to string.c.
(_stp_snprintf): Moved to string.c

* sym.c (_stp_symbol_sprint): Replaced with
_stp_symbol_print, which writes to the print buffer.
(_stp_symbol_sprint_basic): Replaced with
_stp_symbol_snprint.

* runtime.h: Include io.c.

* stat-common.c: Use new _stp_print* functions.
* stat.c: Ditto.

* regs.c: Renamed to regs-ia64.c.
* current.c: Renamed regs.c.
* regs-ia64.c: New file (renamed from regs.c).

* stack.c (_stp_stack_sprint): Renamed _stp_stack_print
and now just prints to the print buffer. Calls
__stp_stack_print instead of __stp_stack_sprint.
(_stp_stack_snprint): New function. Calls _stp_stack_print and
then copies the print buffer into a string.
(_stp_stack_printj): Deleted.
(_stp_ustack_sprint): Deleted.
* stack-*.c: Rewritten to print instead of writing to strings.
Uses new _stp_print* functions.

* print.c (_stp_printf): Create new function instead of macro.
(_stp_print): Ditto.
(_stp_print_char): New function.

* map.c: Use _stp_print() and _stp_print_char()
instead of _stp_print_cstr().

* io.c (_stp_vlog): Use _stp_print() instead
of _stp_string_cat_cstr().

* copy.c (_stp_string_from_user): Deleted.

17 years agodelete statement update
fche [Wed, 31 Jan 2007 19:28:39 +0000 (19:28 +0000)]
delete statement update

17 years ago2007-01-30 Martin Hunt <hunt@redhat.com>
hunt [Tue, 30 Jan 2007 19:19:29 +0000 (19:19 +0000)]
2007-01-30  Martin Hunt  <hunt@redhat.com>

* symbols.c: Comment out many debug lines.

17 years ago2007-01-30 Martin Hunt <hunt@redhat.com>
hunt [Tue, 30 Jan 2007 19:18:06 +0000 (19:18 +0000)]
2007-01-30  Martin Hunt  <hunt@redhat.com>

* io.c (_stp_vlog): Use dynamic percpu allocations
instead of very wasteful static allocations.
* print.c (_stp_print_init): Do percpu allocations
for io.c.
(_stp_print_cleanup): Free percpu allocations.

* string.c (_stp_sprintf): Overflow check needed
to be >= instead of >.

17 years ago2007-01-30 Martin Hunt <hunt@redhat.com>
hunt [Tue, 30 Jan 2007 17:13:46 +0000 (17:13 +0000)]
2007-01-30  Martin Hunt  <hunt@redhat.com>

* alloc.c (_stp_alloc_percpu):  Don't implement
our own; just call __alloc_percpu with appropriate args
for the OS version.
(_stp_free_percpu): Delete.
* map.c (_stp_map_init): When calling kmalloc_node, first
call cpu_to_node() to get the proper node number.
* stat.c (_stp_stat_del): Call free_percpu()
instead of _stp_free_percpu().

17 years ago2007-01-30 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 30 Jan 2007 15:03:27 +0000 (15:03 +0000)]
2007-01-30  Frank Ch. Eigler  <fche@elastic.org>

* socket-trace.stp: Added from the tutorial.

17 years ago2007-01-29 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 29 Jan 2007 20:54:32 +0000 (20:54 +0000)]
2007-01-29  Frank Ch. Eigler  <fche@elastic.org>

* configure.ac, configure: Bumped version to 0.5.13 for development.

17 years ago2007-01-29 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 29 Jan 2007 20:52:51 +0000 (20:52 +0000)]
2007-01-29  Frank Ch. Eigler  <fche@elastic.org>

* translate.cxx (emit_module_init): Add some more type casts to printk args.

17 years agonone
fche [Mon, 29 Jan 2007 20:49:38 +0000 (20:49 +0000)]
none

17 years ago2007-01-29 Martin Hunt <hunt@redhat.com>
hunt [Mon, 29 Jan 2007 20:45:59 +0000 (20:45 +0000)]
2007-01-29  Martin Hunt  <hunt@redhat.com>

* translate.cxx (emit_module_init): BZ3888. Add memory usage for the
runtime to the printk.

17 years ago2007-01-29 Martin Hunt <hunt@redhat.com>
hunt [Mon, 29 Jan 2007 20:44:38 +0000 (20:44 +0000)]
2007-01-29  Martin Hunt  <hunt@redhat.com>

* procfs.c: Count allocated IO memory.
* symbols.c: Use _stp_kmalloc() and _stp_kzalloc().
* transport.c: Count allocated IO memory.

17 years ago2007-01-29 Martin Hunt <hunt@redhat.com>
hunt [Mon, 29 Jan 2007 20:42:16 +0000 (20:42 +0000)]
2007-01-29  Martin Hunt  <hunt@redhat.com>
* alloc.c (_stp_kmalloc): New function. Call kmalloc
with the coirrect flags and track usage.
(_stp_kzalloc): Ditto.
* map.c: Use new alloc calls.
* print.c: Ditto.
* stat.c: Ditto.
* time.c: Ditto.

17 years agoNew example that uses a shell script to process command line options for a systemtap...
mmason [Mon, 29 Jan 2007 20:35:39 +0000 (20:35 +0000)]
New example that uses a shell script to process command line options for a systemtap script.

17 years ago2007-01-29 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 29 Jan 2007 20:32:00 +0000 (20:32 +0000)]
2007-01-29  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (main): For successful last_pass=4, print compiled module name.
* cache.cxx (get_from_cache): Ditto.

2007-01-29  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.base/cache.exp (stap_compile): Accept new -p4 output.

17 years ago2007-01-26 Josh Stone <joshua.i.stone@intel.com>
jistone [Sat, 27 Jan 2007 00:42:31 +0000 (00:42 +0000)]
2007-01-26  Josh Stone  <joshua.i.stone@intel.com>

* vfs.stp (ppos_pos): Change deref() to kread() so i686 passes.

17 years ago.
roland [Fri, 26 Jan 2007 01:12:53 +0000 (01:12 +0000)]
.

17 years ago2007-01-25 Roland McGrath <roland@redhat.com>
roland [Fri, 26 Jan 2007 01:12:46 +0000 (01:12 +0000)]
2007-01-25  Roland McGrath  <roland@redhat.com>

* loc2c-runtime.h (store_deref): Use "Zr" constraint for 64-bit case.

17 years ago__is_idle should be pure.
jistone [Thu, 25 Jan 2007 21:31:32 +0000 (21:31 +0000)]
__is_idle should be pure.

17 years agoFix for missing SOCK_PASSSEC in kernels earlier than 2.6.18.
mmason [Thu, 25 Jan 2007 18:42:37 +0000 (18:42 +0000)]
Fix for missing SOCK_PASSSEC in kernels earlier than 2.6.18.

17 years ago2007-01-25 Martin Hunt <hunt@localhost.localdomain>
hunt [Thu, 25 Jan 2007 17:06:38 +0000 (17:06 +0000)]
2007-01-25  Martin Hunt  <hunt@localhost.localdomain>

* syscalls2.stp: Add sys32_ustat probe.

17 years ago * systemtap.syscall/syscall.exp: Increase timeout for slow machines.
wcohen [Wed, 24 Jan 2007 22:14:20 +0000 (22:14 +0000)]
* systemtap.syscall/syscall.exp: Increase timeout for slow machines.

17 years agoadd helpful blurb
fche [Wed, 24 Jan 2007 14:55:36 +0000 (14:55 +0000)]
add helpful blurb

17 years agoForgot to include ChangeLog in last commit.
mmason [Wed, 24 Jan 2007 07:26:40 +0000 (07:26 +0000)]
Forgot to include ChangeLog in last commit.

17 years agoAdded stapprobes.socket(5) man page and updates to stapprobes(5) and stapfuncs(5).
mmason [Wed, 24 Jan 2007 07:25:29 +0000 (07:25 +0000)]
Added stapprobes.socket(5) man page and updates to stapprobes(5) and stapfuncs(5).

17 years agoChanged bit checking method in sock_flags_num2str().
mmason [Wed, 24 Jan 2007 06:38:58 +0000 (06:38 +0000)]
Changed bit checking method in sock_flags_num2str().

17 years ago2007-01-23 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 23 Jan 2007 20:03:21 +0000 (20:03 +0000)]
2007-01-23  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (loc2c_error): Correct vasprintf ignored-rc warning.

17 years ago2007-01-23 Frank Ch. Eigler <fche@elastic.org>
fche [Tue, 23 Jan 2007 19:30:16 +0000 (19:30 +0000)]
2007-01-23  Frank Ch. Eigler  <fche@elastic.org>

* systemtap.pass1-4/buildok.exp: Remove most kfail designations.

17 years agoAdded build test for sockets tapset.
mmason [Tue, 23 Jan 2007 18:13:08 +0000 (18:13 +0000)]
Added build test for sockets tapset.

17 years agoNew sockets tapset.
mmason [Tue, 23 Jan 2007 18:08:22 +0000 (18:08 +0000)]
New sockets tapset.

17 years agoAdded new string functions tokenize() and strtol().
mmason [Tue, 23 Jan 2007 18:03:50 +0000 (18:03 +0000)]
Added new string functions tokenize() and strtol().

17 years ago2007-01-22 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 23 Jan 2007 02:57:01 +0000 (02:57 +0000)]
2007-01-22  Josh Stone  <joshua.i.stone@intel.com>

runtime/
* loc2c-runtime.h (kread, kwrite): Tweaks to work better with
reading and writing pointer values.
testsuite/
* systemtap.base/deref.stp: Rewrite test, and now also check the ability
to read/write pointers.

17 years ago2007-01-22 Frank Ch. Eigler <fche@redhat.com>
fche [Mon, 22 Jan 2007 22:44:32 +0000 (22:44 +0000)]
2007-01-22  Frank Ch. Eigler  <fche@redhat.com>

* config/unix.exp: New file as a master load_lib repository.
* */*.exp: Removed load_lib calls.
* parseko/cmdline01.stp: Swallow expected stap ERROR: message.
* systemtap.syscall/syscall.exp: Added installmode_p checks.

17 years agoFix for kallsyms problem
hunt [Mon, 22 Jan 2007 18:45:16 +0000 (18:45 +0000)]
Fix for kallsyms problem

17 years ago2007-01-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Jan 2007 16:56:42 +0000 (16:56 +0000)]
2007-01-22  Martin Hunt  <hunt@redhat.com>

* translate.cxx (mapvar::exists): Use new _stp_map_exists function.
Testing for zero is no longer correct after changes from 2007-01-10
below.

17 years ago2007-01-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Jan 2007 16:54:18 +0000 (16:54 +0000)]
2007-01-22  Martin Hunt  <hunt@redhat.com>

* map-gen.c (_stp_map_exists): New. Check for membership only.

17 years ago2007-01-22 Martin Hunt <hunt@redhat.com>
hunt [Mon, 22 Jan 2007 16:52:44 +0000 (16:52 +0000)]
2007-01-22  Martin Hunt  <hunt@redhat.com>

* systemtap.maps/exists.stp: New test to see if
array elements exist using the "in" keyword.

17 years agoUpdated kmodule.stp test to look for other modules when ext3 isn't a module.
mmason [Sun, 21 Jan 2007 02:13:09 +0000 (02:13 +0000)]
Updated kmodule.stp test to look for other modules when ext3 isn't a module.

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