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

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

PR 3079
runtime/
* loc2c-runtime.h (kread, kwrite): New macros to safely read/write
values from kernel pointers.  This includes a workaround for 64-bit
numbers on i386 platforms.
testsuite/
* systemtap.base/deref.stp: Use the new kread macro that should work
fine with 64-bit numbers on i386 platforms.  Also expand the test to
include writes with kwrite.
* systemtap.base/deref.exp: Remove the setup_kfail.

17 years ago2007-01-18 Frank Ch. Eigler <fche@elastic.org>
fche [Thu, 18 Jan 2007 23:00:15 +0000 (23:00 +0000)]
2007-01-18  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (version): Add (C) 2007.
* translate.cxx (emit_module_init): Add a KERN_DEBUG printk
at module startup time to aid debugging and auditing.

17 years agoIn _stp_sockaddr_str() s390x needs sockaddr_ll.sll_addr printed as a long int instead...
dwilder [Thu, 18 Jan 2007 22:50:28 +0000 (22:50 +0000)]
In _stp_sockaddr_str() s390x needs sockaddr_ll.sll_addr printed as a long int instead of long long int.

17 years agoAdded several ? to probe definitions for kernel functions that are not availableon...
dwilder [Thu, 18 Jan 2007 22:38:36 +0000 (22:38 +0000)]
Added several ? to probe definitions for kernel functions that are not availableon s390. This is needed to make probe syscall.* work.

17 years agoAdded s390x support in function errno_str.
dwilder [Thu, 18 Jan 2007 22:31:31 +0000 (22:31 +0000)]
Added s390x support in function errno_str.

17 years ago* embedded-C safety blurb
fche [Wed, 17 Jan 2007 19:35:32 +0000 (19:35 +0000)]
* embedded-C safety blurb

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

* syscalls.stp: Add syscall.creat.
* syscalls2.stp: Add compat_sys_open.

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

* test.exp: Renamed to syscall.exp.

17 years agobuildok/eighteen.stp: changed to find __audit_getname or audit_getname
mmason [Tue, 16 Jan 2007 21:16:49 +0000 (21:16 +0000)]
buildok/eighteen.stp: changed to find __audit_getname or audit_getname
without checking kernel version to support audit code backports

17 years ago* point to NEWS
fche [Mon, 15 Jan 2007 20:12:49 +0000 (20:12 +0000)]
* point to NEWS

17 years agoTest 32-bit binaries on ppc64 in test.exp.
mmason [Mon, 15 Jan 2007 15:51:28 +0000 (15:51 +0000)]
Test 32-bit binaries on ppc64 in test.exp.

17 years agoFix for ioblocktest.exp test (PR 3867)
mmason [Sat, 13 Jan 2007 19:05:07 +0000 (19:05 +0000)]
Fix for ioblocktest.exp test (PR 3867)

17 years agoAdded ? to request_key probes in x86_64/syscalls.stp to prevent
mmason [Sat, 13 Jan 2007 03:02:48 +0000 (03:02 +0000)]
Added ? to request_key probes in x86_64/syscalls.stp to prevent
syscall.* failures on some kernels.

17 years ago2007-01-12 David Smith <dsmith@redhat.com>
dsmith [Fri, 12 Jan 2007 16:33:16 +0000 (16:33 +0000)]
2007-01-12  David Smith  <dsmith@redhat.com>

* tapsets.cxx
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Since
array behavior has changed (setting to 0 no longer deletes the
array element), we delete the internal counter array element when
providing target variable access in return probes.

17 years agoAdd iotime.stp, sleeptime.stp, and wait4time.stp examples.
wcohen [Thu, 11 Jan 2007 15:47:50 +0000 (15:47 +0000)]
Add iotime.stp, sleeptime.stp, and wait4time.stp examples.

17 years ago.
roland [Thu, 11 Jan 2007 08:43:17 +0000 (08:43 +0000)]
.

17 years ago2007-01-11 Roland McGrath <roland@redhat.com>
roland [Thu, 11 Jan 2007 08:43:10 +0000 (08:43 +0000)]
2007-01-11  Roland McGrath  <roland@redhat.com>

* systemtap.spec.in (elfutils_version): Bump to 0.125.
Older libdw's have known bugs, though the ABI has not changed.

17 years ago* moving examples/ changelog entries
fche [Wed, 10 Jan 2007 18:17:45 +0000 (18:17 +0000)]
* moving examples/ changelog entries

17 years ago2007-01-10 Martin Hunt <hunt@redhat.com>
hunt [Wed, 10 Jan 2007 15:24:36 +0000 (15:24 +0000)]
2007-01-10  Martin Hunt  <hunt@redhat.com>

* small_demos/top.stp: Use "limit" option in foreach.

17 years ago2007-01-10 Martin Hunt <hunt@redhat.com>
hunt [Wed, 10 Jan 2007 15:14:36 +0000 (15:14 +0000)]
2007-01-10  Martin Hunt  <hunt@redhat.com>

* systemtap.maps/foreach_foreach.exp: Update for new delete func.
* systemtap.maps/ii.exp: Ditto.
* systemtap.maps/ii.stp: Ditto.
* systemtap.maps/iiiiii.exp: Ditto.
* systemtap.maps/iiiiii.stp: Ditto.
* systemtap.maps/is.stp: Ditto.
* systemtap.maps/si.exp: Ditto.
* systemtap.maps/si.stp: Ditto.
* systemtap.maps/ss.stp: Ditto.

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

* translate.cxx (mapvar::del): Call the new _stp_map_del
function instead of setting to zero.

17 years ago2007-01-10 Martin Hunt <hunt@redhat.com>
hunt [Wed, 10 Jan 2007 15:07:25 +0000 (15:07 +0000)]
2007-01-10  Martin Hunt  <hunt@redhat.com>
PR 3708
* map.c (str_copy): Check for NULL pointers.
(_new_map_set_int64): Don't check val for 0.
(_new_map_set_str): Don't check val for NULL.

* map-gen.c (VAL_IS_ZERO): Removed.
(_stp_map_del): New.
(__stp_map_set): Don't check for zero.

* pmap-gen.c (VAL_IS_ZERO): Removed.
(_stp_pmap_del): New.
(__stp_pmap_set): Don't check for zero.

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

* test.exp, test.tcl, test-debug.tcl: PR 3524.
Support for separtet source and obj trees.

17 years ago2007-01-09 Martin Hunt <hunt@redhat.com>
hunt [Tue, 9 Jan 2007 17:43:55 +0000 (17:43 +0000)]
2007-01-09  Martin Hunt  <hunt@redhat.com>

* symbols.c (_stp_del_module): Fix so memory allocated
for module 0 (kernel) is freed.
(_stp_free_modules): No need to lock module list.

17 years agolaggard release-0.5.12
fche [Tue, 2 Jan 2007 04:38:17 +0000 (04:38 +0000)]
laggard

17 years ago2007-01-01 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 2 Jan 2007 04:33:41 +0000 (04:33 +0000)]
2007-01-01  Frank Ch. Eigler  <fche@redhat.com>

* configure.ac: Bump version to 0.5.12 for release.
* configure: Regenerated.
* NEWS, AUTHORS: Populate & repopulate.
* examples/*: Added several .stp/.txt files from the wiki.

17 years ago2006-12-29 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 30 Dec 2006 04:25:51 +0000 (04:25 +0000)]
2006-12-29  Frank Ch. Eigler  <fche@elastic.org>

* tapsets.cxx (*group:emit_module_init): flush stdout less for timing
mode.  Also, Set probe_point variable ...
* translate.cxx (emit_module_init): ... so on registration failure, a
usable error message can be generated.

17 years ago2006-12-29 Frank Ch. Eigler <fche@redhat.com>
fche [Sat, 30 Dec 2006 03:54:51 +0000 (03:54 +0000)]
2006-12-29  Frank Ch. Eigler  <fche@redhat.com>

PR 3523.
* tapsets.cxx (common_probe_entryfn_prologue,epilogue): Restore
support for -t (benchmarking) mode.
* translate.cxx (emit_common_header,emit_module_init):Ditto.
(emit_module_exit,emit_probe): Ditto, with most meat here.

2006-12-29  Frank Ch. Eigler  <fche@redhat.com>

PR 3523.
* buildok/fourteen.stp, fourteen-plus.stp: Tweak & add a test.
* systemtap.base/bench.stp: Work around randomized-ordered probes.
* systemtap.base/bench.exp: Tighten output requirements.

17 years agobugfix for 2.6.19 kernel
guanglei [Fri, 29 Dec 2006 08:02:07 +0000 (08:02 +0000)]
bugfix for 2.6.19 kernel

17 years agofix wrong HOOKID for _addevent.sunrpc.svc.recv.entry
guanglei [Sat, 23 Dec 2006 11:02:29 +0000 (11:02 +0000)]
fix wrong HOOKID for _addevent.sunrpc.svc.recv.entry
and _addevent.sunrpc.svc.recv.return

17 years ago2006-12-22 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 22 Dec 2006 22:18:02 +0000 (22:18 +0000)]
2006-12-22  Josh Stone  <joshua.i.stone@intel.com>

* stap.1.in: Document how to specify the size of global arrays.

testsuite/
* buildok/array_size.stp, parseko/array01.stp, parseko/array02.stp,
parseko/array03.stp, parseko/array04.stp, transko/array01.stp,
systemtap.base/array_size.exp, systemtap.base/array_size.stp:
Tests for specifying the size of global arrays.

17 years ago2006-12-22 David Smith <dsmith@redhat.com>
dsmith [Fri, 22 Dec 2006 19:33:29 +0000 (19:33 +0000)]
2006-12-22  David Smith  <dsmith@redhat.com>

* systemtap.base/cache.exp: Added test to ensure that using '-M'
and '-t' changes the hash.  The '-t' test is commented out until
PR3523 is fixed.

17 years ago2006-12-21 Josh Stone <joshua.i.stone@intel.com>
jistone [Fri, 22 Dec 2006 02:34:05 +0000 (02:34 +0000)]
2006-12-21  Josh Stone  <joshua.i.stone@intel.com>

PR 3671
* parse.cxx (parser::parse_global): Allow a maxsize on global arrays.
* staptree.h (struct vardecl): Add the maxsize field.
* staptree.cxx (vardecl::vardecl): Init. maxsize.
(vardecl::set_arity): Don't allow arity 0 when there's a maxsize.
(vardecl::compatible_arity): Ditto.
(vardecl::print): Include maxsize in output.
(target_symbol::print): Ditto.
* translate.cxx (struct mapvar, mapvar::mapvar): Add maxsize.
(mapvar::init): Init maps with the given maxsize if specified, else
keep using MAXMAPENTRIES.
(mapvar::set): Make the error message give the maxsize.
(mapvar::add): Ditto, and check for overflow on pmap add.
(c_unparser::getmap): Pass the maxsize from the vardecl to mapvar.

17 years ago2006-12-21 David Smith <dsmith@redhat.com>
dsmith [Thu, 21 Dec 2006 21:41:25 +0000 (21:41 +0000)]
2006-12-21  David Smith  <dsmith@redhat.com>

* hash.cxx (find_hash): Added two more options into the hash that
change the generated C file - '-M' (merge) and '-t' (benchmark
timing).

17 years ago2006-12-21 David Smith <dsmith@redhat.com>
dsmith [Thu, 21 Dec 2006 15:51:57 +0000 (15:51 +0000)]
2006-12-21  David Smith  <dsmith@redhat.com>

* systemtap.base/cache.exp: Added test to ensure that using '-b'
changes the hash.

17 years ago2006-12-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Dec 2006 20:32:57 +0000 (20:32 +0000)]
2006-12-20  Martin Hunt  <hunt@redhat.com>

* runtime.h: Include mm.h.

17 years ago2006-12-20 Martin Hunt <hunt@redhat.com>
hunt [Wed, 20 Dec 2006 20:32:39 +0000 (20:32 +0000)]
2006-12-20  Martin Hunt  <hunt@redhat.com>

* transport.c: Fixes to use the new 2.6.20 workqueue API.

17 years ago2006-12-20 David Smith <dsmith@redhat.com>
dsmith [Wed, 20 Dec 2006 15:56:14 +0000 (15:56 +0000)]
2006-12-20  David Smith  <dsmith@redhat.com>

PR 3519.
* Makefile.am: Added 'examples' directory to the 'EXTRA_DIST'
variable so that the examples directory will be added to the
distribution directory.  Added variables 'SAMPLE_DEST_DIR' and
'SAMPLE_SRC' and target 'dist-add-samples' to copy some of the
testsuite sample scripts to the examples directory when creating a
distribution directory.
* Makefile.in: Regenerated.
* systemtap.spec.in: Added 'examples' directory to the %doc list
so that the examples directory will be installed on a user's
system.

17 years agobugfix of LKET rpc event register codes.
guanglei [Wed, 20 Dec 2006 08:41:04 +0000 (08:41 +0000)]
bugfix of LKET rpc event register codes.

17 years agoruntime/lket/b2a/lket-b2a.c:
guanglei [Wed, 20 Dec 2006 08:03:46 +0000 (08:03 +0000)]
runtime/lket/b2a/lket-b2a.c:
bugfix for NULL appname when search appNameTree.

17 years ago2006-12-19 Frank Ch. Eigler <fche@redhat.com>
fche [Tue, 19 Dec 2006 22:00:15 +0000 (22:00 +0000)]
2006-12-19  Frank Ch. Eigler  <fche@redhat.com>

PR 3522.
* tapsets.cxx (dwflpp::emit_address): Call
_stp_module_relocate only once per session.

Error message cleanup: duplicate elimination etc.
* session.h (saved_errors): Store a set of 'em.
(num_errors): Return set size.  Remove old numeric field.
Update all callers.
* elaborate.cxx (systemtap_session::print_errors):
Print each encountered message just once.
* staptree (semantic_error): Make msg2 writeable.
Add a chain field.
* tapsets.cxx (*var_expanding*:visit_target_symbol): Set saved
semantic_error's chain field.
* elaborate.cxx (register_library_aliases, visit_foreach_loop,
visit_functioncall, derive_probes): Plop "while: ..." error
message prefix/suffix right into the semantic_error message string.
* parse.cxx (lexer::scan): Identify erroneous token better
in error message for unresolvable $N/@M command line args.
* util.h (lex_cast_hex): Use std::hex, not std::ios::hex.

2006-12-19  Frank Ch. Eigler  <fche@redhat.com>

PR 3522.
* buildok/twentyfive.stp: New test for static $var access.

17 years ago2006-12-18 Josh Stone <joshua.i.stone@intel.com>
jistone [Tue, 19 Dec 2006 00:24:32 +0000 (00:24 +0000)]
2006-12-18  Josh Stone  <joshua.i.stone@intel.com>

* systemtap.base/deref.exp, systemtap.base/deref.exp: Add a test for
successfully dereferencing pointers of various sizes.  This is known to
fail on x86 for 64-bit values -- PR 3079.

17 years ago2006-12-18 David Smith <dsmith@redhat.com>
dsmith [Mon, 18 Dec 2006 21:19:10 +0000 (21:19 +0000)]
2006-12-18  David Smith  <dsmith@redhat.com>

* Makefile.am (EXTRA_DIST): Added header files - cache.h, hash.h,
mdfour.h, and util.h.
* Makefile.in: Regenerated.

17 years ago2006-12-18 David Smith <dsmith@redhat.com>
dsmith [Mon, 18 Dec 2006 19:32:01 +0000 (19:32 +0000)]
2006-12-18  David Smith  <dsmith@redhat.com>

* lket/b2a/Makefile.in: Regenerated.  This needed to be done since
lket/b2a/README was removed but lket/b2a/Makefile.in still had a
reference to it which was causing "make distdir" to fail.

17 years ago2006-12-18 David Smith <dsmith@redhat.com>
dsmith [Mon, 18 Dec 2006 16:51:21 +0000 (16:51 +0000)]
2006-12-18  David Smith  <dsmith@redhat.com>

* systemtap.samples/pfaults.stp: Since PR 1132 has been fixed,
updated to use "$return".

17 years ago2006-12-18 Frank Ch. Eigler <fche@elastic.org>
fche [Mon, 18 Dec 2006 11:31:26 +0000 (11:31 +0000)]
2006-12-18  Frank Ch. Eigler  <fche@elastic.org>

PR 3079
* loc2c-runtime.h (deref, store_deref): Fork x86 and x86-64
variants.  Remove dysfunctional 64-bit ops from x86.

2006-12-18  Frank Ch. Eigler  <fche@elastic.org>

* vfs.stp (ppos_pos): Protect contents with deref(), though
this blocks operation on i686 due to bug #3079.

17 years agowishlist item, commented out
fche [Mon, 18 Dec 2006 11:21:17 +0000 (11:21 +0000)]
wishlist item, commented out

17 years ago2006-12-16 Frank Ch. Eigler <fche@elastic.org>
fche [Sat, 16 Dec 2006 22:24:13 +0000 (22:24 +0000)]
2006-12-16  Frank Ch. Eigler  <fche@elastic.org>

* main.cxx (main): Print version strings if verbose >=2 .
* tapsets.cxx (common_probe_entryfn_prologue): Decorate an
emitted local with __restrict__.

17 years ago2006-12-15 Frank Ch. Eigler <fche@elastic.org>
fche [Fri, 15 Dec 2006 13:25:34 +0000 (13:25 +0000)]
2006-12-15  Frank Ch. Eigler  <fche@elastic.org>

* print.c (_stp_print_flush): Add a likely() marker to the hot path.

17 years ago2006-12-14 David Smith <dsmith@redhat.com>
dsmith [Thu, 14 Dec 2006 16:11:41 +0000 (16:11 +0000)]
2006-12-14  David Smith  <dsmith@redhat.com>

* tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
'return_ts_map' member variable.
(dwarf_var_expanding_copy_visitor::visit_target_symbol):
Optimization.  If we've already seen this target variable in this
return probe, return the last replacement (instead of creating a
new replacement).

17 years agoold example eradication
fche [Thu, 14 Dec 2006 12:35:04 +0000 (12:35 +0000)]
old example eradication

17 years agoUpdated last entry.
dsmith [Wed, 13 Dec 2006 21:34:06 +0000 (21:34 +0000)]
Updated last entry.

17 years ago2006-12-13 David Smith <dsmith@redhat.com>
dsmith [Wed, 13 Dec 2006 20:56:19 +0000 (20:56 +0000)]
2006-12-13  David Smith  <dsmith@redhat.com>

* tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
'add_probe' member variable.  Initialized it in ctor.
(dwarf_var_expanding_copy_visitor::visit_target_symbol):
Optimization.  Instead of generating one entry probe per target
variable accessed in a return probe, now just generates one entry
probe for all target variables accessed in a particular return
probe.  It does this by creating a new probe in the new
'add_probe' member variable.
(dwarf_derived_probe::dwarf_derived_probe): If add_probe isn't
NULL, make sure it gets derived later.

17 years ago2006-12-13 Frank Ch. Eigler <fche@elastic.org>
fche [Wed, 13 Dec 2006 20:36:04 +0000 (20:36 +0000)]
2006-12-13  Frank Ch. Eigler  <fche@elastic.org>

* regs.h (s390x REG_IP): Parenthesize for warning-free builds.

17 years ago*** empty log message ***
mmason [Wed, 13 Dec 2006 16:03:28 +0000 (16:03 +0000)]
*** empty log message ***

17 years agoIn scheduler.ctxswitch, fixed last line to reference $prev_p->state instead of $prev_...
mmason [Wed, 13 Dec 2006 15:58:15 +0000 (15:58 +0000)]
In scheduler.ctxswitch, fixed last line to reference $prev_p->state instead of $prev_p->pid.

17 years ago2006-12-11 Martin Hunt <hunt@redhat.com>
hunt [Mon, 11 Dec 2006 22:15:56 +0000 (22:15 +0000)]
2006-12-11  Martin Hunt  <hunt@redhat.com>

* symbols.c (get_sections): Set buffer sizes to large enough
sizes to hold all possible values, but also include checks in case
we are wrong.

17 years ago2006-12-11 Josh Stone <joshua.i.stone@intel.com>
jistone [Mon, 11 Dec 2006 22:03:12 +0000 (22:03 +0000)]
2006-12-11  Josh Stone  <joshua.i.stone@intel.com>

* parse.cxx (parse::parse_literal): Enforce the lower bound on
negative literals.

17 years ago2006-12-11 David Smith <dsmith@redhat.com>
dsmith [Mon, 11 Dec 2006 20:31:53 +0000 (20:31 +0000)]
2006-12-11  David Smith  <dsmith@redhat.com>

* hash.cxx (find_hash): Fixed a caching bug.  Bulk mode (relayfs)
status should be figured into the hash since it changes the
generated C code.

17 years agopatch of nfs, nfs_proc, rpc tapsets for 2.6.9 kernel
guanglei [Mon, 11 Dec 2006 09:53:34 +0000 (09:53 +0000)]
patch of nfs, nfs_proc, rpc tapsets for 2.6.9 kernel

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